- Overview of Installation
We assume the following configuration in this document:
- CentOS 4.4 has been installed on the server host without the firewall option and Security Enhanced Linux feature.
- The server host must have at least 500 Mbytes of disk space under the /opt directory.
- Compute hosts will be installed from scratch.
- You have an SCore 6.0.0 Cluster Development Kit DVD or its image.
Hereafter, the SCore 6.0.0. Cluster Development Kit DVD is called SCore DVD.
The installation procedures contain mainly the following three steps:
- Configuration Specification using EIT
- Compute Hosts Installation
- SCore Server Configuration
The SCore DVD contains the boot CD-ROM image for a compute host
with a CD drive. Such a user must burn a CD-R using the following image:
# /mnt/cdrecorder/images/scoreboot.iso
Using this CD-R, the SCore DVD must be mounted in the server host because
the the server host provides all the installation images to compute hosts
during the installation time.
EIT will invoke a daemon which handles the DHCP protocol, whose port number is
1641 instead of the standard DHCP server port number, 67.
After booting an installer on a compute host by the boot floppy disk, the installer obtains
its IP address from the daemon.
The given IP address is permanently used in the compute host.
Then, the compute host mounts installation images and invokes the
Red Hat anaconda with a kickstart file stored in the server.
Be sure that you must login the server as a super user and
the command path includes /sbin and /usr/sbin.
That is, for example, make sure that
the following command is successfully invoked:
# ifconfig eth0
- EIT setup
If you have the SCore DVD, follow the (1) procedure.
If you have the SCore DVD iso image, follow the (2) procedure.
- SCore DVD
The DVD is inserted in the server host.
We assume that the DVD drive device is /dev/hda.
Issue the following commands:
# mkdir -p /var/ftp/media/cdrecorder
# mount /dev/hda /var/ftp/media/cdrecorder
# cd /var/ftp/media/cdrecorder
# ./Install
- SCore DVD iso image
Assume that the score6.0.0-centos4.4.iso image is located in the /work directory.
Issue the following commands:
# mkdir -p /var/ftp/media/cdrecorder
# mount -o loop /work/score6.0.0-centos4.4.iso /var/ftp/media/cdrecorder
# cd /var/ftp/media/cdrecorder
# ./Install
The /opt/score directory has been installed.
All documents and binaries for the server are located under the directory.
- Making SCore Boot CD
- A CD drive with a compute host
You have to make a boot CD-R using the following file.
/var/ftp/media/cdrecorder/images/scoreboot.iso
If you need to eject the SCore DVD to make the CD-R,
the above iso file must be copied to a local disk first.
After burning the CD-R, the SCore DVD must be mounted again.
- A DVD drive with a compute host
SCore DVD is used to install compute hosts.
Please eject the DVD.
No need to burn a CD-R.
- NIS setup
EIT assumes the NIS environment.
- In case that the NIS server exists
- For example, assume that NISDOMAIN is score.info, issue the following command:
# /opt/score/bin/configNIS client score.info
- Make sure that IP addresses of the server host and all compute hosts are registered in NIS.
- In case that the NIS server is going to be set up on the SCore server.
- IP addresses of the server host and all compute hosts must be registered in the /etc/hosts file.
- Create user accounts.
- The configNIS command is used as follows to set up the NIS server.
In this example, the score.info NISDOMAIN name is assumed.
# /opt/score/bin/configNIS server score.info
- EIT
起動時にXウィンドウシステムが動かないように以下の通り設定して下さい。
Disables automatic the X window system start up at the boot time,
please issue the following command:
# telinit 3
Then the X window system is restarted using the startx command.
The following command must be invoked under the X Window System:
- In case that NIS and DNS are running
# /opt/score/bin/eit
- In case that NIS is only running
# /opt/score/bin/eit -nisonly
You will see the following window:
Figure 1: Easy Installation Tool Welcome Window
Please click the Next button to start the installation.
- Keyboard Selection
You will see the keyboard selection window as shown below.
Choose the keyboard type.
Figure 2: Keyboard Selection
Please click the Next button to configure the network information.
- Network Configuration
You will see the following window:
Figure 3: Network Configuration
Basically, you do not need to modify the network configuration.
If the SCore Cluster Development Kit CD-ROM image is stored in a hard disk,
the "Mount Point" must be changed.
- Server Name
You do not need to change it.
- Domain Name
The domain name is the server host domain name.
- Netmask
If your cluster host netmask is different from the default netmask,
please modify this value.
- Gateway
If the gateway of your compute host is different from the default gateway,
please modify this value.
- NIS
If the NIS domain name is different from the default name,
please modify this value.
- Mount Point
Do not change this field in this release.
- Display
The display host to show the installation process should be specified.
Please click the Disk Setup button.
- NFS Configuration
You may specify the NFS mount points in all compute hosts using the
NFS Configuration section (Figure 6).
Figure 4: NFS Configuration
After specifying the NFS mount, please click the Next button.
- Host Information
The next step is to specify the compute host information.
Figure 5: Host Information
In the host information section (Figure 5),
- Specify the number of compute hosts in the
Number of Hosts field.
For example, if your cluster will have one server and eight compute
hosts, change this value to 8.
- Each compute host name will be a string specified in the Name Prefix
filed followed by a number whose number system is selected from the buttons,
digit, hex and oct.
If you select none, then no number is added.
- The number is started from the value specified in the Start field.
- Figure of the number is specified in the Figure field.
For example, if you want to have four compute hosts with the postfix
having the form 005, 006, 007, and 008, then enter 5 in the Start field
and 3 in the Figure part.
-
If compute hosts are SMPs, the number of processors is set
in the # of Processors field.
- Click the Add button
- A Hosts Configuration dialog box will be displayed showing all
the hostnames that will be used, starting from 0 (Figure 8):
Figure 6: Hosts Configuration
- Select OK to accept this list, or Cancel to start again
If you finish to specify all compute hosts, please click the Next
button.
- Cluster Network Configuration
The Cluster Network Configuration section will be displayed (Figure 7).
Figure 7: Cluster Network Configuration (1)
To specify the cluster group with network types, please click the New
button.
You will see the following window (Figure 8).
Figure 7: Group Creation (1)
-
Enter the name of the group in the text field at the top.
- Below the group name specification field, each network type has a toggle button.
Select the networks that you wish to use by toggling the buttons. If you
also select "Shmem" for SMPs enter the process count in the text field to
the right. The process count should not be larger than the number of CPUs
in the SMP machine.
-
On the left-hand side of the window is a box of candidate hosts. If the
number of hosts cannot be displayed in the window you can scroll the window
with the scroll bar. Select the hosts that you want for the group. The
selected hosts will be displayed in the box on the right-hand side.
A button under the candidates and selected windows should be selected
if you want to select all of machines, half of machines, or quarter machines.
For example,
if you want to select the first half of machines, click the 1/2 button.
If you want to select the last half of machines, click the 2/2 button.
After entering the information you will see a window similar to the
following (Figure 11).
Figure 8: Group Creation (2)
- Click the OK button to accept this group, or Cancel to start again.
If you select the OK button, you will see the following window (Figure 12).
Figure 10: Cluster Network Configuration (2)
To go to the next step, please click the Next button.
- Cluster Setup
After the boot floppy creation section and the Cluster Setup
section is displayed,
it is ready to install all compute hosts.
Figure 11: Cluster Setup (1)
- Insert a SCore boot CD or SCore DVD into the compute host 0 and power on.
- Few minutes later, you will see the compute host 0 MAC address and
IP address in the Cluster Setup Window as shown in Figure 12.
Figure 12: Cluster Setup (2)
At this time, the EIT daemon gives the IP address to the compute host.
In case of using the boot CD disk,
you may eject the boot CD disk and insert it to the next compute host and
power it on to start the installation.
In case of using the DVD disk, you cannot eject the DVD because the
installer uses the DVD to extract the images.
- The following window will be displayed during the installation sequence:
Figure 13: Installing Packages
- When the installation has completed, you will see the following window.
Please click the "Exit" button. The compute host will be rebooted.
Figure 14: Congratulation Window
If all compute hosts have been installed, then proceed the next step.
- Server Setup
After installing all compute hosts,
click the Next button in the EIT window to set up the server host.
Figure 15: Server Setup
The following message will appear when the server host set up is done.
Figure 16: Server Setup Done
Figure 17: Congratulation !
Before testing the cluster, you have to logout and login again so that the
shell environment variables, defined under the
/etc/profile.d
, become effective.
- Server Host combined with Compute Host
If you want to configure that the Server host is also a compute host,
the server host must be also included in compute host lists.
For example, let us add the server host to the compute hosts in the
example configuration. That is, assume the eight compute hosts have
been registered and the server host name is server.pccluster.org
.
Assume that you have not configured the SCore system, i.e., not yet
proceeded the Cluster Network Configuration section.
If you have configured compute hosts already,
See the Additional Compute Hosts after Setting
section.
-
In the host information section shown in Figure 25,
- Specify 1 in the Number of Hosts field,
- Fill the letter
server
in the Name Prefix field,
- Select the none button
And then the Add button is clicked.
Figure 18: Host Information
Then, you will see the following window. Click the OK button.
Figure 19: Hosts Configuration
- Click the "New" button in the Cluster Network Configuration section
and then specify the network.
If you will add more compute hosts in your cluster in the future, it
is better that a server host is the compute host number 0 instead of the
last number. If you want to set up this, the server host name is
firstly registered in the host information section, and then other
compute host names are registered.
- Additional Compute Hosts after Setting
If you want to add more compute hosts after configured, please do the
following:
- Invoking
/opt/score/bin/eit
- Click the Load button so that the configuration information
is loaded.
- Specify the new additional compute hosts in the Host Information.
A new compute host can be the server host. You may specify the server
host name in the Host Information.
- Modify the existing network group or create a new network group in
the Cluster Network Configuration section.
- Then click the Next button in the Cluster Network Configuration
section.
You will see the following dialog. Please click the No button
because existing compute hosts do not need to be reconfigured.
Figure 20: Reconfiguration Confirmation
Click the No button !
- If you still keep boot floppies, use them to set up the new compute hosts.
If you do not have them, create boot floppies in the Create Boot Floppy section.
- If the new compute hosts include the server host, the server host must
be rebooted.