Top
ETERNUS SF Storage Cruiser V16.9.1 / AdvancedCopy Manager V16.9.1 Cluster Environment Setup Guide
FUJITSU Storage

5.2.1 Customization for Primary Node

This section explains the customization procedure for a primary node.

5.2.1.1 Stopping Cluster Applications

If you add the ETERNUS SF Manager in the existing cluster application (transaction), stop the cluster application (transaction).
Refer to your cluster software manuals for stopping a cluster application (transaction).

Information

This step is not required when you add the ETERNUS SF Manager in a cluster application (transaction) that is newly created.

5.2.1.2 Startup Settings for ETERNUS SF Manager

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

5.2.1.3 File Setup for Shared Disk

Point

The characters that are used for the path name of <Mountpoint-of-shared-disk-for-shared-data> described in the following procedure are alphanumeric characters excluding space character. The specifiable length of the path name is 70 characters or less.

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

    Follow the procedure below to copy files.
    If you recreate a cluster environment and the old environment files remain on the shared disk, after deleting them, perform the procedure below.

    1. On the primary node, mount the shared disk for shared data for ETERNUS SF Manager.

    2. Create directories on the shared disk.

      On the primary node, create the following directories on the shared disk.

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

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

      Example

      The example of creating directories when <Mountpoint-of-shared-disk-for-shared-data> is "/esfmnt" is as follows.

      # mkdir -p /esfmnt/etc/opt
      # mkdir -p /esfmnt/var/opt
    3. Copy files from the local disks on the primary node to the directory on the shared disk.

      Copy files in the copy source directory to the copy destination directory.

      Copy Source Directory

      Copy Destination Directory

      /etc/opt/FJSVesfcm

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

      /etc/opt/FJSVccm

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

      /var/opt/FJSVesfcm

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

      /var/opt/FJSVccm

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

      /var/opt/FJSVesflm

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

      Point

      Specify the owner, the access privilege of the copy destination files and directories the same as the copy source.

      Example

      The example of copying files when <Mountpoint-of-shared-disk-for-shared-data> is "/esfmnt" is as follows.

      # cp -Rp /etc/opt/FJSVesfcm /esfmnt/etc/opt/FJSVesfcm
      # cp -Rp /etc/opt/FJSVccm /esfmnt/etc/opt/FJSVccm
      # cp -Rp /var/opt/FJSVesfcm /esfmnt/var/opt/FJSVesfcm
      # cp -Rp /var/opt/FJSVccm /esfmnt/var/opt/FJSVccm
      # cp -Rp /var/opt/FJSVesflm /esfmnt/var/opt/FJSVesflm
    4. Rename the following copied directories:

      • /etc/opt/FJSVesfcm

      • /var/opt/FJSVesfcm

      • /var/opt/FJSVesflm

      Example

      The following is an example of the case of changing a directory name by putting "_bak" at the end of a file name.

      # mv /etc/opt/FJSVesfcm /etc/opt/FJSVesfcm_bak
      # mv /var/opt/FJSVesfcm /var/opt/FJSVesfcm_bak
      # mv /var/opt/FJSVesflm /var/opt/FJSVesflm_bak
  2. Edit the environment setup file.

    1. Create directories on the shared disk.

      Create each directory in below structure.

      <Mountpoint-of-shared-disk-for-shared-data>
      +---/etc
      |   ---/opt
      |       ---/swstorage
      +---/var
          ---/opt
              ---/swstorage

      Example

      The example of creating directories when <Mountpoint-of-shared-disk-for-shared-data> is "/esfmnt" is as follows.

      # mkdir -p /esfmnt/etc/opt/swstorage
      # chmod -R 755 /esfmnt/etc/opt/swstorage
      # chown -R root:root /esfmnt/etc/opt/swstorage
      # mkdir -p /esfmnt/var/opt/swstorage
      # chmod -R 755 /esfmnt/var/opt/swstorage
      # chown -R root:root /esfmnt/var/opt/swstorage
    2. Create the <Mountpoint-of-shared-disk-for-shared-data>/etc/opt/swstorage/clsetup.ini file.

      Table 5.2 Setting Items of "clsetup.ini" File

      Item Name

      Explanation

      Swstgnode

      Logical node name.
      Specify the logical node name that was prepared in "4.1 Confirmation of Customization Items".

      Business

      Name of cluster transaction.

      ShareEtc

      Name of the environment setting directory for cluster transactions.
      <Mountpoint-of-shared-disk-for-shared-data>/etc/opt

      ShareVar

      Name of working directory for cluster transactions.
      <Mountpoint-of-shared-disk-for-shared-data>/var/opt

      MountPoint

      Mount point of shared disk for shared data.

      IPVersion

      IP version of the takeover IP address.
      Specify the following value according to the IP version of the takeover IP address to be used:

      • If using IPv4 address only: IPv4

      • If using IPv6 address only: IPv6

      • If using both IPv4 and IPv6 addresses: Dual

      IPAddr

      Takeover IP address.
      Specify the IPv4 address if using IPv4 address only or if using both IPv4 and IPv6 addresses.

      IPv6Addr

      Takeover IP address.
      Specify the IPv6 address if using IPv6 address only or if using both IPv4 and IPv6 addresses. The specified IPv6 address should one that is usable with the cluster software.

      NodeName

      Name of primary node (Host name of primary node).

      BusiType

      AdvancedCopy Manager server type.
      Specify "1".

      Type

      Version

      Version of AdvancedCopy Manager.
      Specify the same value as for the [Common]-"Version" character string in the "/etc/opt/swstorage/swstg.ini" file.

      Language

      Language used for AdvancedCopy Manager.
      Specify one of the following text strings according to the language to be used for AdvancedCopy Manager:

      • For Japanese: JAPANESE

      • For English: ENGLISH

      Modify the portions in italics according to your system environment.

      [Cluster]
      System=GEN
      Swstgnode=<Logical node name>
      Business=<Name of cluster transaction>
      ShareEtc=<Mountpoint-of-shared-disk-for-shared-data>/etc/opt
      ShareVar=<Mountpoint-of-shared-disk-for-shared-data>/var/opt
      MountPoint=<Mountpoint-of-shared-disk-for-shared-data>
      IPVersion=<IP version of IP address>
      IPAddr=<Takeover IPv4 address>
      IPv6Addr=<Takeover IPv6 address>
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=<Name of primary node (Host name of primary node)>
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      BusiType=<AdvancedCopy Manager server type>
      ResourceType=Procedure
      [StorageMGR]
      Version=<Version of AdvancedCopy Manager>
      Edition=EE
      Type=<AdvancedCopy Manager server type>
      AFSType=1
      Language=<Language used for AdvancedCopy Manager>
      [Secondary]
      Setup=YES
      Date=00/00/00 00:00:00
      [Primary]
      Date=00/00/00 00:00:00
      Setup=YES

      Example

      The example for editing the "clsetup.ini" file is as follows. The italicized portions are the changes to the original file.

      [For using IPv4 only]

      [Cluster]
      System=GEN
      Swstgnode=acmnode1
      Business=acmbiz01
      ShareEtc=/esfmnt/etc/opt
      ShareVar=/esfmnt/var/opt
      MountPoint=/esfmnt
      IPVersion=IPv4
      IPAddr=192.0.2.10
      IPv6Addr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      BusiType=1
      ResourceType=Procedure
      [StorageMGR]
      Version=V16.9.1
      Edition=EE
      Type=1
      AFSType=1
      Language=ENGLISH
      [Secondary]
      Setup=YES
      Date=00/00/00 00:00:00
      [Primary]
      Date=00/00/00 00:00:00
      Setup=YES

      [For using IPv6 only]

      [Cluster]
      System=GEN
      Swstgnode=acmnode1
      Business=acmbiz01
      ShareEtc=/esfmnt/etc/opt
      ShareVar=/esfmnt/var/opt
      MountPoint=/esfmnt
      IPVersion=IPv6
      IPAddr=
      IPv6Addr=2001:db8::1234:0:0:1
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      BusiType=1
      ResourceType=Procedure
      [StorageMGR]
      Version=V16.9.1
      Edition=EE
      Type=1
      AFSType=1
      Language=ENGLISH
      [Secondary]
      Setup=YES
      Date=00/00/00 00:00:00
      [Primary]
      Date=00/00/00 00:00:00
      Setup=YES

      [For using both IPv4 and IPv6]

      [Cluster]
      System=GEN
      Swstgnode=acmnode1
      Business=acmbiz01
      ShareEtc=/esfmnt/etc/opt
      ShareVar=/esfmnt/var/opt
      MountPoint=/esfmnt
      IPVersion=Dual
      IPAddr=192.0.2.10
      IPv6Addr=2001:db8::1234:0:0:1
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      BusiType=1
      ResourceType=Procedure
      [StorageMGR]
      Version=V16.9.1
      Edition=EE
      Type=1
      AFSType=1
      Language=ENGLISH
      [Secondary]
      Setup=YES
      Date=00/00/00 00:00:00
      [Primary]
      Date=00/00/00 00:00:00
      Setup=YES
    3. Copy the "/etc/opt/swstorage/swstg.ini" file.

      Copy the "swstg.ini" file to the following copy destination.

      Copy Source File

      Copy Destination File

      /etc/opt/swstorage/swstg.ini

      <Mountpoint-of-shared-disk-for-shared-data>/etc/opt/swstorage/swstg.ini

      Example

      The copy execution example is as follows.

      # cp -p /etc/opt/swstorage/swstg.ini /esfmnt/etc/opt/swstorage/swstg.ini
    4. Edit the <Mountpoint-of-shared-disk-for-shared-data>/etc/opt/swstorage/swstg.ini file.

      Table 5.3 Setting Items of "swstg.ini" File

      Item Name

      Explanation

      Type

      AdvancedCopy Manager server type.
      Specify "1".

      Note

      After starting operation, the program in this product may add/modify/delete parameters other than those of "Table 5.3 Setting Items of "swstg.ini" File" for the "swstg.ini" file. For this reason, do not add/modify/delete parameters other than those of "Table 5.3 Setting Items of "swstg.ini" File".

      Modify the portions in italics according to your system environment.

      [Common]
      Edition=EE
      Version=V16.9.1
      Type=<AdvancedCopy Manager server type>
      AFSType=1
      Language=ENGLISH
      BaseDir_Opt=/opt
      BaseDir_Var=/var/opt
      BaseDir_Etc=/etc/opt
      [Install]
      FJSVswstf=20101116
      FJSVswtrc=20101116
      FJSVgrapi=20101116
      FJSVswsts=20101116
      FJSVswsrp=20101116

      Example

      The example for editing the "swstg.ini" file is as follows. The italicized portions are the changes to the original file.

      [Common]
      Edition=EE
      Version=V16.9.1
      Type=1
      AFSType=1
      Language=ENGLISH
      BaseDir_Opt=/opt
      BaseDir_Var=/var/opt
      BaseDir_Etc=/etc/opt
      [Install]
      FJSVswstf=20101116
      FJSVswtrc=20101116
      FJSVgrapi=20101116
      FJSVswsts=20101116
      FJSVswsrp=20101116
    5. Create symbolic links to the directories in the shared disk for shared data.

      Specify in logicalNodeName the logical node name that was prepared in "4.1 Confirmation of Customization Items".

      Link Source Directory

      Link Target Directory
      (Symbolic Link File)

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

      /etc/opt/FJSVesfcm

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

      /etc/opt/swstorage/logicalNodeName

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

      /var/opt/FJSVesfcm

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

      /var/opt/FJSVesflm

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

      /var/opt/swstorage/logicalNodeName

      Example

      The example of creating symbolic links is as follows.

      # ln -s /esfmnt/etc/opt/FJSVesfcm /etc/opt/FJSVesfcm
      # ln -s /esfmnt/etc/opt/swstorage /etc/opt/swstorage/acmnode1
      # ln -s /esfmnt/var/opt/FJSVesfcm /var/opt/FJSVesfcm
      # ln -s /esfmnt/var/opt/FJSVesflm /var/opt/FJSVesflm
      # ln -s /esfmnt/var/opt/swstorage /var/opt/swstorage/acmnode1

