Replacing vCenter without redoing vRanger configuration
Get the current VM-id via VMware vSphere PowerCLI by running the following commands:
Connect-VIServer <your VCSA>
(Get-VM -name <VM_display_name>).id
Open SQL Management Studio and run the following command to show all tasks:
SELECT * FROM [vRangerPro].[dbo].[BackupTemplateTask] ORDER BY InventoryNodeName
use vRangerPro
UPDATE BackupTemplateTask SET InventoryNodeVirtualizationObjectId='vm-id' WHERE InventoryNodeName='VM_display_name'
UPDATE BackupTemplateTask SET InventoryNodeVirtualizationObjectId='vm-id' WHERE InventoryNodeName='VM_display_name'
Restart the vRanger Service and run the task!
Kommentarer
Trackback