Skip to main content

How can we help you?

Druva Documentation

How to Deploy Specific Druva Phoenix VMware role ?

This article applies to:

  • Product edition: Phoenix Cloud
  • Feature Category: VMware

How to install PowerCLI?

  1. Check if the PowerCLI is installed by running the following command
  2. Get-Module vmware* -ListAvailable
  3. If there is no output like shown below proceed to the next steps.  If you have output proceed to the next section.
  4. Run the following command to install the module from the Powershell repository. 
  5. 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.
  6. The install should look similar to the following.
  7. Once installed proceed to the next section.

How to connect to a Vcenter/Esxi host ?

  1. Open a Windows Powershell window if not already open.
  2. Run the following command with the vCenter/ESXi name or IP address.
  3. Connect-VIServer <vCener/ESXi host>
  4. Input an administrative account when prompted, and click ‘OK’
  5. Now there should be a response similar to the screenshot below indicating a successful connection.
  6. Now proceed to the next section.

 

  1. Connect to the vCenter or ESXi host using the steps above.
  2. 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)
----------------------------------------------------------------------------------------------------------------