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

11.2.2 Customization Procedure

Follow the procedure below to set up a CCM Server transaction.

  1. Log in to the primary and secondary nodes. Perform the operation after logging in as a root user.

    Note

    • If AdvancedCopy Manager CCM is currently operating on any node in the clustered system, execute the following commands to stop all Advanced Copy processes that are being executed.

      • "acopc cancel" command

      • "acsnap cancel" command

      • "acec cancel" command

    • If a management service is being executed, execute the "acservice stop" command with the -lan option to stop the management service.

  2. Stop the CCM Server transactions.

    If you are setting up CCM Server transactions within already existing cluster transactions, stop the relevant cluster transactions.
    Refer to your cluster software manuals for the procedure for stopping cluster transactions.

  3. Mount the shared disk for shared data.

    Make settings to allow access from the primary node to the file system of the shared disk for shared data.

  4. Customize the primary node.

    Point

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

    1. In the AdvancedCopy Manager program directory on the primary node, store the generic script file that you created in "Chapter 10 Preparations for Customizing CCM Server Transactions".

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

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

    3. 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/FJSVccm

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

      Point

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

      • Set "755" to the directory permissions.

      Example

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

      # mkdir -p /esfmnt/etc/opt/FJSVccm
      # chmod -R 755 /esfmnt/etc/opt/FJSVccm
      # chown -R root:root /esfmnt/etc/opt/FJSVccm
      # mkdir -p /esfmnt/var/opt/FJSVccm
      # chmod -R 755 /esfmnt/var/opt/FJSVccm
      # chown -R root:root /esfmnt/var/opt/FJSVccm
    4. Copy AdvancedCopy Manager CCM environment setup files to the shared disk for shared data.

      On the primary node, copy files in the following copy source directory to the copy destination directory.

      Copy Source Directory

      Copy Destination Directory

      /etc/opt/FJSVccm

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

      /var/opt/FJSVccm

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

      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/FJSVccm/* /esfmnt/etc/opt/FJSVccm
      # cp -Rp /var/opt/FJSVccm/* /esfmnt/var/opt/FJSVccm
    5. 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
    6. 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
    7. 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/

  5. Customize the secondary node.

    1. In the AdvancedCopy Manager program directory on the secondary node, store the generic script file that you created in "Chapter 10 Preparations for Customizing CCM Server Transactions".

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

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

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

      On the secondary 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
    4. Back up AdvancedCopy Manager CCM environment setup files.

      On the secondary 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
    5. Edit AdvancedCopy Manager CCM environment setup files.

      On the secondary 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/

  6. On the primary node, register the resources in the CCM Server transactions.

    The resources required for CCM Server transactions are as follows:
    Refer to "Chapter 10 Preparations for Customizing CCM Server Transactions" for details.

    • Shared disk for shared data

    • Generic script for AdvancedCopy Manager CCM

    Refer to your cluster software manuals for the procedure for registering resources in CCM Server transactions.

    Note

    Set the dependencies of the shared disk for shared data in such a way that the generic script for AdvancedCopy Manager CCM is executed after the shared disk for shared data has been mounted.

  7. On the primary node, start the CCM Server transactions.

  8. Set the environment variable PATH.

    Add the "bin" directory of AdvancedCopy Manager CCM to the environment variable PATH.
    Refer to "Setting Environment Variable PATH" in "Setup of AdvancedCopy Manager CCM" in the Installation and Setup Guide for details.

  9. Set up the network environment.

    Refer to "Configuring Network Environment" in "Setup of AdvancedCopy Manager CCM" in the Installation and Setup Guide for details.

  10. Create a user account.

    Create a user account for using AdvancedCopy Manager CCM.
    Refer to "Creating User Account for Using AdvancedCopy Manager CCM" in the Installation and Setup Guide for details.

  11. Set up access volumes on all nodes that are constructing the clustered system.

    Refer to "Chapter 10 Preparations for Customizing CCM Server Transactions" and to "Access Volume Settings" in the AdvancedCopy Manager Operation Guide for Copy Control Module for details.

  12. Register the ETERNUS Disk storage system.

    Refer to "Registering ETERNUS Disk Storage System" in the AdvancedCopy Manager Operation Guide for Copy Control Module for details.

    Point

    • Use the same access volume for all nodes in the clustered system.

    • If you use an access volume, when you register the ETERNUS Disk storage system, execute the "acarray add" command with the -path option specified.

  13. Create a copy group.

    Refer to "Creating Copy Groups" in the AdvancedCopy Manager Operation Guide for Copy Control Module for details.

  14. Add a copy pair.

    Add a copy pair to the newly created copy group.
    Refer to "Adding Copy Pairs" in the AdvancedCopy Manager Operation Guide for Copy Control Module for details.

  15. Set up copy volume protection.

    In order to prevent destruction of the volume by any mistakes in operation, you can set the volume protection function on the transaction volume.
    Refer to "Setting Copy Volume Protection" in the AdvancedCopy Manager Operation Guide for Copy Control Module for details.

  16. Back up the environment setup files for the CCM Server transactions.

    To be prepared for unexpected situations, back up the environment setup files. Refer to "Backing Up Environment Settings Files" in the AdvancedCopy Manager Operation Guide for Copy Control Module for the files to be backed up.

The customization is completed.