listing for C
clu_create - Create a cluster
/usr/sbin/clu_create [-c member_conf_file]
When invoked with the -c flag, clu_create runs in non-interactive
mode, taking its input from the specified configuration file.
The clu_create command creates a cluster. You must be root to run this
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 online help. To display a help message, type the word
help or a question mark, ?, at any prompt. The command also writes a log
The first time clu_create is run, it creates a configuration file in
/cluster/admin/.membern.cfg; for example, .member1.cfg. This configuration
file contains a list of variable=value pairs. Each time clu_create is run,
it appends the latest configuration data to this file in the /cluster/admin
When invoked with the -c flag, clu_create runs in non-interactive mode,
taking its input from a configuration file. If clu_create -c encounters a
fatal error, it exits. In addition, no interactive options are presented.
For example, clu_create -c does not offer to reboot the system; you must
perform a manual reboot after the command completes.
The following is an example of a clu_create configuration file for a
cluster that has installed the Worldwide Language Support subsets and uses
LAN hardware for its cluster interconnect:
# clu_create saved configuration values:
# date: Mon Jan 22 17:13:47 EST 2001 hostname pepicelli.zk3.dec.com
# Previously saved value in this file have been \
# converted to comment lines
A configuration file makes it easy to re-create an existing single-member
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_create -c on the same system it was run on
previously and that the storage configuration has not changed. (The date:
comment line in the configuration file contains the date that clu_create
was run and the name of the host on which it was run.)
Both clu_create and clu_add_member write configuration files to the
/cluster/admin directory. Because there is no way to discern the type of
file from the .membern.cfg file name, 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. The following example
shows how you might use clu_create -c after booting the operating system on
which you created the cluster:
# /usr/sbin/clu_create -c /cluster/admin/.member1.cfg
The TruCluster Server Cluster Hardware Configuration manual describes how
to set up and configure the processors, interconnects, and storage for a
cluster. The TruCluster Server Cluster Installation manual provides
detailed information on installing the TruCluster Server software and
creating a cluster. Refer to these manuals before running the clu_create
The following list outlines the steps needed to create a new TruCluster
Server cluster (see the TruCluster Server Cluster Installation manual for
1. Using the information in the TruCluster Server Cluster Hardware
Configuration manual, configure system and storage hardware and
2. Selecting AdvFS file systems, install the base operating system on the
system that will become the first cluster member. The disk or disks
used for the base installation can either be private to this system or
on a shared bus that the system can access.
You install the base operating system on only one system.
You do not have to install the operating system on each
system that will become a cluster member.
3. Configure the base operating system, including network and time
services. Load and configure the applications you plan to use in the
4. Load the TruCluster Server license and software. (After you load the
cluster license and software, you can install a patch kit and patch
both the base and cluster software before creating a cluster.)
5. After completing the checklists in the TruCluster Server Cluster
Installation manual, run the clu_create command to create a boot disk
for the first cluster member and to create and populate the
clusterwide root (/), /usr, and /var AdvFS file systems.
6. Halt the system and boot the disk containing the first member's
cluster boot partition. As the system boots, it forms a single-member
cluster and mounts the clusterwide root (/), /usr, and /var file
7. Log in as root and run the clu_add_member command to add members to
Specifies the command path.
Log file for clu_create.
Configuration file created by clu_create.
Commands: clu_add_member(8), clu_check_config(8), clu_delete_member(8),
TruCluster Server Cluster Hardware Configuration
TruCluster Server Cluster Installation
listing for C