![]() |
![]() | |
You need to perform the installation of SIC on the system before join a node to existing cluster. After the installation done and you can run setup program in order to join an existing cluster.
1. Login to the system as root user.
2. Install SIC
3. Execute command "/opt/slic/bin/slicsetup" to setup node
4. Welcome message shows and you can either create a new cluster or join a cluster. Input "c" then press [ENTER] in order to create a new cluster. If you need to join an existing cluster, please read section - adding node to an existing cluster for more detail.
node2:~ # /opt/slic/bin/slicsetup ShaoLin InfiniCluster v2.0-2rc4 setup tools Copyright (c) 2004 ShaoLin Microsystems Ltd. All rights reserved. +++++++++++++++++++++++++++++++ Setup +++++++++++++++++++++++++++++++ Warning: any change of IP Address would be affected the configuration of the cluster, please verify your information before input. +++++++++++++++++++++++ Create or Join Cluster +++++++++++++++++++++++ If you want to create a new cluster, please press 'c'. If you have already created a cluster and want to add current node to the cluster, please press 'j' to join current node to the existing cluster. Create a new (c)luster or (j)oin an existing cluster: j |
5. You need to input the cluster key that represent an existing cluster.
++++++++++++++++++++++++++++ Join Cluster ++++++++++++++++++++++++++++ Joining in existing cluster... Please input Cluster Key: cluster1_key1 |
6. You will need to input the IP address of the existing node, the IP address that you are input shall be able to connect from this node.
Please supply an IP address or hostname of an existing node in the cluster:192.168.3.131 Please enter remote port[5102]: The remote host connection is "192.168.3.131:5102": (y/n)[Y]: |
7. You have to give a node id for this new node in order to join the cluster. The node id should have an unique node id.
The hostname is 192.168.3.131 [Y/N]:y ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ setup a new node... ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The 'Node ID' of a cluster node is for uniquely identify a node in the cluster. Therefore, please make sure the 'Node ID' is not duplicated with other member. Node ID: cluster1_Node2 |
8. Input the description about this node, you can input up to 254 characters including spaces.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The 'Description' of the node is a free text field for cluster administrator to input the description for the node. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please input description: This is SIC cluster1, key is cluster1_key1, node is cluster1_node2, public IP is 192.168.3.112 |
9. Select the network interface with the IP address that represent the public network for cluster initiative, this IP address is used to determine the network connection between nodes.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The 'Public IP Address' is for other node to communicate with current node in some special situation. Therefore, please make sure other nodes can access the current node via this IP address. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Please select the public IP address: 1) eth0 = 192.168.3.132 2) eth1 = 192.168.111.132 3) eth2 = 192.168.112.132 Please input selection: 1 Please enter port[5102]: |
10. Enter local node system reset mode
Select local node system reset mode********************************************************************** Please select system reset mode for the local node. The system reset mode is used to immediate stop this node in failure situations List of available reset modes, [0] none (disabled, not recommended) [1] restart [2] halt [3] poweroff [4] panic Please make your selection [4]: Selected reset mode is "kernel panic", are you sure?(y/n)[Y]: |
11. You need to select network interface to connect the existing communication channel (clusterwide) for heartbeat between nodes within the cluster.
Configuring communication channel "cluster-wide" Please select a network interface for Ethernet communication channel: 1) eth0 = 192.168.3.132 2) eth1 = 192.168.111.132 3) eth2 = 192.168.112.132 Please input choice: 2 Please select port[5102]: |
12. For the second communication channel, you can select existing communication channel or create a new second channel.
A node must join at least 2 communication channels. Please configure second communications channel. Please select or create communication channel 1) cluster1_ccid1 Please input Please choose one (0 = quit): 1 Joining communication channel "cluster1_ccid1" Please select the IP address for IP communication channel: 1) eth0 = 192.168.3.132 2) eth2 = 192.168.112.132 Please input choice: 2 Please select port[5102]: |
Join or create more communication channel?(y/n)y |
13. If you need to join or create more communication channels, you can answer "y" to join/create additional communication channels or answer "n" to finish the communication channel setup.
14. A setup success message shows up and you can start the cluster manager with answering "yes" or you can answer "no" to start it later by using "/etc/init.d/slic/slicmgr start" command.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Create more communication channel?(y/N)n Setup success! |