5.2.1.4 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 Confirmation of Customization Items".

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

    Specify the authority that the root (super user) can access.

5.2.1.5 File Setup for Local Disk

  1. Create backup directories for AdvancedCopy Manager CCM environment setup files.

    On the primary node, create the following directories:

    • /opt/FJSVccm/noncluster/bin

    • /opt/FJSVccm/noncluster/micc/sys

    • /opt/FJSVccm/noncluster/sys

    Point

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

    • Set "755" to the directory permissions.

    Example

    The example of creating directories is as follows.

    # mkdir -p /opt/FJSVccm/noncluster/bin
    # chmod -R 755 /opt/FJSVccm/noncluster/bin
    # chown -R root:root /opt/FJSVccm/noncluster/bin
    # mkdir -p /opt/FJSVccm/noncluster/micc/sys
    # chmod -R 755 /opt/FJSVccm/noncluster/micc/sys
    # chown -R root:root /opt/FJSVccm/noncluster/micc/sys
    # mkdir -p /opt/FJSVccm/noncluster/sys
    # chmod -R 755 /opt/FJSVccm/noncluster/sys
    # chown -R root:root /opt/FJSVccm/noncluster/sys
  2. Back up AdvancedCopy Manager CCM environment setup files.

    On the primary node, copy the following files to the copy destination.

    Copy Source File

    Copy Destination File

    /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

    Example

    The copy execution example is as follows.

    # cp -p /opt/FJSVccm/micc/sys/.install.sys /opt/FJSVccm/noncluster/micc/sys/.install.sys
    # cp -p /opt/FJSVccm/bin/.stxc_install.sys /opt/FJSVccm/noncluster/bin/.stxc_install.sys
    # cp -p /opt/FJSVccm/sys/sys.properties /opt/FJSVccm/noncluster/sys/sys.properties
  3. Edit AdvancedCopy Manager CCM environment setup files.

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

    ["/opt/FJSVccm/micc/sys/.install.sys" file]

    stxs_optdir= (Do not modify these settings!)
    stxs_etcdir= (Do not modify these settings!)
    stxs_vardir=*1
    stxs_jredir= (Do not modify these settings!)

    ["/opt/FJSVccm/bin/.stxc_install.sys" file]

    stxc_optdir= (Do not modify these settings!)
    stxc_etcdir=*2
    stxc_jredir= (Do not modify these settings!)

    ["/opt/FJSVccm/sys/sys.properties" file]

    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!)

    The setting values from *1 to *4 are as follows.
    The sample setting values use "/esfmnt" for <Mountpoint-of-shared-disk-for-shared-data>.

    Setting
    Item

    Setting Value

    Sample Setting

    *1

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

    /esfmnt/var/opt/FJSVccm/micc

    *2

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

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

    *3

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

    /esfmnt/etc/opt/FJSVccm/

    *4

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

    /esfmnt/var/opt/FJSVccm/

  4. Register a port number.

    Use the "vi" command etc. of OS, and describe the port number and the following service name of the transaction communication daemon in the "/etc/services" file.

    • Transaction communication daemon: stgxfws_logicalNodeName

    Note

    Describe the same port number on the primary node and all secondary nodes.
    Specify in logicalNodeName the logical node name that was prepared in "4.1 Confirmation of Customization Items".

  5. Edit the "/opt/FJSVswstf/cluster/swcluster.ini" file.

    Table 5.4 Setting Items of "swcluster.ini" File

    Item Name

    Explanation

    Env_N

    Logical node name.
    Specify the logical node name that was prepared in "4.1 Confirmation of Customization Items".
    For N, specify a non-duplicate value from 1 to 20.

    BusiType

    AdvancedCopy Manager server type.
    Specify "1".

    Business

    Name of cluster transaction.

    ShareEtc

    Name of the environment setting directory for cluster transactions.
    <Mountpoint-of-shared-disk-for-shared-data>/etc/opt

    ShareVar

    Name of working directory for cluster transactions.
    <Mountpoint-of-shared-disk-for-shared-data>/var/opt

    MountPoint

    Mount point of shared disk for shared data.

    IPVersion

    IP version of the takeover IP address.
    Specify the following value according to the IP version of the takeover IP address to be used:

    • If using IPv4 address only: IPv4

    • If using IPv6 address only: IPv6

    • If using both IPv4 and IPv6 addresses: Dual

    IPAddr

    Takeover IP address.
    Specify the IPv4 address if using IPv4 address only or if using both IPv4 and IPv6 addresses.

    IPv6Addr

    Takeover IP address.
    Specify the IPv6 address if using IPv6 address only or if using both IPv4 and IPv6 addresses. The specified IPv6 address should one that is usable with the cluster software.

    NodeName

    Name of primary node (Host name of primary node).

    Modify or add the portions in italics according to your system environment.

    [ClusterCommon]
    Cluster=ON
    Max=20
    StartTimeOut=300
    StopTimeOut=300
    System=GEN
    Env_N=<Logical node name>
    [<Logical node name>]
    Type=Primary
    BusiType=<AdvancedCopy Manager server type>
    Business=<Name of cluster transaction>
    ShareEtc=<Mountpoint-of-shared-disk-for-shared-data>/etc/opt
    ShareVar=<Mountpoint-of-shared-disk-for-shared-data>/var/opt
    MountPoint=<Mountpoint-of-shared-disk-for-shared-data>
    IPVersion=<IP version of IP address>
    IPAddr=<Takeover IPv4 address>
    IPv6Addr=<Takeover IPv6 address>
    IPUseType=0
    IPRscName=
    Hostname=
    NodeName=<Name of primary node (Host name of primary node)>
    ClusterName=
    DiskName=
    GroupName=
    SubNetMask=
    MSCSNetName=
    Date=00/00/00 00:00:00
    Setup=YES
    ResourceType=Procedure

    Example

    When creating the first cluster transactions on the same server, the example for editing the "swcluster.ini" file is as follows.

    [Before editing]

    [ClusterCommon]
    Cluster=OFF
    Max=20
    StartTimeOut=300
    StopTimeOut=300

    [After editing: for using IPv4 only]

    The italicized portions are the changes and additions to the original file.

    [ClusterCommon]
    Cluster=ON
    Max=20
    StartTimeOut=300
    StopTimeOut=300
    System=GEN
    Env_1=acmnode1
    [acmnode1]
    Type=Primary
    BusiType=1
    Business=acmbiz01
    ShareEtc=/esfmnt/etc/opt
    ShareVar=/esfmnt/var/opt
    MountPoint=/esfmnt
    IPVersion=IPv4
    IPAddr=192.0.2.10
    IPv6Addr=
    IPUseType=0
    IPRscName=
    Hostname=
    NodeName=m40001
    ClusterName=
    DiskName=
    GroupName=
    SubNetMask=

    MSCSNetName=
    Date=00/00/00 00:00:00
    Setup=YES
    ResourceType=Procedure

    [After editing: for using IPv6 only]

    The italicized portions are the changes and additions to the original file.

    [ClusterCommon]
    Cluster=ON
    Max=20
    StartTimeOut=300
    StopTimeOut=300
    System=GEN
    Env_1=acmnode1
    [acmnode1]
    Type=Primary
    BusiType=1
    Business=acmbiz01
    ShareEtc=/esfmnt/etc/opt
    ShareVar=/esfmnt/var/opt
    MountPoint=/esfmnt
    IPVersion=IPv6
    IPAddr=
    IPv6Addr=2001:db8::1234:0:0:1
    IPUseType=0
    IPRscName=
    Hostname=
    NodeName=m40001
    ClusterName=
    DiskName=
    GroupName=
    SubNetMask=

    MSCSNetName=
    Date=00/00/00 00:00:00
    Setup=YES
    ResourceType=Procedure

    [After editing: for using both IPv4 and IPv6]

    The italicized portions are the changes and additions to the original file.

    [ClusterCommon]
    Cluster=ON
    Max=20
    StartTimeOut=300
    StopTimeOut=300
    System=GEN
    Env_1=acmnode1
    [acmnode1]
    Type=Primary
    BusiType=1
    Business=acmbiz01
    ShareEtc=/esfmnt/etc/opt
    ShareVar=/esfmnt/var/opt
    MountPoint=/esfmnt
    IPVersion=Dual
    IPAddr=192.0.2.10
    IPv6Addr=2001:db8::1234:0:0:1
    IPUseType=0
    IPRscName=
    Hostname=
    NodeName=m40001
    ClusterName=
    DiskName=
    GroupName=
    SubNetMask=

    MSCSNetName=
    Date=00/00/00 00:00:00
    Setup=YES
    ResourceType=Procedure

    Example

    When using IPv4 only and when cluster transactions have already been created on the same server, the example for editing the "swcluster.ini" file is as follows.

    [Before editing]

    [ClusterCommon]
    Cluster=ON
    Max=20
    StartTimeOut=300
    StopTimeOut=300
    System=GEN
    Env_2=acmnode2
    [acmnode2]
    Type=Primary
    BusiType=2
    Business=acmbiz02
    ShareEtc=/esfmnt02/etc/opt
    ShareVar=/esfmnt02/var/opt
    MountPoint=/esfmnt02
    IPAddr=
    IPUseType=0
    IPRscName=
    Hostname=
    NodeName=m40001
    ClusterName=
    DiskName=
    GroupName=
    SubNetMask=
    MSCSNetName=
    Date=00/00/00 00:00:00
    Setup=YES
    ResourceType=Procedure

    [After editing]

    The italicized portions are the additions to the original file.

    [ClusterCommon]
    Cluster=ON
    Max=20
    StartTimeOut=300
    StopTimeOut=300
    System=GEN
    Env_2=acmnode2
    Env_1=acmnode1
    [acmnode2]
    Type=Primary
    BusiType=2
    Business=acmbiz02
    ShareEtc=/esfmnt02/etc/opt
    ShareVar=/esfmnt02/var/opt
    MountPoint=/esfmnt02
    IPAddr=
    IPUseType=0
    IPRscName=
    Hostname=
    NodeName=m40001
    ClusterName=
    DiskName=
    GroupName=
    SubNetMask=
    MSCSNetName=
    Date=00/00/00 00:00:00
    Setup=YES
    ResourceType=Procedure
    [acmnode1]
    Type=Primary
    BusiType=1
    Business=acmbiz01
    ShareEtc=/esfmnt/etc/opt
    ShareVar=/esfmnt/var/opt
    MountPoint=/esfmnt
    IPVersion=IPv4
    IPAddr=192.0.2.10
    IPv6Addr= IPUseType=0
    IPRscName=
    Hostname=
    NodeName=m40001
    ClusterName=
    DiskName=
    GroupName=
    SubNetMask=
    MSCSNetName=
    Date=00/00/00 00:00:00
    Setup=YES
    ResourceType=Procedure
  6. Edit the "/etc/opt/swstorage/swstg.ini" file.

    Table 5.5 Setting Items of "swstg.ini" File

    Item Name

    Explanation

    Type

    AdvancedCopy Manager local transaction server type.
    Specify "2".

    Note

    After starting operation, the program in this product may add/modify/delete parameters other than those of "Table 5.5 Setting Items of "swstg.ini" File" for the "swstg.ini" file. For this reason, do not add/modify/delete parameters other than those of "Table 5.5 Setting Items of "swstg.ini" File".

    Modify the portions in italics according to your system environment.

    [Common]
    Edition=EE
    Version=V16.9.1
    Type=<AdvancedCopy Manager local transaction server type>
    AFSType=1
    Language=ENGLISH
    BaseDir_Opt=/opt
    BaseDir_Var=/var/opt
    BaseDir_Etc=/etc/opt
    [Install]
    FJSVswstf=20101116
    FJSVswtrc=20101116
    FJSVgrapi=20101116
    FJSVswsts=20101116
    FJSVswsrp=20101116

    Example

    The example for editing the "swstg.ini" file is as follows. The italicized portions are the changes to the original file.

    [Common]
    Edition=EE
    Version=V16.9.1
    Type=2
    AFSType=1
    Language=ENGLISH
    BaseDir_Opt=/opt
    BaseDir_Var=/var/opt
    BaseDir_Etc=/etc/opt
    [Install]
    FJSVswstf=20101116
    FJSVswtrc=20101116
    FJSVgrapi=20101116
    FJSVswsts=20101116
    FJSVswsrp=20101116

