Skip to content

Commit 17fca9a

Browse files
Update systemvm.rst (#114)
1 parent e3a0683 commit 17fca9a

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

source/adminguide/systemvm.rst

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,51 @@ of memory.
8888

8989
#. Restart the Management Server.
9090

91+
Accessing System VMs
92+
--------------------
93+
94+
It may sometimes be necessary to access System VMs for diagnostics of certain
95+
issues, for example if you are experiencing SSVM (Secondary Storage VM)
96+
connection issues. Use the steps below in order to connect to the SSH console
97+
of a running System VM.
98+
99+
Accessing System VMs over the network requires the use of private keys and
100+
connecting to System VMs SSH Daemon on port 3922. XenServer/KVM Hypervisors
101+
store this key at /root/.ssh/id_rsa.cloud on each CloudStack agent. To access
102+
System VMs running on ESXi, the key is stored on the management server at
103+
/var/lib/cloudstack/management/.ssh/id_rsa.
104+
105+
106+
#. Find the details of the System VM
107+
108+
#. Log in with admin privileges to the CloudStack UI.
109+
110+
#. Click Infrastructure, then System VMs, and then click the name of a
111+
running VM.
112+
113+
#. Take a note of the 'Host', 'Private IP Address' and 'Link Local IP
114+
Address' of the System VM you wish to access.
115+
116+
#. XenServer/KVM Hypervisors
117+
118+
#. Connect to the Host of which the System VM is running.
119+
120+
#. SSH to the 'Link Local IP Address' of the System VM from the Host on
121+
which the VM is running.
122+
123+
Format: ssh -i <path-to-private-key> <link-local-ip> -p 3922
124+
125+
Example: root@kvm01:~# ssh -i /root/.ssh/id_rsa.cloud 169.254.3.93 -p 3922
126+
127+
#. ESXi Hypervisors
128+
129+
#. Connect to your CloudStack Management Server.
130+
131+
#. ESXi users should SSH to the private IP address of the System VM.
132+
133+
Format: ssh -i <path-to-private-key> <vm-private-ip> -p 3922
134+
135+
Example: root@management:~# ssh -i /var/lib/cloudstack/management/.ssh/id_rsa 172.16.0.250 -p 3922
91136

92137
Multiple System VM Support for VMware
93138
-------------------------------------

0 commit comments

Comments
 (0)