Top
ETERNUS SF Storage Cruiser V15.3/ AdvancedCopy Manager V15.3 Cluster Environment Setup Guide
ETERNUS

5.3.1 Customization for Primary Node

This section explains the customization procedure for a primary node.

5.3.1.1 Common setting

This section explains the required procedure for customizing a primary node for ETERNUS SF Manager.

5.3.1.1.1 Creation of cluster resources

Follow the procedure below to create cluster resources to be used the primary node.

  1. Create the cluster application (transaction) for ETERNUS SF Manager.

    This step is required when ETERNUS SF Manager is created in a new cluster application (transaction), not for adding ETERNUS SF Manager in the existing cluster application (transaction).

    Refer to your cluster software manuals for creating a cluster application (transaction).

  2. Stop the cluster application (transaction).

    Stop the cluster application (transaction) for ETERNUS SF Manager, if it is started up.

    Refer to your cluster software manuals for stopping a cluster application (transaction).

  3. Mount the shared disk for shared data.

    Mount the shared disk for shared data and the shared disk for repository for ETERNUS SF Manager in the primary node.

5.3.1.1.2 Startup setting for ETERNUS SF Manager

Setup the starting process of ETERNUS SF Manager to be controlled by cluster software instead of operating system.

Execute the following commands on the primary node.

# mv /etc/rc0.d/K00startSFmanager /etc/rc0.d/XK00startSFmanager<RETURN>
# mv /etc/rc1.d/K00startSFmanager /etc/rc1.d/XK00startSFmanager<RETURN>
# mv /etc/rc2.d/K00startSFmanager /etc/rc2.d/XK00startSFmanager<RETURN>
# mv /etc/rc3.d/S99startSFmanager /etc/rc3.d/XS99startSFmanager<RETURN>
# mv /etc/rc4.d/S99startSFmanager /etc/rc4.d/XS99startSFmanager<RETURN>
# mv /etc/rc5.d/S99startSFmanager /etc/rc5.d/XS99startSFmanager<RETURN>
# mv /etc/rc6.d/K00startSFmanager /etc/rc6.d/XK00startSFmanager<RETURN>
5.3.1.1.3 Copying of dynamic disk files

Copy the files on the dynamic disks of ETERNUS SF Manager on the primary node to the shared disk for ETERNUS SF Manager.

  1. Copy the files from the local disks on the primary node to the directory on the shared disk.

    Local disk (copy source)

    Shared disk (copy destination)

    /var/opt/FJSVesfcm

    <Mountpoint-of-shared-disk-for-shared-data>/var/opt/FJSVesfcm

    /etc/opt/FJSVesfcm

    <Mountpoint-of-shared-disk-for-shared-data>/etc/opt/FJSVesfcm

    /var/opt/FJSVesflm

    <Mountpoint-of-shared-disk-for-shared-data>/var/opt/FJSVesflm

    Point

    Specify the owner, the access restrictions of the copy destination files and directories the same as the copy resource.

  2. Modify the following copied directory names:

    • /var/opt/FJSVesfcm

    • /etc/opt/FJSVesfcm

    • /var/opt/FJSVesflm

On the primary node, set up links to the directories of the shared disk for shared data.

Set up symbolic links from the directories on the local disks on the primary node to the directories on the shared disk.

Setup of symbolic links is required for the following directories:

Linked source directory (shared disk)

Link target directory (symbolic link file)

<Mountpoint-of-shared-disk-for-shared-data>/var/opt/FJSVesfcm

/var/opt/FJSVesfcm

<Mountpoint-of-shared-disk-for-shared-data>/etc/opt/FJSVesfcm

/etc/opt/FJSVesfcm

<Mountpoint-of-shared-disk-for-shared-data>/var/opt/FJSVesflm

/var/opt/FJSVesflm

Implement the following procedure for all directories:

  1. Move each directory that you copied according to "5.3.1.1.3 Copying of dynamic disk files" to the directory one level above the original directory.

  2. Execute the following command:

    >ln -s srcDir dstDir <RETURN>

    For srcDir, specify the directory on the shared disk which to set the link.
    For dstDir, specify the file name of local disk from which the link is to be set.

