@@ -485,6 +485,16 @@ Basic Zone Configuration
485485 - **Password. ** This is the password for the user named above (from
486486 your XenServer or KVM install).
487487
488+ One additional facility that is available in case of KVM is, host can also be added
489+ using CloudStack's SSH key without having to provide host password.
490+
491+ Before adding the host in CloudStack do the following,
492+
493+ - Copy the SSH public key from /var/cloudstack/management/.ssh/id_rsa.pub on the management server
494+ - Add the copied key to /root/.ssh/authorized_keys file on the host
495+
496+ Select "System SSH Key" and proceed with next steps.
497+
488498 - **Host Tags. ** (Optional) Any labels that you use to categorize
489499 hosts for ease of maintenance. For example, you can set this to
490500 the cloud's HA tag (set in the ha.tag global configuration
@@ -1001,8 +1011,8 @@ KVM Host Additional Requirements
10011011 cloudstack ALL=NOPASSWD: /usr/bin/cloudstack-setup-agent
10021012 defaults:cloudstack !requiretty
10031013
1004- Adding a XenServer or KVM Host
1005- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1014+ Adding a XenServer Host
1015+ ^^^^^^^^^^^^^^^^^^^^^^^
10061016
10071017#. If you have not already done so, install the hypervisor software on
10081018 the host. You will need to know which version of the hypervisor
@@ -1030,8 +1040,7 @@ Adding a XenServer or KVM Host
10301040
10311041 - Username. Usually root.
10321042
1033- - Password. This is the password for the user from your XenServer or
1034- KVM install).
1043+ - Password. This is the password for the user from your XenServer install).
10351044
10361045 - Host Tags (Optional). Any labels that you use to categorize hosts
10371046 for ease of maintenance. For example, you can set to the cloud's
@@ -1046,6 +1055,23 @@ Adding a XenServer or KVM Host
10461055#. Repeat for additional hosts.
10471056
10481057
1058+ Adding a KVM Host
1059+ ^^^^^^^^^^^^^^^^^
1060+
1061+ The steps to add a KVM host are same as adding a XenServer Host as mentioned in
1062+ the above section.
1063+ One additional facility that is available in case of KVM is, host can also be added
1064+ using CloudStack's SSH key without having to provide host password.
1065+
1066+ Before adding the host in CloudStack do the following,
1067+
1068+ - Copy the SSH public key from /var/cloudstack/management/.ssh/id_rsa.pub on the management server
1069+ - Add the copied key to /root/.ssh/authorized_keys file on the host
1070+
1071+ While adding the host from CloudStack UI, select "System SSH Key" as shown below
1072+
1073+ |add-Host.png: Adding a KVM Host |
1074+
10491075.. _adding-a-host-vsphere :
10501076
10511077Adding a Host (vSphere)
@@ -1700,4 +1726,5 @@ zone denied.routes Routes that
17001726.. |provisioning-overview.png: Conceptual overview of a basic deployment | image :: /_static/images/provisioning-overview.png
17011727.. |vsphereclient.png: vSphere client | image :: /_static/images/vsphere-client.png
17021728.. |addcluster.png: add a cluster | image :: /_static/images/add-cluster.png
1729+ .. |add-Host.png: Adding a KVM Host | image :: /_static/images/add-Host.png
17031730.. |ConsoleButton.png: button to launch a console | image :: /_static/images/console-icon.png
0 commit comments