I am having some issues with the syntax for SVMOTION. This is my command = svmotion.pl --server=servername --username=me --password=a55ociate --datacenter=dc1 --vm=[LUN1]folder/file.vmx:LUN2.
When the command is executed I get the error "Could not find datastore in inventory" What am i doing wrong. Any help would be great. Thanks.
The syntax should be the following:
svmotion.pl --server=servername --username=me --password=a55ociate --datacenter=dc1 --vm='[[LUN1]] vm1/vm1.vmx:LUN2' |
Your source datastore will be encapsulated with brackets, then a space to your VM and then colon and then your target datastore which does not have brackets enclosing. I hate the forums formating so just make sure you follow that format
The syntax should be the following:
svmotion.pl --server=servername --username=me --password=a55ociate --datacenter=dc1 --vm='[[LUN1]] vm1/vm1.vmx:LUN2' |
Your source datastore will be encapsulated with brackets, then a space to your VM and then colon and then your target datastore which does not have brackets enclosing. I hate the forums formating so just make sure you follow that format
Now that I look closer to the documentation i see exactly what you told me. Thanks for the help.