Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added source/_static/images/add-Host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 31 additions & 4 deletions source/installguide/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,16 @@ Basic Zone Configuration
- **Password.** This is the password for the user named above (from
your XenServer or KVM install).

One additional facility that is available in case of KVM is, host can also be added
using CloudStack's SSH key without having to provide host password.

Before adding the host in CloudStack do the following,

- Copy the SSH public key from /var/cloudstack/management/.ssh/id_rsa.pub on the management server
- Add the copied key to /root/.ssh/authorized_keys file on the host

Select "System SSH Key" and proceed with next steps.

- **Host Tags.** (Optional) Any labels that you use to categorize
hosts for ease of maintenance. For example, you can set this to
the cloud's HA tag (set in the ha.tag global configuration
Expand Down Expand Up @@ -1001,8 +1011,8 @@ KVM Host Additional Requirements
cloudstack ALL=NOPASSWD: /usr/bin/cloudstack-setup-agent
defaults:cloudstack !requiretty

Adding a XenServer or KVM Host
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Adding a XenServer Host
^^^^^^^^^^^^^^^^^^^^^^^

#. If you have not already done so, install the hypervisor software on
the host. You will need to know which version of the hypervisor
Expand Down Expand Up @@ -1030,8 +1040,7 @@ Adding a XenServer or KVM Host

- Username. Usually root.

- Password. This is the password for the user from your XenServer or
KVM install).
- Password. This is the password for the user from your XenServer install).

- Host Tags (Optional). Any labels that you use to categorize hosts
for ease of maintenance. For example, you can set to the cloud's
Expand All @@ -1046,6 +1055,23 @@ Adding a XenServer or KVM Host
#. Repeat for additional hosts.


Adding a KVM Host
^^^^^^^^^^^^^^^^^

The steps to add a KVM host are same as adding a XenServer Host as mentioned in
the above section.
One additional facility that is available in case of KVM is, host can also be added
using CloudStack's SSH key without having to provide host password.

Before adding the host in CloudStack do the following,

- Copy the SSH public key from /var/cloudstack/management/.ssh/id_rsa.pub on the management server
- Add the copied key to /root/.ssh/authorized_keys file on the host

While adding the host from CloudStack UI, select "System SSH Key" as shown below

|add-Host.png: Adding a KVM Host|

.. _adding-a-host-vsphere:

Adding a Host (vSphere)
Expand Down Expand Up @@ -1700,4 +1726,5 @@ zone denied.routes Routes that
.. |provisioning-overview.png: Conceptual overview of a basic deployment| image:: /_static/images/provisioning-overview.png
.. |vsphereclient.png: vSphere client| image:: /_static/images/vsphere-client.png
.. |addcluster.png: add a cluster| image:: /_static/images/add-cluster.png
.. |add-Host.png: Adding a KVM Host| image:: /_static/images/add-Host.png
.. |ConsoleButton.png: button to launch a console| image:: /_static/images/console-icon.png