- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Data Migrationf from server to server
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
тАО08-31-2003 07:57 AM
тАО08-31-2003 07:57 AM
server 1 - 400GB in 3 volume groups data LVM striped across a group of 4 disks and the LUNS are from a XP512.
I have to move these disks to another server. The data is primarily informix database. what would be the correct procedure..Please correct me if this procedure is wrong??
1. On server 1, vgexport to a mapfile
2. On server 2 perform ioscan and insf. Then vgimport the mapfile...
I am not sure if I am missing something here..Do I have to vgextend the disks before I do the vgimport.
RR
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2003 02:34 PM
тАО08-31-2003 02:34 PM
Re: Data Migrationf from server to server
# mkdir /dev/vg??
# mknod /dev/vg??/group c 64 0x0?0000
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2003 02:54 PM
тАО08-31-2003 02:54 PM
SolutionThe procedure is fairly simple, I've done this numerous times.
For each volume group. If you have more than 16 volume groups make sure that you increase your kernel parameter 'maxvgs'
original server (note the usage of the preview and shared options)
# vgexport -m myvg.mapfile -p -v -s /dev/myvg
Copy the mapfile(s) to the new server
Disconnect disk array
on new server
# mkdir /dev/myvg
# mknod /dev/myvg/group c 64 0x0?0000 (make sure that use unique numbering)
# vgimport -v -m myvg.mapfile -p -s /dev/myvg
if successful
# vgimport -v -m myvg.mapfile -s /dev/myvg
Check ownerships/permissions etc depending on how you have informix set up on the original server.
Make the necessary directories for mounting filesystems.
Make sure that informix has the same UID number.
Before mounting any directories onto mount points you must run 'fsck' on all of them.
Mount the directories and make sure you update the /etc/fstab file.
There is no need to run vgextend, as all of the volumes wll be included in the mapfile (-s option) which scan all of the LUN's for a matching VGID (volume group identifier)
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 07:28 AM
тАО09-02-2003 07:28 AM
Re: Data Migrationf from server to server
Example : Server1 CL1-C, CL2-C and CL1-E, CL2-E
Server 2: CL1-G, CL1-H and CL1-G, CL2-G
Would the vgimports still work??
RR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 08:31 AM
тАО09-02-2003 08:31 AM
Re: Data Migrationf from server to server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 08:55 AM
тАО09-02-2003 08:55 AM
Re: Data Migrationf from server to server
I guess the c#t#d# remains the same as long as the HBAs are in the same slot in both the servers..what happens if the HBA are in a different Hardware path on the second server??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 08:08 PM
тАО09-02-2003 08:08 PM
Re: Data Migrationf from server to server
That's the beauty of using the -s option for vgexport and vgimport. The mapfile carries over the 'VGID' which is on every disk used in LVm. When you run the vgimport using the -s option it uses the VGID in the mapfile to match each and every LUN that it can scan, and creates a match. When it finds all of the matches it attempts to do the import. If it is successful, there will be no error messages. If there it will tell you. This may happen if it doesn't find all of the disks in the volume group. If you find that this happens then the server cannot see all of the disks it had before. When running the vgimport command always use the -p option (preview) the first time around.
Cheers
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2003 01:50 PM
тАО09-20-2003 01:50 PM
Re: Data Migrationf from server to server
RR