HP-UX: LVM migration from legacy to agile addressing onto a failover server


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX: LVM migration from legacy to agile addressing onto a failover server
# 1  
Old 08-09-2010
HP-UX: LVM migration from legacy to agile addressing onto a failover server

Hi there!

I'm having problems migrating and vgimport onto a different server. Original server uses the legacy DSF naming (ctd naming like /dev/dsk/c0t1d0) and the new server where i'm migrating those luns to is using the Agile addressing (i.e persistent DSF i.e. /dev/disk/diskxxx)
Importing a VG with 11 disks. Actually some of the disks with names /dev/disk/diskxxx doesn't map to legacy DSFs due to 8 lun limit per target on HP-UX initiators.
So, only /dev/dsk/c0t1d0 , /dev/dsk/c0t1d1 , ...., /dev/dsk/c0t1d7 are available and rest of the three devices in 11 luns are missing (is there a way to create?) where i have Agile devices like /dev/disk/disk401,/dev/disk/disk402,...,/dev/disk/disk411 are available.

when i use vgimport -v vgdata01 /dev/disk/disk401 /dev/disk/disk402 /dev/disk/disk403 /dev/disk/disk404 /dev/disk/disk405 /dev/disk/disk406 /dev/disk/disk407 /dev/disk/disk408 /dev/disk/disk409 /dev/disk/disk410 /dev/disk/disk411
it won't succeed.
OS version: 11.31
Appreciate your help. Thanks.

ilango

Last edited by ilan; 08-09-2010 at 05:00 PM.. Reason: adding OS versison
# 2  
Old 08-11-2010
on the source server:
Code:
vgexport -p -s -v -m <vg_name>.map <vg_name>
scp <vg_name>.map <dest_server>:

here you are creating a map of your VG that can be used to import it on another system using the same disks or a clone of them
on destination server:
Code:
vgimport -v -s -N -m <vg_name>.map <vg_name>

now you can create the same VG by importing it.
-s option scan's the disks which have the VGID identical with the one written in the map file and import them using the persistent DSFs (-N option)
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

Server migration

Hi, Existing several p5 server with lpar (aix5.3), also implemented with hacmp. And now planning to buy new set of server (installing aix7.1)and SAN to replace the existing server. My question is, how to perform data migration from old server/SAN to new server/SAN. Suppose I install... (6 Replies)
Discussion started by: Oceanlo2013
6 Replies

2. Solaris

NFS server on Legacy Container?

Hi All, I have a problem as follows. Historically, there was an Ultra10 workstation running Solaris 8 using automount to access NFS volumes on a Solaris 8 server. The Ultra 10 was retired and the Solaris 8 server has been migrated to a Legacy Container (Solaris 8 Branded, whole root,... (9 Replies)
Discussion started by: hicksd8
9 Replies

3. UNIX and Linux Applications

Server migration from samba+ldap to windows server 2003

Hi, i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers. Where you can read how to do it? Or can tell me how to do it? Thanks. P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies

4. Red Hat

DNS server loadbalancing and failover

Hi Friends, I am setting up my new public DNS server using bind 9 on RHEL5.5 64bit. I also want to have an another DNS failover server on one of my another datacenter. My question is, if i installed an new slave DNS server on the second datacenter and configure the zone transfer, do it will be... (2 Replies)
Discussion started by: arumon
2 Replies

5. Web Development

[PHP] Server Check and Failover Code

Here is some sample PHP code you can run if you have a PHP web application that uses code or images from an ad server, image server, or content deliver network, and you want to check if it is working and if not, failover to another one: <?php $current_server = "server.domain.com"; // set... (0 Replies)
Discussion started by: Neo
0 Replies

6. Solaris

Server Migration

Hi All We are having a very old server that is working on solaris 5.6 and oracle7. now We are planning to migrate it to a Solaris 8 and oracle 9 environment. The application software of the server is basically written in ProC and there are few sql ,perl and shell scripts on the server . We... (13 Replies)
Discussion started by: asalman.qazi
13 Replies

7. High Performance Computing

Veritas Cluster Server Management Console IP Failover

I have just completed a first RTFM of "Veritas Cluster Server Management Console Implementation Guide" 5.1, with a view to assessing it to possibly make our working lives easier. Unfortunately, at my organisation, getting a test installation would be worse than pulling teeth, so I can't just go... (2 Replies)
Discussion started by: Beast Of Bodmin
2 Replies

8. UNIX for Advanced & Expert Users

LAMP Server Failover

How does everyone else handle this? My Setup: Server A: CentOS 5.x 10.0.0.1 Apache MySQL Master Server B: CentOS 5.x 10.0.0.2 Apache MySQL Slave My Domains: dom1.com A record: 10.0.0.1 A Record: 10.0.0.2 dom2.com A record: 10.0.0.1 A Record: 10.0.0.2 (3 Replies)
Discussion started by: Ikon
3 Replies
Login or Register to Ask a Question