Index Index for
Section 8
Index Alphabetical
listing for C
Bottom of page Bottom of
page

clu_add_member(8)

NAME

clu_add_member - Add a member to a cluster

SYNOPSIS

/usr/sbin/clu_add_member [-c member_conf_file]

FLAGS

-c member_conf_file When invoked with the -c flag, clu_add_member runs in non- interactive mode, taking its input from the specified configuration file.

DESCRIPTION

The clu_add_member command adds a member to an existing cluster. It configures the cluster for a new member and creates a boot disk for that new member. You must be root to run this command. When run without the -c flag, the command is interactive. It prompts for the information required to perform each task, displays the entered information so you can check its accuracy, and, only after you confirm that the information is correct, modifies the system. The command provides also online help. To display a help message, type the word help or a question mark, ?, at any prompt. When invoked with the -c flag, clu_add_member runs in non-interactive mode, taking its input from a configuration file. If clu_add_member -c encounters a fatal error, it exits. In addition, no interactive options are presented. The following is an example of a clu_add_member configuration file: # clu_add_member saved configuration values # date: Tue Oct 26 11:46:48 EDT 1999 hostname pepicelli.zk3.dec.com # Previously saved value in this file have been converted to comment # lines clu_boot_dev=dsk12 clu_ic_dev=mc0 clu_ic_host=polishham-mc0 clu_ic_ip=10.0.0.2 clu_license='' clu_mem_votes=1 clu_memid=2 unix_dev='' unix_host=polishham.zk3.dec.com unix_ip='' A configuration file makes it easy to re-add a member to cluster. However, the information in the configuration file must be accurate; for example, host names, IP addresses, and disk dsk names. Because disk devices are named in order of discovery, using a configuration file implies that you run clu_add_member -c on the same system it was run on previously and that the storage configuration has not changed. When using configuration files, add the members in the same order used when creating the original cluster. For each member, run clu_add_member on the same member it was run on previously. (The date: comment line in the configuration file contains the date that clu_add_member was run and the name of the host on which it was run.) Both clu_create and clu_add_member write configuration files to /cluster/admin. Because there is no way to discern the type of file from the .membern.cfg filename, look at the comments to determine whether clu_create or clu_add_member created the file. The configuration files are generated by programs and read by programs. In general, do not manually edit configuration files. We recommend that if you use the -c flag, you run clu_add_member on a copy of the configuration file, not on the original. The following example show how you might use clu_add_member -c to re-add two members to a cluster. Remember that the storage configuration must be the same as when the members were last added, that a member must be added from the same member as last time, and that you must boot each member before adding the next: # cp /cluster/admin/.member2.cfg /usr/tmp/.member2.cfg # /usr/sbin/clu_add_member -c /usr/tmp/.member2.cfg [Boot the second member. Determine which member added the third member (look at the date: lines in the configuration files). Add the third member.] # cp /cluster/admin/.member3.cfg /usr/tmp/.member3.cfg # /usr/sbin/clu_add_member -c /usr/tmp/.member3.cfg [Boot the third member.] The TruCluster Server Hardware Configuration manual describes how to set up and configure the processors, interconnects, and storage for a cluster. The TruCluster Server Software Installation manual provides detailed information on installing the TruCluster software, creating a cluster, and adding members. Refer to these manuals before running clu_add_member or clu_add_member -c. The following list outlines the steps needed to add a new member to a TruCluster Server cluster: 1. Using the information in the TruCluster Server Hardware Configuration manual, configure system and storage hardware and firmware. 2. Read the appropriate chapters in the TruCluster Server Software Installation manual and fill in the checklists provided there. 3. Bring the new system to the console level. Set the following console variables: >>> set bus_probe_algorithm new >>> set boot_reset on >>> set auto_action halt >>> set bootdef_dev "" 4. On a current cluster member, run the clu_add_member command. The command prompts for the information needed to add a member to the cluster, configures the new member's boot disk, adds and modifies files in the clusterwide file systems, and gives you the option of loading the TruCluster Server license PAK. (You do not need to load the PAK at this time, but you will need to load both the TruCluster Server license PAK and the base operating system license PAK after you boot the new system.) The clu_add_member command records prompts and responses in a log file, /cluster/admin/clu_add_member.log. It also writes the configuration for the new member to /cluster/admin/.membern.cfg, where n is the member ID of the new member. 5. When clu_add_member completes, go to the console of the newly installed member and boot genvmunix from the new member's boot disk. Make sure to boot the disk you just configured for this member. For example, if you entered dsk12 for the boot disk in clu_add_member and you know that dsk12 is DKC600 from the new system's console: >>> boot -file genvmunix dkc600 6. The clu_add_member commands puts several it(8) files on the new member's boot partition. When first booted, the new member automatically performs the following tasks: · Configures all loaded subsets. · Attempts to build a customized kernel. · If the kernel build succeeds, copies the new kernel to the member's boot partition. · Runs a script so you can configure additional network interfaces. (The clu_add_member command configures only the cluster interconnect interface.) We recommend that you configure at least one additional interface: the interface that is associated with the new member's host name. · Sets the boot_reset, bootdef_dev, and boot_dev console variables. 7. The system continues to boot to multi-user mode. Log in as root and register the base operating system license and any other required application licenses. If you did not register the TruCluster Server license while running clu_add_member, register it now. 8. Because this member is running genvmunix, reboot the system so it is using its custom kernel: # shutdown -r now

FILES

/usr/sbin/clu_add_member Specifies the command path. /cluster/admin/clu_add_member.log Log file for clu_add_member. /cluster/admin/.membern.cfg Configuration file created by clu_add_member.

RELATED INFORMATION

Commands: clu_check_config(8), clu_create(8), clu_delete_member(8) TruCluster Server Hardware Configuration TruCluster Server Software Installation

Index Index for
Section 8
Index Alphabetical
listing for C
Top of page Top of
page