Function of command vmware-vim-cmd vimsvc/connect
Does anyone know the function of the command "vmware-vim-cmd vimsvc/connect (vimid)". I thought that after executing this command with correct virtual machine id, I will be connected to the shell of this virtual machine. But it only shows "already connected" and exits. Am I making some mistake in the syntax of command? Or the function of this command is completely different from wh开发者_StackOverflowat I have thought of?
I don't have the VI Toolkit installed locally, but I did find this in the docs. Try:
vmware-vim-cmd help vimsvc/connect
It should show something like this page. Since the valid products include vpxa and vpxd, I think this method is connecting to the host or vCenter rather than a guest console.
Hope that helps a bit.
精彩评论