- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extend File system on MCSG VG's .
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
05-26-2006 04:11 AM
05-26-2006 04:11 AM
extend File system on MCSG VG's .
We have a two node cluster and need to extend File system on MCSG VG's .
/dev/vg01
/dev/vg02
/dev/vg03
/dev/vg04
/dev/vg05
/dev/vg06
VG's are available on one of the production servers.
We have LUNs assigned from an XP1024 and we have created device files on the both the machines by the help of "insf -e" command.
Can you guru's please help me to extend file system.
Regards,
Saqi!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 04:44 AM
05-26-2006 04:44 AM
Re: extend File system on MCSG VG's .
1)Halt the package
2)Take a tar copy of /cmcluster directory
3)vgchange -c n vgname
4)vgchange -a y vgname
5)Do pvcreate of the new disk
6)vgextend to new pv
7)lvxtend to the LV where do u want to extend the file system
8)extendfs to the mountpoint
9)vgexport -p -m vgmap & copy to the secondry node
10)vgimport overthere
11)cmcheckconf
12)cmapplyconf
13)cmruncl
Cheers
Arunkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 05:06 AM
05-26-2006 05:06 AM
Re: extend File system on MCSG VG's .
BUT...if you need to add new disk to the volume groups that are within the package, then you need to stop the package. Change the vg to be active: (vgchange -c n and then vgchange -a y
You can do most things with pkg up...here's a couple things you can't do with pkg up:
changing anything network or IP,
changing anything with heartbeat/timing,
...when you don't have OnlineJFS....
Hope that helps,
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 05:12 AM
05-26-2006 05:12 AM
Re: extend File system on MCSG VG's .
anything wrong with doing it online like I sketched in
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1030301
(save the fact I forgot the pvcreates :))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 07:18 AM
05-26-2006 07:18 AM
Re: extend File system on MCSG VG's .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 07:28 AM
05-26-2006 07:28 AM
Re: extend File system on MCSG VG's .
There is no need to stop the package if you have OnlineJFS in place.
We are extending without bringing the packages down.
Regards
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 07:34 AM
05-26-2006 07:34 AM
Re: extend File system on MCSG VG's .
Darell is correct you can extend the FS if you have Online JFS and can be extended on the fly.Has worked well.There is no need to shutdown the package (all depends on the availabel space on the vg)
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 08:07 AM
05-26-2006 08:07 AM
Re: extend File system on MCSG VG's .
please bear with me, I'm at home now, but I'll try to redo it from memory one more time
- there is no need to bring down the package for fs extension
- it's obvious he'll have to extend the vg from his original post
- it's not neccessary to take the package down for that, either
on primary node:
##########################
ioscan -fnCdisk ; insf -e # sagi already did that
pvcreate primary paths of new PVs
vgextend the VGs to allocate space as needed
extend the file systems as needed
then:
cd /etc/cmcluster/
for vg in 01 02 03 04 05 06
do
mv vg${vg}.map vg${vg}.map_bck.$$
vgexport -p -v -s -m vg${vg}.map /dev/vg${vg}
scp vg${vg}.map second_node:${PWD}/
done
## done on primary node
#### secondary node
cd /etc/cmcluster/
for vg in 01 02 03 04 05 06
do
vgchange -a n /dev/vg${vg}
vgexport /dev/vg${vg}
mkdir /dev/vg${vg}
mknod /dev/vg${vg}/group c 64 0x${vg}0000
vgimport -v -s -m vg${vg}.map /dev/vg${vg}
vgchange -a r /dev/vg${vg}
vgcfgbackup /dev/vg${vg}
vgchange -a n /dev/vg${vg}
done
## done on secondary node
NOTES: This script is completely untested now, I'm at home and I don't run MC/SG there :)
it would be way more professional to gather the vg names from the package.ascii file, but I don't care right now, as sagi named his vg names.
I hope this is helpful for everyone that thought he had to bring down his package for extension.
I hope everyone is also aware that it might be a bright idea to take the package down during 20 minutes downtime at a later point (i.e. every two months) to safeguard against human error in the config files etc...
florian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 02:14 PM
05-26-2006 02:14 PM
Re: extend File system on MCSG VG's .
IF my memory serves me right, you cant add a PV to the VG which is was activated using the vgchange -c y option, it will give an error.
But in situations where you have additional space in the VG and want to extend a FS, it can be done online provided we have ONLINE JFS.. as pointed earlier..
correct me if I am wrong.
regards
albert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2006 03:44 PM
05-26-2006 03:44 PM
Re: extend File system on MCSG VG's .
vgchange -c y for cluster mode and activate with vgchange -a e for exclusive mode (but I think MC/SG does that in the stock configs)
Concurrent mode is pointless as sparse as real active/active cluster applications are in our part of the it world :)
can anyone name anything but oracle RAC?
(and I'm afraid running RAC without ASM is just asking for trouble.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 01:38 PM
05-30-2006 01:38 PM
Re: extend File system on MCSG VG's .
florian