In CloudStack, there are two system VMs (Console Proxy VM and Secondary Storage VM) that are automatically created by CloudStack for each zone. Console Proxy VM (CPVM) provides console access to tenant's guest VMs, while Secondary Storage VM (SSVM) downloads and maintains VM templates used by tenants. While setting up CloudStack, you may experience problems with either of these system VMs.
For example, for any reason SSVM cannot reach the Internet, or cannot download a default system template from http://download.cloud.com. In that case, logging in to SSVM helps diagnose the problem.
You can log in to a system VM via SSH from within the compute node that runs the VM, as follows.
In the system VMs created by CloudStatck, sshd listens on the link-local address (in 169.254.0.0/16 subnet) only, and no other interface. Therefore, you first need to find out the link-local address assigned to a system VM in question. To find out the link-local address information of the system VM, go to "Infrastructure" menu of CloudStack's web-based management interface.
Then, ssh to the system VM on port number 3922 from within their underlying compute node as follows.
Subscribe to Xmodulo
Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!
Latest posts by Dan Nanni (see all)
- How to set up Apt caching server on Ubuntu or Debian - February 7, 2016
- How to monitor OpenFlow messages with packet sniffer - February 2, 2016
- How to search multiple pdf documents for words on Linux - January 13, 2016