- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE EVA Storage
- >
- Create EVA P6500 RSM Snapshot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2016 06:12 AM
тАО10-12-2016 06:12 AM
Create EVA P6500 RSM Snapshot
Hello All,
I am trying to create a RSM script which will create a snapshot of a EVA Vdisk everyday and then delete old snapshots after 7 days. Since I am new to this, Can anyone please share any template if possible?
Many thanks!
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2016 01:18 AM
тАО10-13-2016 01:18 AM
Re: Create EVA P6500 RSM Snapshot
Hi
its built into the RSM if you choose a disk from RSM and right click it RSM can
create this job automaticly
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2016 03:07 AM
тАО10-14-2016 03:07 AM
Re: Create EVA P6500 RSM Snapshot
Hi,
here is a sample from me, that i used.
I plan 4 of this Scripts with Snap1 to Snap4
// An e-mail will be sent when the job changes state (completion, failure, etc.).
SetNotificationPolicy ( "evamgmt@somewhere.de", "admin@somewhere.de", JOB_STARTED_OR_STOPPED )
//
// Assign some variables that will be used in this job.
$source_eva = SetVariable ( "EVA2" )
$source_vol = SetVariable ( "\\EVA2\SAP\SAPORAC20-E" )
$source_host = SetVariable ( "saporac20" )
$snap_volname = SetVariable ( "SAPORAC20-E-Snap1" )
$snap_vol = SetVariable ( "\\EVA2\SAP\SAPORAC20-E\SAPORAC20-E-Snap1" )
//
// Validate that resources are as expected.
ValidateStorageSystem ( $source_eva ) onerror goto E1:
ValidateStorageVolume ( $source_vol ) onerror goto E1:
ValidateHost ( $source_host ) onerror goto E1:
E2: ValidateStorageVolume ( $snap_vol ) onerror goto E3:
//
// Delete old Snapshot
DeleteStorageVolume ( $snap_vol ) onerror goto E2:
//
// Make Snapshot
E3: ValidateSnapshotStorageVolume ( $source_vol ) onerror goto E1:
//
// Suspend the host application.
DO {
Launch ( $source_host, "e:\snap\Snap-Pre.bat", "", WAIT, "0" )
$repl1 = SnapshotStorageVolume ( $source_vol, DEMAND_ALLOCATED, SAME, $snap_volname, NOWAIT ) onerror goto E1:
} ALWAYS {
// Resume the host application
Launch ( $source_host, "e:\snap\Snap-Post.bat", "", WAIT, "0" )
}
//
//
// Wait for replicated storage to appear.
WaitForStorageVolumeDiscovery ( $repl1 ) onerror goto E1:
//
Exit ( SUCCESS )
//
// Failure exit - no rollback needed.
E1: Exit ( FAILURE )