Previous  |  Next  >  
Product: Cluster Server Enterprise Agents Guides   
Manual: Cluster Server 4.1 Enterprise Agent for EMC SRDF Installation and Configuration Guide   

SRDFSnap Agent

The SRDFSnap agent manages the replication relationship between the source and target arrays when running a fire drill. The agent is configured in the fire drill service group.

Agent Operations

Operation
(Entry Point)
Description

Online

  • Gold Configuration
  • Suspends replication between the source and the target arrays, takes a local snapshot of the target LUN, resumes the replication between the arrays, and takes the fire drill service group online by mounting the snapshot.
  • Silver Connfiguration
  • Suspends replication between the source and the target arrays, takes a local snapshot of the target LUN, and takes the fire drill service group online by mounting the target LUN.
  • Bronze Configuration
  • Suspends replication between the source and the target arrays and takes the fire drill service group online using the target array.
  • The operation also creates a lock file to indicate that the resource is online.

Offline

  • Gold Configuration
  • Destroys the snapshot by synchronizing data between the target array and the device on which snapshot was taken.
  • Silver Configuration
  • Resumes replication between the source and the target arrays. Once the data is synchronized between the two arrays, the snapshot of the target array is destroyed by synchronizing data between the target array and the device where snapshot was taken.
  • Bronze Configuration
  • Resumes the replication between the source and the target arrays.
  • The operation also removes the lock file created by the Online operation.

Monitor

Verifies the existence of the lock file to make sure the resource is online.

Clean

Restores the state of the LUNs to their original state after a failed Online operation.

Action

For internal use.

Resource Type Definition


type SRDFSnap (
 static str ArgList[] = { TargetResName, MountSnapshot, UseSnapshot,  
                RequireSnapshot }
 static keylist RegList = { MountSnapshot, UseSnapshot }
 static int NumThreads = 1
 str TargetResName
 int MountSnapshot
 int UseSnapshot
 int RequireSnapshot
 temp str Responsibility
 temp str FDFile
)

Attribute Definitions

Required Attributes Type-Dimension Description

TargetResName

string-scalar

Name of the resource managing the LUNs to be snapshot. The target resource is of type SRDF if the data being snapshot is replicated; the resource is of type DiskGroup if the data is not replicated.

For example, some applications like Oracle have data files and redo logs replicated, but temporary tablespace not replicated. The temporary tablespace must still exist at the DR site and may be part of its own disk group and is snapshot independently.

UseSnapshot

integer-scalar

Specifies whether the SRDFSnap resource takes a local snapshot of the target array. Set this attribute to 1 for Gold and Silver configurations. For Bronze, set this attribute to 0.

See Configuring the Snapshot Attributes.

RequireSnapshot

integer-scalar

Specifies whether the SRDFSnap resource must take a snapshot before coming online.

Set this attribute to 1 if you want the resource to come online only after it succeeds in taking a snapshot.

Set this attribute to 0 if you do want the resource to come online even if it fails to take a snapshot. Setting this attribute to 0 creates the Bronze configuration.



Note    Set this attribute to 1 only if UseSnapshot is set to 1.

MountSnapshot

integer-scalar

Specifies whether the resource uses the snapshot to bring the service group online. Set this attribute to 1 for Gold configuration. For Silver and Bronze configurations, set the attribute to 0.



Note    Set this attribute to 1 only if UseSnapshot is set to 1.
Internal Attributes Type-Dimension Description

Responsibility

temporary string

For internal use only.

Used by the agent to keep track of resynchonizing snapshots.

FDFile

temporary string

For internal use only.

Used by the agent to locate the latest fire drill report.

Configuring the Snapshot Attributes

The UseSnapshot, MountSnapshot, and RequireSnapshot attributes define the fire drill configuration.

Attribute Gold Silver Bronze

MountSnapshot

1

0

0

UseSnapshot

1

1

0

Setting the RequireSnapshot attribute to 0 enables a Gold or Silver configuration to run in the Bronze mode if the snapshot operation fails.

 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Enterprise Agents Guides  
Manual: Cluster Server 4.1 Enterprise Agent for EMC SRDF Installation and Configuration Guide  
VERITAS Software Corporation
www.veritas.com