How to Deploy Specific Druva Phoenix VMware role ?
This article applies to:
- Product edition: Phoenix Cloud
- Feature Category: VMware
How to install PowerCLI?
- Check if the PowerCLI is installed by running the following command
- Get-Module vmware* -ListAvailable
- If there is no output like shown below proceed to the next steps. If you have output proceed to the next section.
- Run the following command to install the module from the Powershell repository.
- You may get prompted to update NuGet, and trust the repository. Both are normal and should be accepted. Below is an example of trusting the repository.
- The install should look similar to the following.
- Once installed proceed to the next section.
How to connect to a Vcenter/Esxi host ?
- Open a Windows Powershell window if not already open.
- Run the following command with the vCenter/ESXi name or IP address.
- Connect-VIServer <vCener/ESXi host>
- Input an administrative account when prompted, and click ‘OK’
- Now there should be a response similar to the screenshot below indicating a successful connection.
- Now proceed to the next section.
How to deploy Druva Phoenix role ?
- Connect to the vCenter or ESXi host using the steps above.
- Run the following command to create the role:
----------------------------------------------------------------------------------------------------------------
New-VIRole -Name “Druva_Phoenix_Role” -Privilege (Get-VIPrivilege -Id Datastore.AllocateSpace,
Datastore.Browse,Datastore.FileManagement,
Datastore.UpdateVirtualMachineFiles,
Global.DisableMethods,
Global.EnableMethods,
Global.Licenses,
Global.SetCustomField,
Global.ManageCustomFields,
Host.Config.Storage,
Network.Assign,
Resource.AssignVMToPool,
VirtualMachine.Inventory.Create,
VirtualMachine.Inventory.Register,
VirtualMachine.Inventory.Delete,
VirtualMachine.Inventory.Unregister,
VirtualMachine.Provisioning.DiskRandomAccess,
VirtualMachine.Provisioning.DiskRandomRead,
VirtualMachine.Provisioning.GetVmFiles,
VirtualMachine.Provisioning.Clone,
VirtualMachine.GuestOperations.Modify,
VirtualMachine.GuestOperations.Execute,
VirtualMachine.GuestOperations.Query,
VirtualMachine.Interact.DeviceConnection,
VirtualMachine.Interact.PowerOn,
VirtualMachine.Interact.PowerOff,
VirtualMachine.Config.AddExistingDisk,
VirtualMachine.Config.AddNewDisk,
VirtualMachine.Config.AddRemoveDevice,
VirtualMachine.Config.AdvancedConfig,
VirtualMachine.Config.Resource,
VirtualMachine.Config.ChangeTracking,
VirtualMachine.Config.DiskLease,
VirtualMachine.Config.RemoveDisk,
VirtualMachine.Config.RawDevice,
VirtualMachine.Config.Settings,
VirtualMachine.State.CreateSnapshot,
VirtualMachine.State.RemoveSnapshot,
VirtualMachine.State.RevertToSnapshot,
Resource.ColdMigrate,
Resource.HotMigrate,
vApp.Import)
----------------------------------------------------------------------------------------------------------------