VMware Cloud Community
febsa
Enthusiast
Enthusiast

vSphere Web Client (vCenter 5.0) - how to generate virtual machine shortcut?

Hello All,

I'm testing the upgrade process from vcenter 4.1 to 5.0. In my first test all has gone right but i don't know how i can build a virtual machine shortcut for accesing from a web browser.

In  vcenter 4.1 you only had to connect to https://vcenter_server/ui and build my virtual machine shortcut but now i don't know.

I've installed vSphere Web Client and my test vcenter server is enabled.

Can any one help me?

Regards

0 Kudos
5 Replies
Troy_Clavell
Immortal
Immortal

AFAIK, there is no "generate virtual machine shortcut" any longer.  When you installed the Web Client did you configure it?  The web client will usually have a URL like https://vCenter:9443/vsphere-client.

From there based on permissions is what the user will have access to.  If they need to get to the console they'll have to install the client integration plugin

febsa
Enthusiast
Enthusiast

Allright i've installed the plugin after this i've connected to vSphere Web Client and open virtual machine console.If you copy the url, you can use it to access to the virtual machine console directly from a direct access.

Thanks!!

0 Kudos
lamw
Community Manager
Community Manager

There's not an option to generate the URL from within the new vSphere 5 Web Client, but you can programmatically generate the URL for any virtual machine. Take a look at this blog post for the script and details - http://www.virtuallyghetto.com/2011/10/how-to-generate-vm-remote-console-url.html

0 Kudos
ashleyw
Enthusiast
Enthusiast

thanks for that - nice information. We want to use a secondary authentication broker. In the past we could have acquired an mks ticket through code and then called the browser plugin directly so that we could prevent the user from having to logon again. Do you know if it's possible to pass an mks ticket through to the webclient console URL or do you know how we can pre-authenticate webclient console URLs with a scripted vcentre logon/password?

0 Kudos
fissm
Contributor
Contributor

This works!

- Create shortcut:

"C:\Program Files (x86)\Common Files\VMware\VMware VMRC Plug-in\Firefox\vmware-vmrc.exe" -h VCENTERHOSTNAMEORFQDN:443 -u VCENTERUSERNAME -p VCENTERPASSWORD -M vm-323

- vm-323 is the unique MoRef ID of the VM. You can find out the MoRef by going to the Console of the Web Client -- it's right at the end of the URL

Credit to BryanM cC from http://www.virtuallyghetto.com/2011/10/how-to-generate-vm-remote-console-url.html

0 Kudos