Top
PRIMECLUSTER  Cluster Foundation Configuration and Administration Guide 4.5
FUJITSU Software

1.1.6 Example of CF setting by using CLI

Follow the procedures below if setting CF by using CLI.

The following example shows the cluster system configured by two nodes with the CF node names "fuji2" and "fuji3."

  1. Create the CIP configuration file.

    Describe /etc/cip.cf as below on all the nodes that configure the cluster system.

    Example:

    fuji2 fuji2RMS:netmask:255.255.255.0
    fuji3 fuji3RMS:netmask:255.255.255.0
  2. Set the IP address.

    Describe /etc/inet/hosts as below on all the nodes that configure the cluster system.

    <cip address1> <CIP/Sysnode name1>
    <cip address2> <CIP/Sysnode name2>

    Example: If setting the CIP address of fuji2 to 192.168.1.1 and the CIP address of fuji3 to 192.168.1.2.

    192.168.1.1 fuji2RMS
    192.168.1.2 fuji3RMS
  3. Use cfcp/cfsh to enable the remote access.

    Describe /etc/default/cluster.config as below on all the nodes that configure the cluster system.

    CFCP "cfcp"
    CFSH "cfsh"
  4. Edit /etc/default/cluster on all the nodes.

    1. Edit /etc/default/cluster and create the file with the following content.

      nodename <CF node name>
      clustername <cluster name>
      device <cluster interconnect 1>
      device <cluster interconnect 2>

      Example:

      nodename fuji2
      clustername FUJI
      device /dev/hme1
      device /dev/hme2

      Note

      Make sure to specify the CF node name, not the OS node name, to nodename.

    2. Set owners, groups and access rights.

      # chown root:root /etc/default/cluster
      # chmod 600 /etc/default/cluster
    3. Restart the node.

  5. Execute the following command on any one node that configures the cluster system, and set up the Cluster Integrity Monitor (CIM).

    # rcqconfig -a <nodename> ...
    nodename: CF node name

    Example:

    # rcqconfig -a fuji2 fuji3

    If this command returns an error, check if the cluster name and the CF node name set in /etc/default/cluster in step 4 are set correctly.

  6. Check that transmission is possible with the CIP/Sysnode name.

    Example: If checking from fuji2 to fuji3

    # ping fuji3RMS

    If transmission is not possible, check if the CF node name, .CIP/Sysnode name, and CIP address set in /etc/cip.cf and /etc/inet/hosts in step 1 and step 2 are set correctly.