This chapter explains the preparations that are required to customize CCM Server transactions when you have installed AdvancedCopy Manager CCM as a standalone.
If you have installed ETERNUS SF Manager, refer to "Chapter 4 Preparations for Customizing Management Server Transactions".
For installing AdvancedCopy Manager CCM, the following resources are required:
Each item is explained below.
Shared disk for shared data
Volume for storing shared data of AdvancedCopy Manager CCM.
With regard to such factors as reliability and update performance, it is recommended that you use a new volume created only for AdvancedCopy Manager CCM.
Refer to "Required Disk Space for Operation" in "Operating Environment for AdvancedCopy Manager CCM" in the Installation and Setup Guide for information on the free space required for this volume.
Note
When you specify a shared disk for shared data, be careful about the following points:
Define the shared disk for shared data as a shared disk of a clustered system.
Allocate a disk that does not use AdvancedCopy Manager to carry out backup and replication.
Allocate a disk that is not used by AdvancedCopy Manager CCM as a copy source, copy destination, or access volume.
On the shared disk for shared data, create a file system.
In order to be used by the file system, make the shared disk mountable.
Use a disk that is not used as a Quorum disk. (for Windows only)
Partitions for storing shared data of AdvancedCopy Manager CCM
Prepare partitions on the shared disk for storing shared data of AdvancedCopy Manager CCM. The number of required partitions are listed below. Note that the number of partitions are required for each AdvancedCopy Manager CCM transaction.
Name | CCM Server Transaction |
|---|---|
Shared disk for shared data | 1 |
Total amount of partitions | 1 |
Generic script for AdvancedCopy Manager CCM
This is a script for stopping the management service of AdvancedCopy Manager CCM.
Before the shared disk for shared data goes offline, the following service must be stopped:
In order to stop this service, create a generic script file that executes the "acservice stop" command with the -lan option. Refer to "Command References" in the AdvancedCopy Manager Operation Guide for Copy Control Module for information on the command.
Management service of ETERNUS SF AdvancedCopy Manager CCM
Information
As a generic script sample, the following file is stored in the programDir\Common\sample\cluster directory.
The programDir is "Program Directory" specified at the AdvancedCopy Manager CCM installation.
File Name | Explanation |
|---|---|
esfmanager-ccm.vbs | Sample file of generic script for AdvancedCopy Manager CCM |
When using the above file, make sure to copy it to a different directory and use the copied file.
Below is an example of a generic script file. You can freely specify any file name, but the file extension must be ".vbs".
For installDir in the script, specify the directory in which AdvancedCopy Manager CCM is installed.
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
Function Open( )
Open = True
End Function
Function Online( )
Online = True
End Function
Function LooksAlive( )
LooksAlive = True
End Function
Function IsAlive( )
IsAlive = True
End Function
Function Offline( )
Resource.LogInformation "--- start offline ---"
Set oExec = WshShell.Exec("installDir\CCM\bin\acservice.exe stop -lan")
Resource.LogInformation oExec.StdOut.ReadAll
Resource.LogInformation oExec.StdErr.ReadAll
Resource.LogInformation "--- end offline ---"
Offline = True
End Function
Function Close( )
Close = True
End Function
Function Terminate( )
Terminate = True
End FunctionInformation
As a generic script sample, the following file is stored in the "/opt/FJSVesfcm/sample/cluster" directory.
File Name | Explanation |
|---|---|
CcmCmdline | Sample file of generic script for AdvancedCopy Manager CCM |
When using the above file, make sure to copy it to a different directory and use the copied file.
The example of creating script as the Start/Stop script for PRIMECLUSTER Cmdline resource is shown below.
#!/bin/sh
case $1 in
'start')
exit 0 ;;
'stop' )
/opt/FJSVccm/bin/acservice stop -lan
exit 0 ;;
esacFor register a Cmdline resource, specify "start" to the argument for the Start script, specify "stop" to the argument for the Stop script.
Refer to your cluster software manuals for creating procedure of Start/Stop script.
Access volume
This is a volume for issuing Advanced Copy from the CCM Server to ETERNUS Disk storage systems.
It is required for issuing Advanced Copy to ETERNUS Disk storage systems that operate with Copy command via SAN.
From among the logical volumes in the ETERNUS Disk storage system to be backed up for AdvancedCopy Manager CCM, connect one logical volume as an access volume to all nodes making up a clustered system.
For Windows
Make the environment settings for the connected logical volume so as to allow access from all nodes making up a clustered system to the same physical disk number (Disk # displayed on the disk management screen).
For Solaris or Linux
Make the environment settings for the connected logical volume so as to allow access from all nodes making up a clustered system to the same physical device name.
Point
When specify a device file of ETERNUS Multipath Driver to an access volume in Solaris or Linux, setup the device file name and system. Refer to the ETERNUS Multipath Driver manual for details.