Is is possible to run remote-cli commands on an ESXi host that is connected to VC using my VC credentials?
I have been able to run remote-cli commands against VC using VI_PASSTHROUGHAUTH, but I can't run something like vmkfstools. Am I doing something wrong or does the remote-cli always require username and password for a ESXi local account.
I think it depends on what you want to do with vmkfstools. Your post made me curious so I started messing around. I was able to use vmkfstools to rename, but I was unsuccessful in getting it to clone a vmdk. What exactly are you trying to do by command line?
I was trying to run vmkfstools.pl --server ESX1 -c 1g -d eagerzeroedthick -a lsilogic /vmfs/volumes/VMFS1/vm1/quorum.vmdk.
However, I think my overall issue is that I want to be able to run any command on the ESXi while only providing credentials to the VC server. Normally I don't have access to the root account and password for the ESXi host and we don't want to create more local accounts on the ESXi host.
We want to authenticate to the VC server only, if that is supported.
Can you post the syntax for the command you used to rename and some information about how you authenticated?