5.2.1.6 Execution of Cluster Setup Command

Follow the procedure below to set up a primary node.

  1. Stop the daemons.

    Execute the following shell script.

    # /opt/FJSVesfcm/bin/stopesf.sh

    The following daemons are stopped:

    • ETERNUS SF Manager Apache Service

    • ETERNUS SF Manager Tomcat Service

    • ETERNUS SF Manager Postgres daemon

    • ETERNUS SF AdvancedCopy Manager daemon

    • SNMP Trap daemon

    • ETERNUS SF Storage Cruiser Optimization Option daemon

  2. On the primary node, execute the cluster setup command of the Storage Cruiser's manager.

    On the primary node, execute the following command after blocking other users from accessing the shared disk for shared data. When an IPv6 address is used as the takeover IP address for Management Server transaction, specify "127.0.0.1" in takeoverIPAddressForManagementServerTransaction(IPv4Format).

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

    Information specified by the command is displayed.

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

    After confirming the displayed information, input "y". The primary node is set up.
    To interrupt the cluster environmental setting processing, input "n".

  4. Confirm that the displayed message is as follows.

    FJSVrcx:INFO:27700:esc_clsetup:primary node setup completed
  5. On the primary node, execute the cluster setup command of the AdvancedCopy Manager's manager.

    Execute the following commands in the given sequence.
    If the value of the environment variable PATH is more than 800 characters, after changing it to 800 characters or less, execute the "StgDbSetup" command.

    Sequence of Execution

    Command Name

    1

    "clset_FJSVswstf" command

    2

    "clset_FJSVswsts" command

    3

    "clset_FJSVswsrp" command

    4

    "StgDbSetup" command

    Example

    The command execution example is as follows.

    # /opt/FJSVswstf/bin/clset_FJSVswstf -f /esfmnt/etc/opt/swstorage/clsetup.ini -t Primary
    clset_FJSVswstf completed
    # /opt/FJSVswsts/bin/clset_FJSVswsts -f /esfmnt/etc/opt/swstorage/clsetup.ini -t Primary
    clset_FJSVswsts completed
    # /opt/FJSVswsrp/bin/clset_FJSVswsrp -f /esfmnt/etc/opt/swstorage/clsetup.ini -t Primary
    clset_FJSVswsrp completed
    # /opt/FJSVswstf/bin/StgDbSetup -f /esfmnt/etc/opt/swstorage/clsetup.ini -t Primary
  6. Only when you set the IPv6 address to the takeover IP address of the Management Server transaction, edit the detailed setting file (<Mountpoint-of-shared-disk-for-shared-data>/FJSVssmgr/etc/opt/FJSVssmgr/2.0/sanma.conf) of the storage management.

    Use the text editor to add the line of "LOGICAL_MANAGER_V6IP" in the detailed setting file.

    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 of the 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 Storage Cruiser Operation Guide for information on the detailed setting file.

