在第一台主机上安装管理服务器

安装的第一步,不论你在一台或多台主机上安装管理服务器,在单个节点上安装这些软件。

注解

If you are planning to install the Management Server on multiple nodes for high availability, do not proceed to the additional nodes yet. That step will come later.

CloudStack管理服务器可以用RMP或者DEB包来安装,这些包会依赖运行管理服务器的所有需要的东西。

在CentOS/RHEL上安装

我们开始安装需要的软件包:

  1. yum install cloudstack-management

在Ubuntu上安装

  1. apt-get install cloudstack-management

警告

There is a known bug in the 4.3.0 release. You need to install an additional package by hand:

  1. apt-get install libmysql-java

This bug has been fixed in master and upcoming 4.4 release and will also be fixed in bug fix releases 4.3.x

下载vhd-util

这个步骤仅适用于安装了XenServer的hypervisor主机。

在设置管理服务器前,下载 `vhd-utilhttp://download.cloud.com.s3.amazonaws.com/tools/vhd-util`_.

如果管理服务器是RHEL或者是CentOS,复制 vhd-util到`/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver`

如果管理服务器是Ubuntu系统,复制vhd-util到`/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver`