4.3. Installation Procedures

4.3.1. Installation ShaoLin InfiniCluster

Installation ShaoLin InfiniCluster procedure is simple, and straight forward. When you are prepared the software and hardware requirements, you are ready to go.

4.3.2. Hardware Installation

General hardware configuration

ShaoLin InfiniCluster (SIC) allows the administrators to use standard hardware to set up cluster configuration that meets your performance, availability, and data integrity needs of applications and users. User should choose adequate hardware that will meet the capacity and performance requirement of their application. One of the consideration of choosing hardware for a cluster system is cost. Since you have to buy additional set of hardware for redundancy, the cost of cluster hardware can double your original standalone server cost plus other additional cluster hardware and peripherals, This means the choice of hardware requirement can greatly affect the total implementation cost of you system. ShaoLin InfiniCluster does not require to use identical machines. Identical machines can be simplify management and configuration. For storage block devices and other hardware, we do suggests you to use same naming space. In order to minimize mistakes and ease of setup. ShaoLin InfiniCluster adds minimal load to your server. However, it is recommended your hardware to run on a system with more than 400Mhz and 64MB RAM.

Configuring Shared Storage

ShaoLin InfiniCluster does not require share storage device to act as shared storage for the cluster. However, for application which needs shared data between nodes, shared storage is truly vital to the cluster configuration. Following storage types are supported by ShaoLin InfiniCluster.

- Just a Bunch of Disk (JBOD)

- RAID subsystem and storage enclosure

- Host Adapter RAID

- NAS (Network Area Storage)

- SAN (Storage Area Network)

4.3.3. Installation ShaoLin InfiniCluster (SIC)

Installation ShaoLin InfiniCluster (SIC)

1. Login to the system that you would like to install SIC as a root user.

2. Make a "shaolin" directory under "/etc"

3. Copy or move the "sic-2_0.lic.txt" file to "/etc/shaolin/"

[Node01 root]# mkdir /etc/shaolin
[Node01 root]# cp ./sic-2_0.lic.txt /etc/shaolin/
[Node01 root]#

(Note: In re-newing license, cluster manager (slicmgr) need to be restarted for loading the updated license)

4. Change the ShaoLin InfiniCluster installer as executable by using "chmod +x" or "chmod 755" command.

5. Execute the installer.

6. A message shows up and asks you to begin installation of the ShaoLin InfiniCluster.

[Node01 root]# chmod +x ./slic/shaoLin_InfiniCluster-isntaller-1.0-distro-edition-arch
[Node01 root]# ./slic/shaoLin_InfiniCluster-isntaller-1.0-distro-edition-arch
Verifying archive integrity...OK
Uncompressing ShaoLin InfiniCluster installer..................................................
.....................

7. A license agreement page will be shown, press space or page down to the next page. At the end of message will to ask you to accept the license agreement or not. Answer "y" will continue the installation process and "n" will quit installation.

8. Now the installer detects and displays your system's distribution name and version. The detected Linux distribution information will shows as follow;

>> linux distribution name - version - arch

9. Optional Packages are the bundled Service Monitoring Agents of SIC, install those SMAs depend on your need.

10. After the Optional packages selection, a list of packages to install will display for user with descriptions of each rpm. If any package is already installed in the system, it will show the installed packages. Answer "yes" will start SIC installation.


Do you agree the above license agreement? [Y/N]
y

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Detect Distribution +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

SUSE LINUX Enterprise Server 9 for i386

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Optional Packages +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Do you want to install the optional package
ShaoLin_InfiniCluster_SMA_lvm [Service Monitor Agent for LVM]
[Y/N]
y
Do you want to install the optional package
ShaoLin_InfiniCluster_SMA_md [Service Monitor Agent for MD]
[Y/N]
y

11. After the progress shows 100% and installation complete message, the SIC installation is done. The setup procedure will ask you to run setup program. Setup program is used to create a new cluster, adds/configures node to cluster. You can start setup program by answering "yes". if you would like to create cluster/add node later, you can answer "no" and run setup program later by executing "/opt/slic/bin/slicsetup".


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Packages To Install +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

The following packages will be installed in your system.
ShaoLin_GPCI-2.6.5-7.97smp-1.0-2rc11 [ShaoLin General Parallel Cluster Infrastructure]
ShaoLin_InfiniCluster_Common-2.0-2rc4sles9 [ShaoLin InfiniCluster Manager]
ShaoLin_Administration_System-1.0-1sles9 [ShaoLin Administration Sysytem]
ShaoLin_Administration_System-client-1.0-1 [SLSAS client UI]
ShaoLin_InfiniCluster_SMA_lvm-2.0-2rc4sles9 [Service Monitor Agent for LVM]
ShaoLin_InfiniCluster_SMA_md-2.0-2rc4sles9 [Service Monitor Agent for MD]

Are you sure to continue install? [Y/N]
y

Preparing... ########################################### [100%]
1:ShaoLin_Administration_########################################### [ 17%]
2:ShaoLin_InfiniCluster_C########################################### [ 33%]
3:ShaoLin_GPCI-2.6.5-7.97########################################### [ 50%]
4:ShaoLin_Administration_########################################### [ 67%]
5:ShaoLin_InfiniCluster_S########################################### [ 83%]
6:ShaoLin_InfiniCluster_S########################################### [100%]


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Installation Complete +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

If you want to uninstall later, you can run /opt/slic/bin/uninstall.sh
script to clean-up your system.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ SLAS password +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Password for the ShaoLin Administration System
Please enter the password:
Retype password:
Password file '/etc/slas/passwd' generated successfully.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Setup Procedure +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Do you want to run the setup program now? [Y/N]
n

12. Installation is finished by answering "no".