mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	This adds more documentation about installing the MySQL database locally or on an external node. It also adds Ubuntu documentation.
		
			
				
	
	
		
			75 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version='1.0' encoding='utf-8' ?>
 | 
						|
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 | 
						|
<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
 | 
						|
%BOOK_ENTITIES;
 | 
						|
]>
 | 
						|
 | 
						|
<!-- Licensed to the Apache Software Foundation (ASF) under one
 | 
						|
 or more contributor license agreements.  See the NOTICE file
 | 
						|
 distributed with this work for additional information
 | 
						|
 regarding copyright ownership.  The ASF licenses this file
 | 
						|
 to you under the Apache License, Version 2.0 (the
 | 
						|
 "License"); you may not use this file except in compliance
 | 
						|
 with the License.  You may obtain a copy of the License at
 | 
						|
 
 | 
						|
   http://www.apache.org/licenses/LICENSE-2.0
 | 
						|
 
 | 
						|
 Unless required by applicable law or agreed to in writing,
 | 
						|
 software distributed under the License is distributed on an
 | 
						|
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 | 
						|
 KIND, either express or implied.  See the License for the
 | 
						|
 specific language governing permissions and limitations
 | 
						|
 under the License.
 | 
						|
-->
 | 
						|
 | 
						|
<section id="install-management-server-multi-nodes">
 | 
						|
    <title>Prepare and Start Additional Management Servers</title>
 | 
						|
    <para>For your second and subsequent Management Servers, you will install the Management Server software, connect it to the database, and set up the OS for the Management Server. 
 | 
						|
    </para>
 | 
						|
    <orderedlist>
 | 
						|
        <listitem><para>Perform the steps in <xref linkend="prepare-os"/>.</para>
 | 
						|
        </listitem>
 | 
						|
        <listitem><para>Download the Management Server onto the additional host where it will run. Get the software from the following link.</para>
 | 
						|
                <para condition="cloudplatform"><ulink url="https://www.citrix.com/English/ss/downloads/">https://www.citrix.com/English/ss/downloads/</ulink></para>
 | 
						|
<para condition="cloudstack"><ulink url="FIXME">FIXME</ulink></para>
 | 
						|
                <para condition="cloudplatform">You will need a <ulink url="http://www.citrix.com/lang/English/publicindex.asp?destURL=%2FEnglish%2FmyCitrix%2Findex.asp%3F">MyCitrix account</ulink>.</para>        
 | 
						|
        </listitem>
 | 
						|
        <listitem><para>Install the  packages. You should have a file in the form of “&PRODUCT;-VERSION-N-OSVERSION.tar.gz”. Untar the file and then run the install.sh script inside it. Replace the file and directory names below with those you are using:</para>
 | 
						|
            <programlisting>
 | 
						|
# tar xzf &PRODUCT;-VERSION-N-OSVERSION.tar.gz
 | 
						|
# cd &PRODUCT;-VERSION-N-OSVERSION
 | 
						|
# ./install.sh
 | 
						|
            </programlisting>
 | 
						|
            <para>You should see a few messages as the installer prepares, followed by a list of choices.</para>
 | 
						|
        </listitem>
 | 
						|
        <listitem><para>Choose M to install the Management Server software.</para>
 | 
						|
            <programlisting>  > M</programlisting>
 | 
						|
        </listitem>
 | 
						|
        <listitem><para>Wait for a message like “Complete! Done,” which indicates that the software was installed successfully.</para>
 | 
						|
        </listitem>
 | 
						|
        <listitem><para>(RHEL or CentOS) When the installation is finished, run the following commands to start essential services  (the commands might be different depending on your OS):</para>
 | 
						|
            <programlisting>
 | 
						|
# service rpcbind start
 | 
						|
# service nfs start
 | 
						|
# chkconfig nfs on
 | 
						|
# chkconfig rpcbind on
 | 
						|
            </programlisting>
 | 
						|
        </listitem>
 | 
						|
        <listitem><para>Configure the database client. Note the absence of the --deploy-as argument in this case.
 | 
						|
            (For more details about the arguments to this command, see <xref linkend="management-server-install-db-external"/>.)
 | 
						|
        </para>
 | 
						|
            <programlisting># cloud-setup-databases cloud:<dbpassword>@<dbhost> -e <encryption_type> -m <management_server_key> -k <database_key>
 | 
						|
            </programlisting>
 | 
						|
        </listitem>
 | 
						|
        <listitem><para>(Trial installations only) If you are running the hypervisor on the same machine with the Management Server, edit /etc/sudoers and add the following line:</para>
 | 
						|
            <programlisting>Defaults:cloud !requiretty</programlisting>
 | 
						|
        </listitem>
 | 
						|
        <listitem><para>Configure the OS and start the Management Server:</para>
 | 
						|
            <programlisting># cloud-setup-management</programlisting>
 | 
						|
            <para>The Management Server on this node should now be running.</para>
 | 
						|
        </listitem>
 | 
						|
        <listitem><para>Repeat these steps on each additional Management Server. </para></listitem>
 | 
						|
        <listitem><para>Be sure to configure a load balancer for the Management Servers. See Management Server Load Balancing.</para></listitem>
 | 
						|
    </orderedlist>
 | 
						|
</section>
 |