Citrix Systems 4.2 Server User Manual


 
Chapter 5. Installation
50
4. When the installation is finished, run the following commands to start essential services:
# service rpcbind start
# service nfs start
# chkconfig nfs on
# chkconfig rpcbind on
5. Continue to Section 5.4.4, “Install and Configure the Database”.
5.4.4. Install and Configure the Database
CloudPlatform uses a MySQL database server to store its data. When you are installing the
Management Server on a single node, you can install the MySQL server on the same node if desired.
When installing the Management Server on multiple nodes, we assume that the MySQL database runs
on a separate node.
5.4.4.1. Install the Database on the Management Server Node
This section describes how to install MySQL on the same machine with the Management Server. This
technique is intended for a simple deployment that has a single Management Server node. If you have
a multi-node Management Server deployment, you will typically use a separate node for MySQL. See
Section 5.4.4.2, “Install the Database on a Separate Node”.
1. If you already have a version of MySQL installed on the Management Server node, make one of
the following choices, depending on what version of MySQL it is. The most recent version tested is
5.1.58.
If you already have installed MySQL version 5.1.58 or later, skip to step 4.
If you have installed a version of MySQL earlier than 5.1.58, you can either skip to step 4 or
uninstall MySQL and proceed to step 2 to install a more recent version.
Warning
It is important that you choose the right database version. Never downgrade a MySQL
installation.
2. On the same computer where you installed the Management Server, re-run install.sh.
# ./install.sh
You should see a few messages as the installer prepares, followed by a list of choices.
3. Choose D to install the MySQL server from the distribution’s repo.
> D
Troubleshooting: If you do not see the D option, you already have MySQL installed. Please go
back to step 1.
4. Edit the MySQL configuration (/etc/my.cnf or /etc/mysql/my.cnf, depending on your OS) and
insert the following lines in the [mysqld] section. You can put these lines below the datadir line.