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

11.1.2 Customization Procedure

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

  1. On the primary and secondary nodes, log in as a user with Administrator privileges.

    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 can be used for the path name of storeDirForCcmData described in the following steps are alphanumeric characters excluding space character. The specifiable length of the path name is 76 characters or less including the drive name.

    The storeDirForCcmData is a stored directory for the AdvancedCopy Manager CCM "Environment Directory" and "Working Directory" that exists in the shared disk for shared data.

    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.

      Execute the following command by specifying the stored generic script file in fileName.

      >cacls fileName /P "NT AUTHORITY\SYSTEM:F" "BUILTIN\Administrators:F"
    3. Create directories on the shared disk.

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

      • storeDirForCcmData\etc

      • storeDirForCcmData\var

    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.

      The envDir is "Environment Directory" specified at the AdvancedCopy Manager CCM installation, and the workDir is "Working Directory".

      Copy Source Directory

      Copy Destination Directory

      envDir\CCM\etc

      storeDirForCcmData\etc

      workDir\CCM\var

      storeDirForCcmData\var

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

      On the primary node, create the following directories:

      The programDir is "Program Directory" specified at the AdvancedCopy Manager CCM installation.

      • programDir\CCM\noncluster\bin

      • programDir\CCM\noncluster\micc\sys

      • programDir\CCM\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

      programDir\CCM\micc\sys\.install.sys

      programDir\CCM\noncluster\micc\sys\.install.sys

      programDir\CCM\bin\.stxc_install.sys

      programDir\CCM\noncluster\bin\.stxc_install.sys

      programDir\CCM\sys\sys.properties

      programDir\CCM\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:

      [programDir\CCM\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!)

      [programDir\CCM\bin\.stxc_install.sys file]

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

      [programDir\CCM\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!)

      Note

      • In *3 and *4, use "\:" as a drive separate character.

      • In *3 and *4, use "\\" as a path separate character of storeDirForCcmData.

      The setting values from *1 to *4 are as follows.
      The sample setting values use "G:\ccmdata" for storeDirForCcmData.

      Setting Item

      Setting Value

      Sample Setting

      *1

      storeDirForCcmData\var\micc

      G:\ccmdata\var\micc

      *2

      storeDirForCcmData\etc

      G:\ccmdata\etc

      *3

      storeDirForCcmData\\etc\\

      G\:\\ccmdata\\etc\\

      *4

      storeDirForCcmData\\var\\

      G\:\\ccmdata\\var\\

  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.

      Execute the following command by specifying the stored generic script file in fileName.

      >cacls fileName /P "NT AUTHORITY\SYSTEM:F" "BUILTIN\Administrators:F"
    3. Create backup directories for AdvancedCopy Manager CCM environment setup files.

      On the secondary node, create the following directories:

      The programDir is "Program Directory" specified at the AdvancedCopy Manager CCM installation.

      • programDir\CCM\noncluster\bin

      • programDir\CCM\noncluster\micc\sys

      • programDir\CCM\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

      programDir\CCM\micc\sys\.install.sys

      programDir\CCM\noncluster\micc\sys\.install.sys

      programDir\CCM\bin\.stxc_install.sys

      programDir\CCM\noncluster\bin\.stxc_install.sys

      programDir\CCM\sys\sys.properties

      programDir\CCM\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:

      [programDir\CCM\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!)

      [programDir\CCM\bin\.stxc_install.sys file]

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

      [programDir\CCM\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!)

      Note

      • In *3 and *4, use "\:" as a drive separate character.

      • In *3 and *4, use "\\" as a path separate character of storeDirForCcmData.

      The setting values from *1 to *4 are as follows.
      The sample setting values use "G:\ccmdata" for storeDirForCcmData.

      Setting Item

      Setting Value

      Sample Setting

      *1

      storeDirForCcmData\var\micc

      G:\ccmdata\var\micc

      *2

      storeDirForCcmData\etc

      G:\ccmdata\etc

      *3

      storeDirForCcmData\\etc\\

      G\:\\ccmdata\\etc\\

      *4

      storeDirForCcmData\\var\\

      G\:\\ccmdata\\var\\

  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.

    Follow below procedure to register the ETERNUS Disk storage system.

    If an ETERNUS Disk storage system is already registered, after deleting the existing registration by executing the "acarray remove" command, register it again according to the following procedure:

    1. Execute the "acutil devs" command and check the output results. From the Box ID (BOX-ID) and the logical volume number (LV No) of the ETERNUS Disk storage system, identify the access volume to be used and check the Device value.

      > acutil devs
      Device         BOX-ID                                   LV No Size
      -------------- ---------------------------------------- ----- -------
      PHYSICALDRIVE4 00E8000M9#####E890S20A####KO4070639003## 0x61  1048576
      PHYSICALDRIVE5 00E8000M9#####E890S20A####KO4070639003## 0x62  1048576
      PHYSICALDRIVE6 00E8000M9#####E890S20A####KO4070639003## 0x63  1048576
    2. Specify the Device value you checked in the a) above to deviceValue, and execute the "acarray add" command to register the ETERNUS Disk storage system.

      >acarray add -a diskArrayName -ip ipAddress -user userName -password password -path deviceValue

      Example

      If, for the access volume to be used, the BOX-ID is "00E8000M9#####E890S20A####KO4070639003##" and the LV No is "0x61", specify it as follows.

      > acarray add -a E8000 -ip 192.0.2.10 -user **** -password **** -path PHYSICALDRIVE4
      Successful completion.

      Note

      • 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.