- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extend a VG online, with online JFS
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
08-07-2009 06:00 AM
08-07-2009 06:00 AM
Because we have online JFS I can do the vgextend, lvextend and fsadm online with no interruption, however what about letting the standby node know about the new PV in the volume group? I can't import on the secondary node without stopping the primary.. Is there a way to make sure the Standby node is aware of the PV for failover?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 06:14 AM
08-07-2009 06:14 AM
Re: Extend a VG online, with online JFS
Just import the VG on secondary node.It is the good way to Standby node to avare of PV for failover
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 06:19 AM
08-07-2009 06:19 AM
Re: Extend a VG online, with online JFS
So, make sure that your secondary nodes can "see" the new disk. i.e. the new disk is masked to the secondary nodes.
Do your extend on the primary production server, and create new mapfiles for the volume group.
Then as was just mentioned, do the vgimport steps on the secondary nodes.
i.e. vgexport /dev/vgname
mkdir /dev/vgname
mknod /dev/vgname/group c 64 0x--0000
vgimport -vs -m /etc/lvmconf/vgname.
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 06:42 AM
08-07-2009 06:42 AM
Re: Extend a VG online, with online JFS
>>>I can't import on the secondary node without stopping the primary.<<<<
Why do you think so? If the lun is presented to both the nodes, you can take the map file by exporting the VG in preview mode and import the vg information on standby node using the map file.
No need to down the primary to take the map file. Just export the vg in preview mode. Preview mode does not export the vg. It just creates the map file.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 07:14 AM
08-07-2009 07:14 AM
Re: Extend a VG online, with online JFS
So map file created on Primary (with export) and copied over to Secondary node where the import is run. Primary is not affected by this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 07:17 AM
08-07-2009 07:17 AM
SolutionYou can do it without stopping the primary node,but note that, ensure you are
exporting/Importing the VG in ***preview mode***. Steps are follows,
1) Ensure the LUN is visible and accessable from both the nodes.
2) Extend the VG in Node1.
3) Export the VG configuration in preview mode,
#vgexport -p -s -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 07:18 AM
08-07-2009 07:18 AM
Re: Extend a VG online, with online JFS
Yes you are right Ward.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 07:21 AM
08-07-2009 07:21 AM
Re: Extend a VG online, with online JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 12:28 AM
08-14-2009 12:28 AM
Re: Extend a VG online, with online JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 12:32 AM
08-14-2009 12:32 AM
Re: Extend a VG online, with online JFS
Having just carried out this work. When importing on the Secondary node the /etc/lvmtab hasn't been populated, how will node two know aobut the devices ( or how will I get it know about them? )
the disks( LUNS ) must be presented on both nodes, and if you are using the vgexport with the -s option them the vgimport will be made with the vgid.
of course you need to make ioscan and them insf to see the special files on the server.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 12:34 AM
08-14-2009 12:34 AM
Re: Extend a VG online, with online JFS
I suspect that you have imported in preview mode on secondary. is it?
You have to import it in normal mode not the preview mode.
#vgimport -v -s -m
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 12:37 AM
08-14-2009 12:37 AM
Re: Extend a VG online, with online JFS
you will need to add it manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 12:52 AM
08-14-2009 12:52 AM
Re: Extend a VG online, with online JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 12:56 AM
08-14-2009 12:56 AM
Re: Extend a VG online, with online JFS
of couse because the vg is there alredy.
the cluster was configured a nd the vg was imported to both nodes.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 01:00 AM
08-14-2009 01:00 AM
Re: Extend a VG online, with online JFS
>>>Output says "Beginning import... blah blah" then "Volume group already in /etc/lvmtab"<<<
As per this message, vg is already there in lvmtab file.
Can you post the volumegroup names you are trying to import and #strings /etc/lvmtab output from secondary node ?
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 01:00 AM
08-14-2009 01:00 AM
Re: Extend a VG online, with online JFS
the cluster was configured and the vg was imported to both nodes"
I'm aware of this, I was just providing the text output, but that is all I get, /etc/lvmtab does not get updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 01:05 AM
08-14-2009 01:05 AM
Re: Extend a VG online, with online JFS
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 01:10 AM
08-14-2009 01:10 AM
Re: Extend a VG online, with online JFS
It is already there, with the unextended set of devices..
I can get a strings of /etc/lvmtab off but it will take a while due to the nature of the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 01:17 AM
08-14-2009 01:17 AM
Re: Extend a VG online, with online JFS
If you are not providing the output we asked, it is little difficult to help you out. We are interacting through forum. So it is not possible to understand the issue correctly unless you provide all the necessary details.
ok. back to your reply.
>>"of couse because the vg is there alredy.
the cluster was configured and the vg was imported to both nodes"<<
Does current lvmtab file has entry about the vg or not? Or provide the exact steps you followed starting from exporting on primary node to importing on alt node.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 01:40 AM
08-14-2009 01:40 AM
Re: Extend a VG online, with online JFS
Yes, the vg is in the /etc/lvmtab on both nodes. On the Primary node it has the newly added devices too, on the Standby node following the import, it does not have the extended devices.
I will try and get the info off and update the forum later.
Process followed..
Extend VGs on Primary, extend LVs, fsadm on mount points. Create map file
# vgexport -p -s -m /tmp/redo1.map /dev/vg_ora_coredb_redo1
Copy map file to Secondary node.
ioscan and insf -e on secondary node.
# vgimport -s -m -v /tmp/redo1.map /dev/vg_ora_coredb_redo1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 01:52 AM
08-14-2009 01:52 AM
Re: Extend a VG online, with online JFS
OK. I think we found out the steps we missed.
What we missed out is, before importing on secondary node, you need to export the vg on secondary node. This will remove the old configuration and allow us to import it with new configurations.
Follow these steps on secondary node.
Note down the minor number of volume groups to be exported and then imported.
#ll /dev/vgname/group
Exm:
# ll /dev/vg01/group
crw-r--r-- 1 root sys 64 0x010000 Jan 28 2005 /dev/vg01/group
#vgexport -v vgname
#mkdir vgname
#mknod /dev/vg01/group c 64
Exm:
#mknod /dev/vg01/group c 64 0x010000
#vgimport -v -s -m
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 01:54 AM
08-14-2009 01:54 AM
Re: Extend a VG online, with online JFS
You are right
But first if the vg is there in secondary then export it.Create an vg directory under /dev then create map file and then import the vg.
Regards
sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 02:55 AM
08-14-2009 02:55 AM