5.3.1.1.5 Preparation of generic script

Follow the procedure below to prepare a generic script to be used on the primary node.

  1. In the ETERNUS SF Manager program directory on the primary node, store the generic script file that you created in "4.1.1 Shared resources".

  2. Creating a Cmdline resource for ETERNUS SF Manager.

    Specify the generic script file stored in step 1 to Start script, Stop script and Check script to be registered in Cmdline resource.

    Refer to the PRIMECLUSTER manuals for creating Cmdline resource.

5.3.1.2 Customization for Storage Cruiser's manager

Customize a primary node according to the following procedure.

  1. Execute the cluster setup command on the primary node.

    On the primary node, execute the following cluster setup command after blocking other users from accessing the shared disk for shared data. When an IPv6 address is used as the takeover IPaddress for Management Server transaction, specify "127.0.0.1" here.

    # /opt/FJSVssmgr/cluster/esc_clsetup -k Primary -m <Mountpoint-of-shared-disk-for-shared-data> -i takeoverIPAddressForManagementServerTransaction(IPv4Format)
  2. Check the setup object.

    Information specified by the command is displayed.
    After confirming the displayed information, input "y". The primary node is set up.

    # /opt/FJSVssmgr/cluster/esc_clsetup -k Primary -m /esfmnt -i 10.10.10.10
    ETERNUS SF Storage Cruiser settings are as follows.
    Cluster system : PRIMECLUSTER
    Node type : Primary
    Mount point : /esfmnt
    IP Address : 10.10.10.10
    Manager cluster setup : Are you sure? [y,n,?]

    To interrupt the cluster environmental setting processing, input "n".

  3. Confirm that the displayed message is as follows:

    FJSVrcx:INFO:27700:esc_clsetup:primary node setup completed
  4. [Only when you set the IPv6 address to the takeover IP address] Edit the detailed setting file of the storage management.

    When you set the IPv6 address to the takeover IP address for Management Server transaction, use the text editor to describe it in the detailed setting file.

    Add the line of "LOGICAL_MANAGER_V6IP" in below detailed setting file.

    • File name: <Mountpoint-of-shared-disk-for-shared-data>/FJSVssmgr/etc/opt/FJSVssmgr/2.0/sanma.conf

    Additional line is as follows:

    LOGICAL_MANAGER_V6IP="takeoverIPAddressForManagementServerTransaction(IPv6Format)";

    In addition, when you do not use the IPv4 address to the takeover IP address for Management Server transaction, delete the following line from the detailed setting file.

    LOGICAL_MANAGER_IP="takeoverIPAddressForManagementServerTransaction(IPv4Format)";

    Refer to "LOGICAL_MANAGER_IP" and "LOGICAL_MANAGER_V6IP" in "sanma.conf Parameter" in the ETERNUS SF Storage Cruiser Operation Guide for information on the detailed setting file.

5.3.1.3 Customization for AdvancedCopy Manager CCM

Customize the primary node.

5.3.1.3.1 Preparation of generic script for AdvancedCopy Manager CCM

Follow the procedure below to prepare a generic script to be used on the primary node.

  1. In the program directory for ETERNUS SF Manager or AdvancedCopy Manager CCM on the primary node, store the generic script file that you created in "4.1.4 Resources required for AdvancedCopy Manager CCM".

  2. Set up the access restrictions for the stored generic script file.

    Specify the authority that the root user can access.

5.3.1.3.2 Customization procedure

Customize the primary node.

Information

This section uses the following values for explanatory purposes:

Value

Description

$SHARE_MNT

"Mount point" of shared disk for shared data

