Top
ETERNUS SFAdvancedCopy Manager 14.0 Operator's Guide forCluster Environment

6.1.2 Detailed customization operations

Use the following procedure to customize the Tape Server transaction:

  1. Restart the system.

    Restart both the primary node and the secondary node. If the system has already been restarted after installing AdvancedCopy Manager, proceed to step 2.

  2. Perform a preparatory check.

    Check each of the items in "3.3 Confirmation of items" for the userApplication being set up.

  3. Stop transactions.

    If a Storage Management Server transaction, Storage Server transaction, or Tape Server transaction is to be added to an existing userApplication, use the PRIMECLUSTER RMS main window to stop the userApplication.

  4. Mount the shared disk on the primary node.

    If the same server is used for both a Storage Management Server transaction and a Tape Server transaction, mount both the shared disk for AdvancedCopy Manager shared data and the shared disk for the AdvancedCopy Manager repository on the primary node.

    If the same server is used for both a Storage Management Server transaction and a Tape Server transaction, mount the shared disk for AdvancedCopy Manager shared data on the primary node.

  5. Register port numbers.

    For the communications daemon for transactions (prepared beforehand in the /etc/services file), register port numbers using the following service name.

    Register the port numbers in the /etc/services file using a text editor such as vi, which is provided by the operating system.

    • Communications daemon for transactions: stgxfws_logical node name

    Note

    Register the same port numbers on both the primary node and all secondary nodes.

  6. Execute the cluster setup command for the Storage Management Server transaction or the Storage Server transaction on the primary node.

    For details, refer to "Chapter 4 Customization of Storage Management Server Transactions and Storage Server Transactions" > "4.1.2 Customization Procedure", from steps "6.Execute the cluster setup command on the primary node" to "13.Finish the cluster setup command on the primary node".

    Note

    When the setup command completes, a message will display, suggesting that the cluster environment be set up on the secondary node. However, you should go on to execute the cluster setup command for the Tape Server transaction on the primary node.

  7. Execute the cluster setup command for the Tape Server transaction on the primary node.

    # /opt/swstorage/bin/tboclset_lxprm -n logical node name

    Note

    • The logical node name is the logical node name specified with the cluster setup command executed in step 6 for the Storage Management Server transaction or Storage Server transaction.

    • Before executing the cluster setup command, ensure that the tape server daemon has not been started. Use the following command to check:

      # ps -ef | grep tbod

      If the character string "/opt/FJSVswstm/bin/tbod" is displayed in the result, the tape server daemon has been started. Refer to "Daemon start and stop" under "Commands" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide - Tape Backup Linkage", and stop the tape daemon.

  8. Check the setup target.

    Information will be displayed about the logical node specified with the command. Check the information, and then press the Enter key.

    /opt/swstorage/bin/tboclset_lxprm -n nodeMGR
    AdvancedCopy Manager Tape Server settings are as follows.
            Cluster system : PRIMECLUSTER
            Node type      : Primary
            Mount point    : /STGMGRDISK
            Node name      : nodeMGR
            Service        : manager_service
            Function       : Tape Server
    Do you want to continue with setting of AdvancedCopy Manager Tape Server cluster? [default:y]

    Enter "n" to cancel the cluster setup, or type "y" or press the Enter key to continue with the cluster setup.

  9. The cluster setup command for the Tape Server transaction on the primary node will complete.

    The completion screen for the cluster setup command will be displayed.

    swstm2000 The Tape Server cluster setup of the primary node has been completed. Next, create the cluster environment of the secondary node.
    #
  10. Configure TSM cluster settings.

    Configure TSM cluster settings on the primary node. Refer to "Settings on the primary node" under "TSM Cluster Settings" for information on how to configure these settings.

  11. Customize the tape server.

    Configure the primary node (for details, refer to the "ETERNUS SF AdvancedCopy Manager Installation and Setup Guide", section "Customization of Tape Server" > "TSM Configuration" > "Configuration of a Client System Option File").

    Set the SHMPort item to the same value of the TSM cluster setup information file (/opt/tivoli/tsm/CLUS/tsmclsetup.ini).

  12. Dismount the shared disk on the primary node.

    If the cluster setup command for a Storage Management Server transaction has been executed, dismount both the shared disk for shared data and the shared disk for the repository on the primary node.

    If the cluster setup command for a Storage Server transaction has been executed, dismount the shared disk for shared data on the primary node.

  13. Mount the shared disk on the secondary node.

    If the cluster setup command for a Storage Management Server transaction has been executed on the primary node, mount both the shared disk for shared data and the shared disk for the repository on the secondary node.

    If the cluster setup command for a Storage Server transaction has been executed on the primary node, mount the shared disk for shared data on the secondary node.

  14. Execute the cluster setup command for the Storage Management Server transaction or the Storage Server transaction on the secondary node.

    For details, refer to "Chapter 4 Customization of Storage Management Server Transactions and Storage Server Transactions" > "4.1.2 Customization Procedure", from steps "16.Execute the cluster setup command on the secondary node A" to "19.Finish the cluster setup command on the secondary node".

  15. Execute the cluster setup command for the Tape Server transaction on the secondary node.

    # /opt/swstorage/bin/tboclset_lxprm -n logical node name
  16. Check the setup target.

    Information will be displayed about the logical node specified with the command. Check the information displayed, and then press the Enter key.

    /opt/swstorage/bin/tboclset_lxprm -n nodeMGR
    AdvancedCopy Manager Tape Server settings are as follows.
            Cluster system : PRIMECLUSTER
            Node type      : Secondary
            Mount point    : /STGMGRDISK
            Node name      : nodeMGR
            Service        : manager_service
            Function       : Tape Server
    Do you want to continue with setting of AdvancedCopy Manager Tape Server cluster? [default:y]

    Enter "n" to cancel the cluster setup, or type "y" or press the Enter key to continue with the cluster setup.

  17. The cluster setup command for the Tape Server transaction on the secondary node will complete.

    The completion screen for the cluster setup command will be displayed.

    swstm2001 The Tape Server cluster setup of the secondary node has been completed.
    #
  18. Configure TSM cluster settings.

    Configure TSM cluster settings on the secondary node. Refer to "Settings on the secondary node" under "TSM Cluster Settings" for information on how to configure these settings.

  19. Customize the Tape Server.

    Configure the secondary node node (for details, refer to the "ETERNUS SF AdvancedCopy Manager Installation and Setup Guide", section "Customization of Tape Server" > "TSM Configuration", sub-sections "Driver Configuration of Tape Library System", "Configuration of a Server System Option File" and "Configuration of a Client System Option File").

    Note

    There is no need to make "automatic settings for the daemon" with cluster systems.

  20. Dismount the shared disk on the secondary node.

    If the cluster setup command for a Storage Management Server transaction has been executed, dismount both the shared disk for shared data and the shared disk for the repository on the secondary node.

    If the cluster setup command for a Storage Server transaction has been executed, dismount the shared disk for shared data on the secondary node.

  21. Create resources

    Use the PRIMECLUSTER "userApplication Configuration Wizard" to create the following resources:

    • GDS resource

      If the cluster setup command for a Storage Management Server transaction has been executed, specify the classes for both the shared disk for shared data and the shared disk for the repository.

      If the cluster setup command for a Storage Server transaction has been executed, specify the class for the shared disk for the shared data.

    • Fsystem resource

      For Storage management server transactions, register the mount point of the shared disk for shared data and the mount point of the shared disk with the directory for the repository.

      If the cluster setup command for a Storage Server transaction has been executed, specify the mount point for the shared disk for shared data.

    • Ipaddress resource

      This resource is not required if an existing Ipaddress resource is used.

    • Procedure resource

      Specify "SMGRPROC_logical node name".

    • Cmdline resource

      Create the following Cmdline resource.

      Cmdline resources

      Start script

      Optional (specify something like "Cmdline_tbo")

      Script creation method

      Path input

      Path name

      Start script

      /opt/FJSVswstm/bin/start_tbo start

      Stop script

      /opt/FJSVswstm/bin/start_tbo stop

      Check script

      /opt/FJSVswstm/bin/start_tbo check

      Script attributes

      NULLDETECTOR

      No (Default)

      ALLEXITCODES

      No (Default)

      LIEOFFLINE

      No (Default)

      CLUSTEREXCLUSIVE

      Yes (Default)

      AUTORECOVER

      No

      MONITORONLY

      No (Default)

      STANDBYCAPABLE

      No (Default)

      TIMEOUT

      300 (Default)

      Resource attributes

      SubApplications

      Blank (Default)

      InParallel

      No (Default)

      NeedAll

      No (Default)

    Additionally, create the resources required for TSM by referring to "Registering resources" in "TSM Cluster Settings".

    Note

    Refer to "A.1.5 Creating a Cmdline resource" and "Appendix A Creating Resources and userApplications with Solaris-version PRIMECLUSTER" for information on how to create PRIMECLUSTER resources.

    The pre-settings that are made with the PRIMECLUSTER procedure resource settings (ie, creating a state transition procedure and registering resources with the resource database) have already been made by the stgclset_safe command (Solaris edition SafeCLUSTER/PRIMECLUSTER environment setup command).

  22. Create and register transactions.

    Use the PRIMECLUSTER "userApplication Configuration Wizard" to create and register userApplications for AdvancedCopy Manager.

    • Operation mode: Standby

      Register the following resources that make up the userApplication:

    • The resources created in step 20

    Note

    Some information must be registered as switchover file system information. This includes the mount point and slice on the shared disk for shared data, and the mount point and slice for the shared disk where the repository directory is located.

    Refer to "Appendix A Creating Resources and userApplications with Solaris-version PRIMECLUSTER" for information on how to create userApplications with PRIMECLUSTER.

  23. Start the transactions and AdvancedCopy Manager.

    Use the PRIMECLUSTER RMS main window to start the userApplication that has just been created and any userApplications that were stopped in step 3.

  24. Set the TSM settings.

    For details, refer to the "ETERNUS SF AdvancedCopy Manager Installation and Setup Guide", section "Customization of Tape Server" > TSM Configuration".

  25. Back up the environment.

    Back up the following environments in case of any unexpected incidents:

    • Databases

      If the same server is used for both a Storage Management Server transaction and a Tape Server transaction, back up the database space that has been created, by referring to "How to Backup Databases" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide (Solaris)".

    • Data on the shared disk for shared data

      Back up the following directories on the shared disk for shared data by using a command such as the operating system's cp command:

      • Mount point for shared disk for AdvancedCopy Manager shared data/etc

      • Mount point for shared disk for AdvancedCopy Manager shared data/var

      • Mount point for shared disk for AdvancedCopy Manager shared data/TBO

  26. Create environments for the Storage Management Server transaction, the Storage Server transaction, and the Tape Server transaction.

    Create environments for the Storage Management Server transaction, the Storage Server transaction, and the Tape Server transaction by referring to the "ETERNUS SF AdvancedCopy Manager Operator's Guide (Solaris)".