- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vxdg import multiple copies of dg
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
тАО07-13-2010 09:43 PM
тАО07-13-2010 09:43 PM
I have figured out how to renumber the disks and change the dg id and name using vxprivutil, but when I try to import the diskgroup, I get the following error:
VxVM vxdg ERROR V-5-1-587 Disk group tnms00x10_dgcs02: import failed: Disk for disk group in other disk group
Obviously I'm not seeing someplace else that the disk ID is getting stored. vxdiskadm gives me this:
Device: c29t0d0
devicetag: c29t0d0
type: auto
hostid:
disk: name= id=1212634652.210.thh6579q
group: name=tnms00x10_dgcs02 id=1279082831.112.thh6579q
info: format=cdsdisk,privoffset=128
flags: online ready private autoconfig
pubpaths: block=/dev/vx/dmp/c29t0d0 char=/dev/vx/rdmp/c29t0d0
version: 3.1
iosize: min=512 (bytes) max=1024 (blocks)
public: slice=0 offset=1152 len=40781568 disk_offset=0
private: slice=0 offset=128 len=1024 disk_offset=0
update: time=1279086024 seqno=0.150
ssb: actual_seqno=0.0
headers: 0 120
configs: count=1 len=640
logs: count=1 len=96
Defined regions:
config priv 000024-000119[000096]: copy=01 offset=000000 enabled
config priv 000128-000671[000544]: copy=01 offset=000096 enabled
log priv 000672-000767[000096]: copy=01 offset=000000 enabled
lockrgn priv 000768-000839[000072]: part=00 offset=000000
tagid priv 001016-001023[000008]: 0000 00 04 75 64 69 64 5f 61 ..udid_a
0008 00 00 00 00 00 00 00 00 ........
Multipathing information:
numpaths: 2
c29t0d0 state=enabled
c30t0d0 state=enabled
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2010 09:55 PM
тАО07-13-2010 09:55 PM
Re: vxdg import multiple copies of dg
==> I have a group that needs to import multiple copies of the same diskgroup onto a single host.
I am not able to understand the requirement, and I dont think this is possible.
Could you please clarify , what you mean by above query ??? what is your requirement?
Regards
Sooraj
Note: VXDG IMPORT , Import a disk group to make the specified disk group available on the local machine. This will make any configuration information stored with the disk group accessible, including any disk and volume configurations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2010 07:04 AM
тАО07-14-2010 07:04 AM
Re: vxdg import multiple copies of dg
Due to a merger, they have a new development project to build a process to convert part of the data into another format. They can't interfere with their normal dev database, and they will not be getting new hardware to use for development, so they need to import another copy of the data to work on.
What they want is to do is to make another copy of the production data, again via EMC business copy, and import that to work on. Unfortunately, as I said, it has the same tags in the private area, so VXVM won't touch it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2010 02:39 PM
тАО07-14-2010 02:39 PM
SolutionThe easiest solution is if the OS is hp-ux 11.23 or HP-UX 11.31, to upgrade from vxvm 4.1 to vxvm 5.0 as vxvm 5.0 supports, business copy.
If thats not possible, and vxvm 4.1 it stays, then the only supported way to get multiple business copies of the same 'original data' is to do it the "old way".
Here is an example of 1 bc of a cfs diskgroup.
So in youre case, remove all the shared references, you see in beneath procedure and you should be good. (i.e. use gsesrv8 # vxdg init cfsdg2bc cfsdg201=c8t1d1 instead of gsesrv8 # vxdg -s init cfsdg2bc cfsdg201=c8t1d1 )
Also the bc is a "xp bc", but emc bc is not to much different from it. (except that xp bc is offcourse superior in everyway ;) )
bc the lun..
gsesrv8 # date;paircreate -g cfsdg2 -vl;date
gsesrv8 # date;pairdisplay -g cfsdg2 -fcx -IBC0
Mon Nov 19 16:44:02 MET 2007
Group PairVol(L/R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, % ,P-LDEV# M
cfsdg2 cfsdg201(L) (CL1-E-4, 1, 0-0 )10063 140.P-VOL PAIR, 100 145 -
cfsdg2 cfsdg201(R) (CL1-E-4, 1, 1-0 )10063 145.S-VOL PAIR, 100 140 -
stop the pairing
gsesrv8 # date;pairsplit -g cfsdg2
Mon Nov 19 16:44:48 MET 2007
gsesrv8 # date;pairdisplay -g cfsdg2 -fcx -IBC0
Mon Nov 19 16:44:52 MET 2007
Group PairVol(L/R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, % ,P-LDEV# M
cfsdg2 cfsdg201(L) (CL1-E-4, 1, 0-0 )10063 140.P-VOL PSUS, 100 145 W
cfsdg2 cfsdg201(R) (CL1-E-4, 1, 1-0 )10063 145.S-VOL SSUS, 100 140 -
delete the pair
gsesrv8 # date;pairsplit -S -g cfsdg2 -IBC0;date
Mon Nov 19 16:45:46 MET 2007
Mon Nov 19 16:45:46 MET 2007
gsesrv8 # date;pairdisplay -g cfsdg2 -fcx -IBC0
Mon Nov 19 16:45:50 MET 2007
Group PairVol(L/R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, % ,P-LDEV# M
cfsdg2 cfsdg201(L) (CL1-E-4, 1, 0-0 )10063 140.SMPL ----,----- ----- -
cfsdg2 cfsdg201(R) (CL1-E-4, 1, 1-0 )10063 145.SMPL ----,----- ----- -
check if the bc'd lun is updated
c8t1d0 auto:cdsdisk cfsdg201 cfsdg2 online shared
c8t1d1 auto:cdsdisk (cfsdg201) (cfsdg2) online shared
indeed...
backup the vxvm header off c8t1d0
gsesrv8 # /etc/vx/diag.d/vxprivutil dumpconfig /dev/rdsk/c8t1d0 > /var/tmp/vxprivutil_c8t1d0.out
gsesrv8 # cat /var/tmp/vxprivutil_c8t1d0.out |vxprint -D - -d
Disk group: cfsdg2
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dm cfsdg201 - - - - - - -
c8t1d1 auto:cdsdisk - - online
create a "bc" cfsdg2 diskgroup
gsesrv8 # vxdiskunsetup -C c8t1d1
gsesrv8 # vxdisksetup -i c8t1d1
gsesrv8 # vxdg -s init cfsdg2bc cfsdg201=c8t1d1
-s : create as shared diskgroup
gsesrv8 # vxdisk -g cfsdg2bc list
DEVICE TYPE DISK GROUP STATUS
c8t1d1 auto:cdsdisk cfsdg201 cfsdg2bc online shared
gsesrv8 # cat /var/tmp/vxprivutil_c8t1d0.out |vxprint -D - -hvspm > /var/tmp/cfsdg2_volumes
gsesrv8 # cat /var/tmp/cfsdg2_volumes |vxprint -D - -htr
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME NVOLUME KSTATE STATE
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
v ora_bckp20 - DISABLED ACTIVE 102400 SELECT - fsgen
pl ora_bckp20-03 ora_bckp20 DISABLED ACTIVE 102400 CONCAT - RW
sd cfsdg201-01 ora_bckp20-03 cfsdg201 0 102400 0 - DIS
v volb - DISABLED ACTIVE 102400 SELECT - fsgen
pl volb-03 volb DISABLED ACTIVE 102400 CONCAT - RW
sd cfsdg201-02 volb-03 cfsdg201 102400 102400 0 - DIS
update the cfsdg2 "bc" diskgroup with the volume information
gsesrv8 # vxmake -g cfsdg2bc -d /var/tmp/cfsdg2_volumes
gsesrv8 # vxprint -ht -g cfsdg2bc
DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME NVOLUME KSTATE STATE
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
dg cfsdg2bc default default 59000 1195489247.348.gsesrv8
dm cfsdg201 c8t1d1 auto 1024 36055008 -
v ora_bckp20 - DISABLED EMPTY 102400 SELECT - fsgen
pl ora_bckp20-03 ora_bckp20 DISABLED EMPTY 102400 CONCAT - RW
sd cfsdg201-01 ora_bckp20-03 cfsdg201 0 102400 0 c8t1d1 ENA
v volb - DISABLED EMPTY 102400 SELECT - fsgen
pl volb-03 volb DISABLED EMPTY 102400 CONCAT - RW
sd cfsdg201-02 volb-03 cfsdg201 102400 102400 0 c8t1d1 ENA
force start the volumes
gsesrv8 # vxvol -f -g cfsdg2bc start ora_bckp20
[root@gsesrv8]/opt/HORCM/usr/bin
gsesrv8 # vxvol -f -g cfsdg2bc start volb
[root@gsesrv8]/opt/HORCM/usr/bin
gsesrv8 # vxprint -ht -g cfsdg2bc
DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME NVOLUME KSTATE STATE
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
dg cfsdg2bc default default 59000 1195489247.348.gsesrv8
dm cfsdg201 c8t1d1 auto 1024 36055008 -
v ora_bckp20 - ENABLED ACTIVE 102400 SELECT - fsgen
pl ora_bckp20-03 ora_bckp20 ENABLED ACTIVE 102400 CONCAT - RW
sd cfsdg201-01 ora_bckp20-03 cfsdg201 0 102400 0 c8t1d1 ENA
v volb - ENABLED ACTIVE 102400 SELECT - fsgen
pl volb-03 volb ENABLED ACTIVE 102400 CONCAT - RW
sd cfsdg201-02 volb-03 cfsdg201 102400 102400 0 c8t1d1 ENA
gsesrv8 # vxdisk -g cfsdg2bc list
DEVICE TYPE DISK GROUP STATUS
c8t1d1 auto:cdsdisk cfsdg201 cfsdg2bc online
Greetz,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2010 03:28 PM
тАО07-14-2010 03:28 PM