Actifio / AGMPowerLib

A Library of PowerShell Scripts to interact with AGM
Apache License 2.0
3 stars 3 forks source link

Adding Vcenter Hosttyoe #57

Open abdelrhmanaf opened 3 months ago

abdelrhmanaf commented 3 months ago

I attempted to add a host using agmpowercli by executing the New-AGMHost command with the parameters -clusterid 144292692833, -hostname "prodhost1", and -ipaddress "10.0.0.1". However, I encountered an issue where the host type was set to generic. I also tried using the get-help command to check the documentation, but I could not find any information on adding Vcenter or ESXi hosts.

jin-qin commented 3 months ago

Hi, if you do not specify hosttype, it will be treated as generic. Can you try it?

abdelrhmanaf commented 3 months ago

Hello, I would like to specify that I want to add it as a vCenter, rather than a generic option.

On Fri, Mar 15, 2024, 12:53 AM Jing @.***> wrote:

Hi, if you do not specify hosttype, it will be treated as generic. Can you try it?

— Reply to this email directly, view it on GitHub https://github.com/Actifio/AGMPowerLib/issues/57#issuecomment-1998610638, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6YDH6XBFNDM5IY2PTYHTF3YYIS75AVCNFSM6AAAAABEWKRAIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGYYTANRTHA . You are receiving this because you authored the thread.Message ID: @.***>

jin-qin commented 3 months ago

Sorry, I don't think you need to add a vCenter as a host, not sure what's your use case right here, if you don't mind, could you elaborate a little bit?

abdelrhmanaf commented 3 months ago

I am currently working on implementing a Disaster Recovery (DR) solution for a client who is using VMware on-premises and wants to use Google Cloud VMware Engine as their DR site. My goal is to automate the process as much as possible using Backup and DR (Actifio). The DR will be cold, and I am exploring the option of adding VMware Vcenter from the CLI instead of the management console UI.

On Fri, Mar 15, 2024 at 1:04 AM Jing @.***> wrote:

Sorry, I don't think you need to add a vCenter as a host, not sure what's your use case right here, if you don't mind, could you elaborate a little bit?

— Reply to this email directly, view it on GitHub https://github.com/Actifio/AGMPowerLib/issues/57#issuecomment-1998620529, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6YDH6R5PGPMM3SXOBOQVRLYYIUJVAVCNFSM6AAAAABEWKRAIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGYZDANJSHE . You are receiving this because you authored the thread.Message ID: @.***>