Skip to content

Commit 4044747

Browse files
Marty Sweetke4qqq
authored andcommitted
Added Accessing System VM via SSH
1 parent f37e0b0 commit 4044747

3 files changed

Lines changed: 67 additions & 0 deletions

File tree

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<?xml version='1.0' encoding='utf-8' ?>
2+
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
3+
<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
4+
%BOOK_ENTITIES;
5+
]>
6+
7+
<!-- Licensed to the Apache Software Foundation (ASF) under one
8+
or more contributor license agreements. See the NOTICE file
9+
distributed with this work for additional information
10+
regarding copyright ownership. The ASF licenses this file
11+
to you under the Apache License, Version 2.0 (the
12+
"License"); you may not use this file except in compliance
13+
with the License. You may obtain a copy of the License at
14+
15+
http://www.apache.org/licenses/LICENSE-2.0
16+
17+
Unless required by applicable law or agreed to in writing,
18+
software distributed under the License is distributed on an
19+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20+
KIND, either express or implied. See the License for the
21+
specific language governing permissions and limitations
22+
under the License.
23+
-->
24+
25+
<section id="accessing-system-vms">
26+
<title>Accessing System VMs</title>
27+
<para>It may sometimes be necessary to access System VMs for diagnostics of certain issues, for example if you are experiencing SSVM (Secondary Storage VM) connection issues. Use the steps below in order to connect to the SSH console of a running System VM.</para>
28+
<para>
29+
Accessing System VMs over the network requires the use of private keys and connecting to System VMs SSH Daemon on port 3922.
30+
XenServer/KVM Hypervisors store this key at /root/.ssh/id_rsa.cloud on each &PRODUCT; agent.
31+
To access System VMs running on ESXi, the key is stored on the management server at /var/lib/cloudstack/management/.ssh/id_rsa.
32+
</para>
33+
<orderedlist>
34+
<listitem>
35+
<para>Find the details of the System VM</para>
36+
<orderedlist numeration="loweralpha">
37+
<listitem><para>Log in with admin privileges to the &PRODUCT; UI.</para></listitem>
38+
<listitem><para>Click Infrastructure, then System VMs, and then click the name of a running VM.</para></listitem>
39+
<listitem><para>Take a note of the 'Host', 'Private IP Address' and 'Link Local IP Address' of the System VM you wish to access.</para></listitem>
40+
</orderedlist>
41+
<para><inlinegraphic format="PNG" fileref="images/view-systemvm-details.png"/></para>
42+
</listitem>
43+
<listitem>
44+
<para>XenServer/KVM Hypervisors</para>
45+
<orderedlist numeration="loweralpha">
46+
<listitem><para>Connect to the Host of which the System VM is running.</para></listitem>
47+
<listitem><para>SSH the 'Link Local IP Address' of the System VM from the Host on which the VM is running.</para></listitem>
48+
<listitem><para>Format: ssh -i &lt;path-to-private-key&gt; &lt;link-local-ip&gt; -p 3922</para></listitem>
49+
<listitem><para>Example: root@faith:~# ssh -i /root/.ssh/id_rsa.cloud 169.254.3.93 -p 3922</para></listitem>
50+
</orderedlist>
51+
</listitem>
52+
<listitem>
53+
<para>ESXi Hypervisors</para>
54+
<orderedlist numeration="loweralpha">
55+
<listitem><para>Connect to your &PRODUCT; Management Server.</para></listitem>
56+
<listitem><para>ESXi users should SSH to the private IP address of the System VM.</para></listitem>
57+
<listitem><para>Format: ssh -i &lt;path-to-private-key&gt; &lt;vm-private-ip&gt; -p 3922</para></listitem>
58+
<listitem><para>Example: root@management:~# ssh -i /var/lib/cloudstack/management/.ssh/id_rsa 172.16.0.250 -p 3922</para></listitem>
59+
</orderedlist>
60+
</listitem>
61+
</orderedlist>
62+
63+
64+
65+
66+
</section>
24.9 KB
Loading

‎docs/en-US/working-with-system-vm.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
parameter on the &PRODUCT; UI or by calling the listConfigurations API.</para>
3333
</note>
3434
<xi:include href="system-vm-template.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
35+
<xi:include href="accessing-system-vms.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
3536
<xi:include href="multiple-system-vm-vmware.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
3637
<xi:include href="console-proxy.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
3738
<xi:include href="virtual-router.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>

0 commit comments

Comments
 (0)