- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Same Server New SAN
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
07-02-2008 11:05 AM
07-02-2008 11:05 AM
I am keeping my server but loosing the SAN that it is currrently attached to and will have to reattach to a new one. I have a rp3440 with HP-UX 11.11 loaded. The OS is on vg00 and my Oracle database is stored on the SAN EVA5000. Once I get connected to the new SAN I will want everything to be setup the same as it was (vg's ect.)
I have not done this before so I am looking for some help in getting started. I have used Ignite in the past for a server build but since I am keeping the server I will have vg00 still intact.
I know how to create luns,vg's but I do not have any experience with a move and am struggling with the overall approach. Any help is appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 11:20 AM
07-02-2008 11:20 AM
Re: Same Server New SAN
Make sure you have a good backup or two, or three of your database contents. Also, make sure the data center is retaining your data on SAN, until you give them the go ahead and delete permission, once you are perfectly operational in your new place.
I can not think of any other gotchas for the time being.
Good luck...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 11:42 AM
07-02-2008 11:42 AM
Re: Same Server New SAN
You can do the following, described in this previous thread :
1. create and present same LUNs from second SAN to server
2. extend VG over new disks
3. make a mirror of every logical volume over new disks (from SAN2) with lvextend
4. reduce mirror from old SAN disks.
5. remove old disks from VG.
And of cource first create backups - Ignite and so on ...
All this can be done without any downtime with MirrorDisk/UX and OnlineJFS.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 11:43 AM
07-02-2008 11:43 AM
Re: Same Server New SAN
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 11:48 AM
07-07-2008 11:48 AM
Re: Same Server New SAN
I will be moving my server to a new data center and will have no connection to the old SAN.
I do not have online JFS. We do have scheduled downtime for this since we are moving the server and attaching it to a new SAN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 11:56 AM
07-07-2008 11:56 AM
Re: Same Server New SAN
You are obviously not trying to save any data so why work so hard on hours of config exporting / importing when it would only take minutes just recreating the config from scratch ?
Exporting the vg config is a waste as there is no data or structure on the new san and you will spend more time deleting old configs and creating new ones.
This is just like DR, great to have the vgnames but all lvols will need to be recreated and newfs on all.
Document your config and manually recreate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 03:03 PM
07-07-2008 03:03 PM
Re: Same Server New SAN
What is the make and model of the disk array? And most importantly, what is the disk emmulation. If OPEN-V, like in an XP 12000, you have a choice of lun sizes. They're user definable. But others, like OPEN-E, you have no choice. The size is fixed. In this 'ioscan' example you'll see OPEN-E emulation.
dev1:/home/hp>>ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
========
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 3 0/4/0/0.8.0.2.0.0.0 sdisk CLAIMED DEVICE HP OPEN-E
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 4 0/4/0/0.8.0.2.0.0.1 sdisk CLAIMED DEVICE HP OPEN-E
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
The point I'm trying to make here is that newer disk arrays have SCSI emulations of larger sizes. And therefore you'll need a new volume group. This is because the old volume group is limited to the size of the old disks. Refer to PE_SIZE and MAX_PE in the vgcreate command. And if you're using bigger disks then you can't vgextend them into the old vg. You have to make a new one.
I've done several disk migrations. I've never vgextended the new disks into the old vg. I've always created a new vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 11:05 PM
07-07-2008 11:05 PM
Re: Same Server New SAN
How much data is there?
Would you have enough local disk to temporarily move your SAN stored data (via mirroring) onto local disk?
If not, maybe your vendor will lend you some drives for the duration of the move? If you ask nicely sometimes they'll accomodate... especially if you've just bought a bunch of stuff from them.
Then when connected to new SAN and new storage you can mirror it over to the new disk from the local disk. Then break the mirror and remove the local disk from the VG.
And I suggest you keep the LUNs on your old storage around until your move is complete by just unpresenting the LUNs from the host and not deleting them until the move is completed and your data is seen on the new setup. Then you have a possible fall back position.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 06:47 AM
07-08-2008 06:47 AM
Re: Same Server New SAN
It looks to me like the approach is to just rebuild the vg's etc. and then restore the data. Question- should I remove the old ones before I power down the server and move it? Any issues with old vg's being in there when I atttach to the new SAN?
I see one recommendation is to unpresent the luns on the old SAN. I can do that.
A couple of answers to questions:
The old SAN is a EVA5000 I am not sure the exact model of the new one but it is a higher class of SAN- XP.
I was planning on restoring the data from tape but I do have a slot for a internal drive not being used. Data size it about 150GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 11:50 AM
07-08-2008 11:50 AM
Re: Same Server New SAN
The info needed is not really hard to aquire and if you have 50 or 100s of vgs/lvols then I would script the re-creation from a simple input file that contains the config needed.
Then save this script and use it for DR because it would be the exact same thing needed.
Best of luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 11:51 AM
07-08-2008 11:51 AM
Re: Same Server New SAN
When you migrate to a new disk array you do so by first making the new disk array luns exported to the server.
You do this by freeing up one HBA. All the luns associated to this HBA are first reduced out of the volume groups BUT NOT from ioscan and /dev. Keep them around until its time to clean up.
Now you have a free HBA. Attach it to the new disk array and present the new luns to ioscan.
Build a new vg with this new luns.
Create temporary mount points and mount the new vg to the temp mount point.
Copy all of the data from the file systems in the old vg into the temp mount point.
Verify your data. Umount the file systems. And remount them with the new vg / lvols into the STANDARD mount point.
Update /etc/fstab.
Agree to a point of no return date with mgmt. because you can still rollback off of the new disk array at this point.
When you get a green light free up the primary HBA, attach it to the new, present the new ALTERNATES to ioscan and vgextend them into the new vg.
Clean up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 12:05 PM
07-08-2008 12:05 PM
Re: Same Server New SAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 12:12 PM
07-08-2008 12:12 PM
Re: Same Server New SAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 03:48 PM
07-08-2008 03:48 PM
Re: Same Server New SAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2008 06:20 AM
07-09-2008 06:20 AM
Re: Same Server New SAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2008 07:38 AM
07-09-2008 07:38 AM
Re: Same Server New SAN
What is the disk array?
What is the SCSI disk emulation?
I don't see how you're going to do this from tape unless you have mounted file systems. And you can't have mount file systems until you're luns are viewable in ioscan and you have new vg's created.
In this situation it makes no difference what the old disk luns size are. Because they won't exist. YOU SHOULD REMOVE ALL OF THESE OLD LUNS WHILE STILL ATTACHED TO THE OLD DISK ARRAY. REMOVE ALL OF THE OLD VG'S. You'll be starting fresh BASED UPON THE MOUNT POINTS IN /ETC/FSTAB.
'lvdisplay' every lvol listed in /etc/fstab. Get all the information you can, especially size and special arguements like bad block relocation, etc. Refer to the man page for 'lvdisplay' and 'pvdisplay' and review every arguement and determine if you're using any.
The vgcreate stuff should be straight enough. Focus on the lvol data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2008 08:55 AM
07-09-2008 08:55 AM
Re: Same Server New SAN
I will then build out the vg's and lvols so that I can restore from tape. Where I was really stuck is concerning the clean up I should do before I power down the server. I have only a a handful of vg's and lvols...I just wasn't sure if I needed to remove them before I power down- sounds like I do from your post. And I will be naming them the same as they were before so getting rid of them seems like the appropriate thing to do but wanted to get some feedback if I was going down the right path.
Thanks for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2008 10:16 AM
07-09-2008 10:16 AM
SolutionAnd I'd do this before I moved the server. Otherwise the box will complain once it arrives.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2008 10:41 AM
07-09-2008 10:41 AM
Re: Same Server New SAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2008 11:33 AM
07-14-2008 11:33 AM