- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Data Migration -- attempting vgexport/vgimport
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
тАО11-16-2009 07:11 AM
тАО11-16-2009 07:11 AM
Data Migration -- attempting vgexport/vgimport
Iam using HP-UX 11.11 on rp5470 server, recently my company bought two hdd and would like to replace the old one (73GB)Oracle DB 8i with (145 GB) each.
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 93304 110672 46% /
/dev/vg00/lvol1 298928 57288 211744 21% /stand
/dev/vg00/lvol8 4710400 397992 4279016 9% /var
/dev/vg00/lvol7 1622016 1024696 592688 63% /usr
/dev/vg00/lvol4 516096 28944 483984 6% /tmp
/dev/vg00/lvol6 1146880 750752 393072 66% /opt
/dev/vg00/lvbkp 10240000 7379608 2771054 73% /m01bkp
/dev/vg00/lvol5 24576 2360 22048 10% /home
/dev/vg03/lvol4 16367616 11874438 4352772 73% /ra09
/dev/vg03/lvol3 18432000 14604408 3767792 79% /ra08
/dev/vg03/lvol2 18432000 10541800 7766920 58% /ra07
/dev/vg03/lvol1 18432000 9880412 8417972 54% /ra06
===================
DISK DEVICES INFO:
===================
? 0/0/1/1.0.0 1 LVM vg03 70007 HP 73.4GMAX3073NC ^
? 0/0/1/1.2.0 1 LVM vg00 34732 HP 36.4GMAN3367MC
? 0/0/2/0.0.0 1 LVM vg03 70007 HP 73.4GST373454L
? 0/0/2/0.2.0 1 LVM vg00 34732 HP 36.4GMAN3367MC
My Question is :
================
As "VG00" dedicated for HP-OS and "VG03" is completely dedicated to oracle.
#Iam not sure that two hdd of 73GB is in RAID or not , if it is in RAID can i replace one hdd (145GB) to synchronise with 73.
#If above operation successful than i can smoothly replace another hdd of 73 to 145GB.
IF not:
How can i backup 73GB of disk and replace both with 145GB and restore the above Oracle Database backup possible or not .
IF YES :
"vgcfgbackup & vgcfgrestore" and "vgexport & vgimport"
which one helps me to solve this issue,
BACKUP:
Backup media is a tape of 200GB.
I appreciate all experts who help me whenever i needed ............
Rgd's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 07:21 AM
тАО11-16-2009 07:21 AM
Re: Data Migration -- attempting vgexport/vgimport
vgdisplay -v vg00
vgdisplay -v vg03
That will let you know which disks are occupied by what logcal volumes.
then you can plan this out.
the general procedure, running vgexport on vg03, followed by vgimport and restore of data is a good one. You need to back up that oracle database, preferably cold, with Oracle down.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 07:42 AM
тАО11-16-2009 07:42 AM
Re: Data Migration -- attempting vgexport/vgimport
> Iam not sure that two hdd of 73GB is in RAID or not , if it is in RAID can i replace one hdd (145GB) to synchronise with 73.
I assume that your are asking if the logical volumes of vg03 are mirrored. To determine that, use 'lvdisplay' for each logical volume in 'vg03' looking for "Mirror copies". A value greater than zero indicates that the logical volume is mirrored. Adding a '-v' will show you which physical disks are involved in the mirroring:
# lvdisplay -v /dev/vg03/lvol
That said, if you simply replace one 73GB physical disk with a 146GB one, perhaps by using 'vgreduce' and 'vgextend', the new larger disk may not be fully utilizable. You need to determine the 'Max PE per PV' and 'PE Size' values of your old physical disk from:
# vgdisplay vg03
Then, calculate if the product of these two values sufficient to use all of your new disk. If not, you will need to migrate your data from the old to the new disk.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 07:58 AM
тАО11-16-2009 07:58 AM
Re: Data Migration -- attempting vgexport/vgimport
Most probably vg03 lvols are mirrored one.
Please post the o/p of
#lvdisplay /dev/vg03/lvol* |grep -i -E "LV Name|Mirror copies|stale"
if yes you can replace one by one.
If not
a) get an database outage.
b) shutdown database (gracefully)
c) take complete backup of vg03 lvols.
4) vgcfgbackup vg03
5) umount vg03 lvols
6) pvchange -a N to the vg03 pv`s
7) replace 73 gb disks with new 146 gb disks
8) vgcfgrestore vg03 on new disks
9) mount vg03 lvols
10) restore backups
11) startup the database
For more info;-
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 03:29 PM
тАО11-16-2009 03:29 PM
Re: Data Migration -- attempting vgexport/vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 09:52 PM
тАО11-17-2009 09:52 PM
Re: Data Migration -- attempting vgexport/vgimport
Find an enclosed detail file of above query ........
Rgd's