Go Back to Cloning Documentation Index
Stargate Director Cloning instructions
The Stargate Director (SGD) package consists of the kansei_kernel source code package to be installed on the Stargate, and a customized rc.local that assigns the Stargate an IP address in the testbed. Before starting the installation, create a file called the 'host_ip.txt' which has the list of stargates to which the the StargateDirector package needs to be installed. The install script assumes that the server from which the installation is done can directly SSH into the stargates.
The installation also assumes that the KanseiGenie Director (KGD) installation has been completed previously, since it uses some of the scripts that are part of the KGD package. It also assume that the KGD package is installed at /opt/KanseiGenie/, if you choose a different installation location, update the install script variable KGD_DIR accordingly. This guide assumes that you have succesfully configured the host_ip.txt file in the KanseiGenie Director's folder, so that the scripts will contact the IP addresses of each Stargate.
To install run the 'install_stargatedirector.sh' file with installation directory as the first argument. The default installation directory is /opt/
To start the SGD on stargates you need to run the following command manually after checking, that KGD and SGD installation and the MySQL database topology updates.
% $KGD_DIR/scripts/shell-stargate.pl ./host_ip.txt "chmod 755 /etc/rc.local; /etc/rc.local"