Disk Enclosures
1748255 Members
3907 Online
108760 Solutions
New Discussion юеВ

Re: Snapshot on UX11.23 and EVA8400

 
SPelloux
Occasional Contributor

Snapshot on UX11.23 and EVA8400

Hi,
I need to create one snapshoot each Sunday of production server VG with RSM
This snapshot must be "mount" on the Dev Server but with an other VG name.
When I tried to use CreateHostVolume or similar command I can't do it.

$Rep1 = SnapshotHostVolumeGroup ( $source_VolumeGroup_unc1, DEMAND_ALLOCATED, SAME, WAIT )
//
} ALWAYS {
// Resume the host application.
SetDrGroupSuspend ( "\\XXXXXX\XXXXXXXXXX", RESUMED )
//Launch ( $source_host, %resume_command_line%, "", WAIT, "0" )
}
//
// Wait for replicated storage to appear.
WaitForStorageVolumesDiscovery ( $Rep1 ) onerror pauseat E2:
//
// Mount the replicated volume(s) on a host.
$HV1 = CreateHostVolume ( $source_VolumeGroup_unc1, $Rep1, $mount_host, HOST_FC_PORT )
MountVolumeGroupComponent ( "\\10.252.144.63\/dev/BC2", "\\10.252.146.151\/dev/BC", "\\10.252.146.151\/dev/BC/lvol1", "/BC2" )
//


Thanks in advance for your help

3 REPLIES 3
SPelloux
Occasional Contributor

Re: Snapshot on UX11.23 and EVA8400

Hello

Some idea for this ?

Thanks

Stef
susanta_dutta
Trusted Contributor

Re: Snapshot on UX11.23 and EVA8400

Hi Stef,

Alternatively you can also use SSSU. I had written this Shell script(attached) sometime back to do some task similar to this. You may take a look at it.

Regards
Susanta
SPelloux
Occasional Contributor

Re: Snapshot on UX11.23 and EVA8400

Hi Susanta

Thanks I going to check If I can use it.

Stef