- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgextend in a cluster
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
тАО03-24-2010 06:09 PM
тАО03-24-2010 06:09 PM
I have version 11.14 of mcsg. I need to add a new LUN to an existing vg in an existing active cluster/package. Does the package need to come down?
I looked online and found this. Is this accurate for 11.14 hpux 11.11 online jfs?
thanks!
On Command View EVA
a)--Create Vdisk at required size
b)- Present Vdisk to the host
c)- do a ioscan, insf to make LUN's visible on both nodes;
d)--If you have autopath then do otherwise skip this step
#autopath discover
#autopath display
e)-- cmhaltpkg pkg (halt package, holding this group)
f) ---vgchange -c n vg01
g)-- vgchange -a y vg01
h)-- pvcreate /dev/rdsk/c10t3d8 ---------substitute the correct value
i) --vgextend vg01 /dev/dsk/c10t3d8 -----take care to add all the alternative links if you are using pvlinks but in case of autopath a single device file should take care this
j)-- lvextend -l 200 /dev/vg01/lvol1
k)-- extendfs /dev/vg01/lvol1
l)- export in PREVIEW mode volume group and create map file of the group;
- on the other node(s) export same group, recreate /dev/vg01/group node and import group from map file.
m)-- vgchange -a n vg01
n)---vgchange -c y vg01
0)-- cmmodpkg -e -v pkgname
http://docs.hp.com/en/ha.html#Serviceguard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 06:55 PM
тАО03-24-2010 06:55 PM
SolutionIt depends (if you want "cluster aware logical volume used immediate)you need to "cmhaltpkg" & "cmrunpkg" or if you have any planned down time you can do also on that time.
performing "LVM" activities, doesn't really require pkg downtime. Only thing is newly created cluster aware logical volume will be can be manually mounted.
Once disk presented to host,
# pvcreate /dev/rdsk/cxtxdx
# vgextend /dev/vgname /dev/dsk/cxtxdx
# lvcreate -L
# newfs -F vxfs -o largefiles /dev/vgname/rlvname
# cp -p /etc/cmcluster/pkgname/pkg.cntl /etc/cmcluster/pkgname/pkg.cntl.org
# vi /etc/cmcluster/pkgname/pkg.cntl
LV[33]=/dev/vgname/lvname; FS[33]=/oracle/ABN/sapdata20; FSMOUNT_OPT[33]="-o convosync=direct,mincache=direct,delaylog,nodatainlog"
(Add newly create Logical volume to pkg.cnt.file)
# vgexport -p -s -v -m /tmp/vgname.map /dev/vgname
# rcp /tmp/vgname.map nodee2:/tmp/vgname.map
# cp -p /etc/cmcluster/pkgname/pkg.cntl /etc/cmcluster/pkgname/pkg.cntl.node2
# rcp /etc/cmcluster/pkgname/pkg.cntl.node2 nodee2:/tmp/
(mount the mount mpoint manually on the node where the vg is active now
# mount -o convosync=direct,mincache=direct,delaylog,nodatainlog /dev/vgname/lvolname /oracle/ABN/sapdata20
On Adoptive Node :-
# vgexport /dev/vgname
# mkdir /dev/vgname
# ll /dev/vg*/group
# mknode /dev/vgname/group c 64 0x0X0000
# vgimport -p -s -v -m /tmp/vgname.map /dev/vgname -> (preview) if no error proceed below by removing -p
# vgimport -s -v -m /tmp/vgname.map /dev/vgname
# cp /tmp/pkg.cntl.node2 /etc/cmcluster/pkgname
# cp -p /etc/cmcluster/pkgname/pkg.cntl /etc/cmcluster/pkgname/pkg.cntl.org
# mv /etc/cmcluster/pkgname/pkg.cntl.node2 /etc/cmcluster/pkgname/pkg.cntl
HTH,
Rdgs,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 07:37 PM
тАО03-24-2010 07:37 PM
Re: vgextend in a cluster
Just do LVM things normally, and do not forget the map file.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 07:19 PM
тАО03-25-2010 07:19 PM
Re: vgextend in a cluster
Do you have online JFS ,if you have you can extend vg without downing the cluster or package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2010 07:18 AM
тАО04-14-2010 07:18 AM
Re: vgextend in a cluster
I want to vgextend vg01, then lvextend then fsadm to 120Gb.
vg01 is now in available,exclusive mode.
can i vgextend this without taking the package offline, and the vg taken away from cluster?
thanks for the clarification!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2010 11:35 AM
тАО04-14-2010 11:35 AM
Re: vgextend in a cluster
Since this a vgextend you need to bring down the package . I think this is the safe.
Johnson, has given the correct steps.
Thanks
Ravi