- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: iscsi and saniq
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
Forums
Discussions
Discussions
Discussions
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
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
01-08-2008 05:47 AM
01-08-2008 05:47 AM
If so can someone offer me some useful process or how they are doing this for a backup?
Someone from my end did a snap on the san side, however I am believing there more to this than that, as in having to at least mount the file system that is getting the snap so it has useful data structure so it can be backed up, or exported to another system for backup.
thanks
scott
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 06:22 AM
01-08-2008 06:22 AM
Re: iscsi and saniq
Set up array resources for snap, quiesce the source application, execute snap. Present snap volume on same or other host, import vgs, fsck filesystems, mount and execute backups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 06:37 AM
01-08-2008 06:37 AM
Re: iscsi and saniq
back to the system where I can see the drives, but I was concerned of importing it, since I did not want to overwrite the current volume group that was snapped, and I did not know if this type of snap, actually had all the volume group and lvol data to be able to import, since I did not have this disk mounted before.
so if its snapped at the sna level your saying we should be able to import it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 06:45 AM
01-08-2008 06:45 AM
Solution( you may have to execute vgchgid on the volumes if you get a message durning the import )
Here would be the steps.
vgexport -p -m /tmp/map.vgorig /dev/vgorig
mkdir /dev/vgnew
mknod /dev/vgnew/group c 64 0x0A0000
vgimport -m /tmp/map.vgorig /dev/vgnew /dev/dsk/cxtxdx ...list all disks
vgchange -a y /dev/vgnew
fsck /dev/vgnew/lvolx ( repeat for each )
mount /dev/vgnew/lvolx /snap/vol1
Then before the next snap.
umount
vgchange -a n /dev/vgnew
vgexport /dev/vgnew
Don't forget that if the snap is taken in while the application is running your data will most likely be corrupt. Either shutdown the app during snap or at least put in some form of hot backup mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 07:01 AM
01-08-2008 07:01 AM
Re: iscsi and saniq
one silly question,
this is assuming the disk and such is mounted on the system during the snap?
I do have a process to freeze the db.
I only ask the above is because someone had snapped it before the system even knew of it.
I do thank you for your time.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 07:17 AM
01-08-2008 07:17 AM
Re: iscsi and saniq
>>this is assuming the disk and such is mounted on the system during the snap?
Which disk ? The snap disk ? or the origionals ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 09:23 AM
01-08-2008 09:23 AM
Re: iscsi and saniq
I was not sure if being done this way if you could import it, since the disk was never configured on the HP side, it was presented
after the SNAP.
So being done this way, you can also import it? I did not know since I never really exported it first.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 10:13 AM
01-08-2008 10:13 AM
Re: iscsi and saniq
This cannot be done while the snaps are registered by the system for one of two reasons. 1) the filesystem stucture is updated behind the scene and will confuse the OS if mounted during snap operation. 2) Most of the time snap operations take the snap volumes offline if only for an instant, if still active on the system then you will get errors on the system.
Summary of procedure:
Initial first time:
execute snap
present snap vols to server
ioscan and insf so server sees new vols
vgimport using map file from origionals
activate vg
fsck new vols
mount new vols
Time to re-snap:
unmount snap vols from server
deactivate vg
vgexport
execute snap
Time to remount:
ioscan to re-register device files
vgimport with map file
fsck
mount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 11:29 AM
01-08-2008 11:29 AM
Re: iscsi and saniq
That is what I was asking, maybe not enough coffee....
THANKS...
I was not sure if it would replicate the volume group info, so for the fast test we did, I was in a sense correct that it was a duplicate and needed imported, however it would have to be done as a different group.
The ideal here was to mount it to another system.
Thank you.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 12:12 PM
01-08-2008 12:12 PM
Re: iscsi and saniq
i.e. vgchgid /dev/rdsk/cxtxdx /dev/rdsk/cxtxdx ...
Check out the man page for description.