For the path name of "$SHARE_MNT", only single-byte alphanumeric characters with no spaces can be used. The path name can be specified with a maximum of 70 characters.

  1. Create directories on the shared disk for shared data.

    On the primary node, create the following directories on the shared disk for shared data:

    • $SHARE_MNT/etc/opt/FJSVccm

    • $SHARE_MNT/var/opt/FJSVccm

    Point

    Specify the following values for each directory.

    • Set "root (super user)" to owner.

    • Execute chmod command with 755 as the argument to set the access restrictions.

  2. Copy the environment setup files to the shared disk for shared data.

    On the primary node, copy the files from the following directory paths to the copy destination directories on the shared disk for shared data.

    Copy source directory

    Copy destination directory

    /etc/opt/FJSVccm

    $SHARE_MNT/etc/opt/FJSVccm

    /var/opt/FJSVccm

    $SHARE_MNT/var/opt/FJSVccm

    Point

    Specify the owner, the access restrictions of the copy destination files and directories the same as the copy resource.

  3. Create backup directories for the AdvancedCopy Manager CCM setup files.

    Create the following directories on all nodes in the clusters that are run by the CCM Server.

    • /opt/FJSVccm/noncluster/bin

    • /opt/FJSVccm/noncluster/micc/sys

    • /opt/FJSVccm/noncluster/sys

    Point

    Specify the following values for each directory.

    • Set "root (super user)" to owner.

    • Execute chmod command with 755 as the argument to set the access restrictions.

  4. Copy the .install.sys, stxc_install.sys, and sys.properties files.

    Copy the following files from the following source directories to the destinations on all nodes in the clusters that are run by the CCM Server.

    Copy source directory

    Copy destination directory

    /opt/FJSVccm/micc/sys/.install.sys

    /opt/FJSVccm/noncluster/micc/sys/.install.sys

    /opt/FJSVccm/bin/.stxc_install.sys

    /opt/FJSVccm/noncluster/bin/.stxc_install.sys

    /opt/FJSVccm/sys/sys.properties

    /opt/FJSVccm/noncluster/sys/sys.properties

  5. Edit the .install.sys, stxc_install.sys, and sys.properties files.

    On the primary node, edit nodes from *1 to *4 of files below:

    • File name : /opt/FJSVccm/micc/sys/.install.sys

      stxs_optdir= (Do not modify these settings!)
      stxs_etcdir= (Do not modify these settings!)
      stxs_vardir=*1
      stxs_jredir= (Do not modify these settings!)
    • File name : /opt/FJSVccm/bin/.stxc_install.sys

      stxc_optdir= (Do not modify these settings!)
      stxc_etcdir=*2
      stxc_jredir= (Do not modify these settings!)
    • File name : /opt/FJSVccm/sys/sys.properties

      com.fujitsu.eternussf.acm.ccm.optpath= (Do not modify these settings!)
      com.fujitsu.eternussf.acm.ccm.etcpath=*3
      com.fujitsu.eternussf.acm.ccm.varpath=*4
      com.fujitsu.eternussf.acm.ccm.micc.path= (Do not modify these settings!)
      com.fujitsu.eternussf.acm.ccm.grapi.path= (Do not modify these settings!)
      com.fujitsu.eternussf.acm.ccm.language= (Do not modify these settings!)
    Table 5.7 Contents of setting values

    Setting item

    Setting value

    Sample setting

    *1

    $SHARE_MNT/var/opt/FJSVccm/micc

    /esfmnt/var/opt/FJSVccm/micc

    *2

    $SHARE_MNT/etc/opt/FJSVccm/accc/etc

    /esfmnt/etc/opt/FJSVccm/accc/etc

    *3

    $SHARE_MNT/etc/opt/FJSVccm/

    /esfmnt/etc/opt/FJSVccm/

    *4

    $SHARE_MNT/var/opt/FJSVccm/

    /esfmnt/var/opt/FJSVccm/

    The sample setting values use "/esfmnt" for $SHARE_MNT.

5.3.1.4 Customization for AdvancedCopy Manager's manager

Customize the primary node with reference to "5.2.1.4 Customization for AdvancedCopy Manager's manager".

5.3.1.5 Dismount the shared disk

Dismount the shared disk for shared data and the shared disk for repository for ETERNUS SF Manager in the primary node.