5.2.1.7 Unmount of Shared Disk

On the primary node, unmount the shared disk for shared data that is used by the ETERNUS SF Manager.

5.2.1.8 Settings Required to Register Storage Devices (When Using the ETERNUS DX S2 series Only)

To manage the ETERNUS DX S2 series, follow the procedure below on the primary node.

  1. Back up the settings file.
    Copy the following file to the backup destination directory.

    • For Solaris environments

      File to be Backed up

      Backup Destination Directory

      /opt/FJSVesfcm/JRE/lib/security/java.security

      /opt/FJSVesfcm/tomcat/webapps/esf/WEB-INF/config

      /opt/FJSVccm/jre/lib/security/java.security

      /opt/FJSVccm/tools

      The command execution example is as follows.

      # cp -p /opt/FJSVesfcm/JRE/lib/security/java.security /opt/FJSVesfcm/tomcat/webapps/esf/WEB-INF/config/
      # cp -p /opt/FJSVccm/jre/lib/security/java.security /opt/FJSVccm/tools/
    • For Linux environments

      File to be Backed up

      Backup Destination Directory

      /opt/FJSVesfcm/JRE/conf/security/java.security

      /opt/FJSVesfcm/tomcat/webapps/esf/WEB-INF/config

      /opt/FJSVccm/jre/conf/security/java.security

      /opt/FJSVccm/tools

      The command execution example is as follows.

      # cp -p /opt/FJSVesfcm/JRE/conf/security/java.security /opt/FJSVesfcm/tomcat/webapps/esf/WEB-INF/config/
      # cp -p /opt/FJSVccm/jre/conf/security/java.security /opt/FJSVccm/tools/
  2. Copy the following file over the copy destination file.

    • For Solaris environments

      Copy Source File

      Copy Destination File

      /opt/FJSVesfcm/tomcat/webapps/esf/WEB-INF/config/java.security.forS2.solaris

      /opt/FJSVesfcm/JRE/lib/security/java.security

      /opt/FJSVccm/tools/java.security.forS2.solaris

      /opt/FJSVccm/jre/lib/security/java.security

      The command execution example is as follows.

      # cp -p /opt/FJSVesfcm/tomcat/webapps/esf/WEB-INF/config/java.security.forS2.solaris /opt/FJSVesfcm/JRE/lib/security/java.security
      # cp -p /opt/FJSVccm/tools/java.security.forS2.solaris /opt/FJSVccm/jre/lib/security/java.security
    • For Linux environments

      Copy Source File

      Copy Destination File

      /opt/FJSVesfcm/tomcat/webapps/esf/WEB-INF/config/java.security.forS2.linux

      /opt/FJSVesfcm/JRE/conf/security/java.security

      /opt/FJSVccm/tools/java.security.forS2.linux

      /opt/FJSVccm/jre/conf/security/java.security

      The command execution example is as follows.

      # cp -p /opt/FJSVesfcm/tomcat/webapps/esf/WEB-INF/config/java.security.forS2.linux /opt/FJSVesfcm/JRE/conf/security/java.security
      # cp -p /opt/FJSVccm/tools/java.security.forS2.linux /opt/FJSVccm/jre/conf/security/java.security

Point

To delete the registration of the ETERNUS DX S2 series from the product after the settings in this section are performed and operations are started, the settings content must be restored. For the procedure to restore the settings content, refer to "Work Required After Device Deletion of the ETERNUS DX S2 series" in the Installation and Setup Guide.