You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by bu...@apache.org on 2012/12/10 19:52:29 UTC

svn commit: r841489 - in /websites/staging/vcl/trunk/content: ./ docs/vmwareconfiguration.html

Author: buildbot
Date: Mon Dec 10 18:52:28 2012
New Revision: 841489

Log:
Staging update by buildbot for vcl

Modified:
    websites/staging/vcl/trunk/content/   (props changed)
    websites/staging/vcl/trunk/content/docs/vmwareconfiguration.html

Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Dec 10 18:52:28 2012
@@ -1 +1 @@
-1419639
+1419660

Modified: websites/staging/vcl/trunk/content/docs/vmwareconfiguration.html
==============================================================================
--- websites/staging/vcl/trunk/content/docs/vmwareconfiguration.html (original)
+++ websites/staging/vcl/trunk/content/docs/vmwareconfiguration.html Mon Dec 10 18:52:28 2012
@@ -100,11 +100,14 @@
 <li>A VM host profile may be assigned to multiple VM hosts if they are configured identically</li>
 <li>VM host profiles may be added or modified via Virtual Hosts &gt; VM Host Profiles tab</li>
 </ul>
-<p><strong>VMware Products Supported</strong>
-  - VMware Server 2.x
-  - VMware ESX 3.5 - 4.x
-  - VMware ESXi 4.x
-  - VMware ESXi 5.x</p>
+<p><strong>VMware Products Supported</strong></p>
+<ul>
+<li>VMware Server 2.x</li>
+<li>VMware ESX 3.5 - 4.x</li>
+<li>VMware ESXi 4.x</li>
+<li>VMware ESXi 5.x</li>
+</ul>
+<hr />
 <p><strong>VM Host Management Options</strong></p>
 <p>The VCL management node must be able to control the VM host and the VMs running on it.  VMware provides several different ways of doing this.  VCL currently supports the following methods for remote VM host management:</p>
 <ul>
@@ -116,6 +119,93 @@
 <p><strong>How to enable SSH on the VM host:</strong></p>
 <p><em>VMware Server 2.x</em></p>
 <p>Enable the SSH daemon and configure identity key authentication according to the underlying VM host OS</p>
+<p><strong>ESX/ESXi 3.5 &amp; 4.0</strong></p>
+<ul>
+<li>Connect to the console of the ESX/ESXi host</li>
+<li>Press ALT-F1 - you should see a black screen with the VMware product name at the top</li>
+<li>Type the word unsupported and press Enter (you won't see the letters appear as you type them)</li>
+<li>You should see a password prompt, type in the root password and press Enter</li>
+<li>Edit the file: vi /etc/inetd.conf</li>
+<li>Uncomment the first line beginning with #ssh by deleting the # character</li>
+<li>Save the file - press Esc and then :wq</li>
+<li>Kill the inetd process</li>
+<li>Determine the PID of the inetd process: ps | grep inetd</li>
+<li>You should see a line that looks like: 5065 5065 busybox inetd</li>
+<li>Kill the process (enter the PID from the output of the previous command): kill -HUP 5065</li>
+</ul>
+<p><strong>ESXi 4.1</strong></p>
+<p>Beginning with ESXi 4.1, SSH can be enabled using the vSphere Client:</p>
+<ul>
+<li>Select the ESXi host</li>
+<li>Select the Configuration tab</li>
+<li>Select Security Profile under Software</li>
+<li>Click Properties</li>
+<li>Select Remote Tech Support (SSH)</li>
+<li>Click Options</li>
+<li>Select Start automatically</li>
+<li>Click Start</li>
+<li>Click OK</li>
+</ul>
+<p><strong>ESX 5.0</strong></p>
+<p>In the case of ESX 5.0:</p>
+<ul>
+<li>Select the ESXi host</li>
+<li>Select the Configuration tab</li>
+<li>Select Security Profile under Software</li>
+<li>Click Properties</li>
+<li>Select SSH Server</li>
+<li>Click Options</li>
+<li>Confirm that Start automatically is selected</li>
+<li>Click OK</li>
+</ul>
+<hr />
+<p><strong>How to configure ESX/ESXi to use SSH identity key authentication:</strong></p>
+<p>SSH identity key authentication must be configured if SSH is used to manage the VM host.</p>
+<ul>
+<li>
+<p>Create an SSH key pair on the management node (or use a key you previously created):</p>
+<div class="codehilite"><pre>    <span class="n">ssh</span><span class="o">-</span><span class="n">keygen</span> <span class="o">-</span><span class="n">t</span> <span class="n">rsa</span> <span class="o">-</span><span class="n">f</span> <span class="sr">/etc/</span><span class="n">vcl</span><span class="o">/</span><span class="n">vcl</span><span class="o">.</span><span class="n">key</span> <span class="o">-</span><span class="n">N</span> <span class="s">&#39;&#39;</span> <span class="o">-</span><span class="n">b</span> <span class="mi">1024</span> <span class="o">-</span><span class="n">C</span> <span class="s">&#39;VCL root account&#39;</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>Log into the ESX host via SSH (password authentication should work) and create the directory:</p>
+<div class="codehilite"><pre>    <span class="n">ssh</span> <span class="o">&lt;</span><span class="n">ESXi</span> <span class="n">host</span><span class="o">&gt;</span> <span class="s">&#39;mkdir /.ssh&#39;</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>Copy the public key to the ESXi host:</p>
+</li>
+<li>
+<p>ESXi 4.x:</p>
+<div class="codehilite"><pre>    <span class="n">scp</span> <span class="sr">/etc/</span><span class="n">vcl</span><span class="sr">/vcl.key.pub &lt;ESXi host&gt;:/</span><span class="o">.</span><span class="n">ssh</span><span class="o">/</span><span class="n">authorized_keys</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>ESXi 5.x:</p>
+<div class="codehilite"><pre>    <span class="n">scp</span> <span class="sr">/etc/</span><span class="n">vcl</span><span class="sr">/vcl.key.pub &lt;ESXi host&gt;:/</span><span class="n">etc</span><span class="sr">/ssh/</span><span class="nb">keys</span><span class="o">-</span><span class="n">root</span><span class="o">/</span><span class="n">authorized_keys</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>Test making an SSH connection using the key:</p>
+<div class="codehilite"><pre>    <span class="n">ssh</span> <span class="o">-</span><span class="n">i</span> <span class="sr">/etc/</span><span class="n">vcl</span><span class="o">/</span><span class="n">vcl</span><span class="o">.</span><span class="n">key</span> <span class="o">&lt;</span><span class="n">ESXi</span> <span class="n">host</span><span class="o">&gt;</span>
+</pre></div>
+
+
+</li>
+</ul>
+<p>IMPORTANT: Under ESXi 4.x, the authorized_keys file is erased when the ESXi VM host is rebooted. Complete the following steps to make the authorized_keys file persistent:</p>
+<p><em>Note</em>: VCL will perform these steps automatically when the 1st reservation assigned to the host is processed.</p>
+<ul>
+<li>Create a compressed tarball file containing the /.ssh directory:</li>
+</ul>
   </div>
   
   <div id="footer">