- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- create and add new vg on cluster environment
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
тАО01-22-2009 01:04 AM
тАО01-22-2009 01:04 AM
create and add new vg on cluster environment
we want to create and add new vg on cluster.
Please check and commnet with help.
1. Backup OS and
2. Down the Oracle
3. Oracle Database (cold/offline) into DDS4 Tape and LTO Tape.
4. Check the LUN
5. create vg primary link
#mkdir /dev/vg02
#mknod /dev/vg02/group c 64 0x030000
#vgcreate -s 16 /dev/vg02 /dev/dsk/c5t2d#
6. create lv
#lvcreate -L 102400 -n lvol1 /dev/vg02
#lvcreate -L 102400 -n lvol2 /dev/vg02
#lvcreate -L 102400 -n lvol3 /dev/vg02
#lvcreate -L 102400 -n lvol4 /dev/vg02
7. Create File system
#newfs -F vxfs -o largefiles /dev/vg02/lvol1
#newfs -F vxfs -o largefiles /dev/vg02/lvol2
#newfs -F vxfs -o largefiles /dev/vg02/lvol3
#newfs -F vxfs -o largefiles /dev/vg02/lvol4
8. Extend VG alternet link
#vgextend /dev/vg02 /dev/dsk/c7t2d#
9. Display
#pvdisplay /dev/dsk/vg02
#vgdisplay -v /dev/vg02
#lvdisplay -v /dev/vg02/lvol1
10. Create mount Distectory
#mkdir /u08
#mkdir /u09
#mkdir /u10
#mkdir /u11
11. Mount directory
#mount /dev/vg02/lvol1 /u08
#mount /dev/vg02/lvol2 /u09
#mount /dev/vg02/lvol3 /u10
#mount /dev/vg02/lvol4 /u11
#bdf
12. umount
#umount /u08, /u09, /u10, /u11
13. Export new vg
#vgexport -p -s -v -m /tmp/vg02.map /dev/vg02
14. Copy vg02.map file seconday node
# rcp /tmp/vg02.map dtf:/tmp/vg02.map
#vgchange -a n /dev/vg02
On Seconday Node:
1.Create vg
#mkdir /dev/vg02
#mknode /dev/vg02/group c 64 0x030000
#vgimport -s -v -m /tmp/vg02.map /dev/vg02
#vgchange -a r /dev/vg02
#vgcfgbackup /dev/vg02
#vgchange -a n /dev/vg02
===
After that we need edit Cluster files:
1. pkg.control file for LV
2. cluster.config file for VOLUME_GROUP
Do we need any more job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 01:07 AM
тАО01-22-2009 01:07 AM
Re: create and add new vg on cluster environment
It is a good plan. Backup and everything.
At the end you should run:
cmquerycl
cmcheckconf
cmapplyconf
To update your cluster configuration.
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
тАО01-22-2009 02:07 AM
тАО01-22-2009 02:07 AM
Re: create and add new vg on cluster environment
this is very good plan and one small thing to point out is that
make sure that before cmcheckconf and cmapplyconf also keeep this minor things in mind
1)make the mount point directories on the other node also
2)make sure that once u edit the package control file u also have the concurrent cntl file on the other node.
3)do a cmcheckconf, cmapplyconf
4)try finally by running the package on both the nodes to check that the package s shall run on the other node also in case of package failover.
regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 07:01 AM
тАО01-22-2009 07:01 AM
Re: create and add new vg on cluster environment
But when I give a volume group to the cluster I run:
vgchange -a n
vgchange -c y
I don't this command in your plan
...and I'm not sure why you feel you need to take the whole the cluster & pkg down for every step here...
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 10:20 PM
тАО01-22-2009 10:20 PM
Re: create and add new vg on cluster environment
thats true that u can do that
#vgchange -a n vgxx
followed by
#vgchange -c y vgxx
to make that VG cluster aware.
but if u have ur VG configured on node1 and properly exported with map file and imported on the node2 and have that there, then puting an entry in the cluster ascii file when u do a cmcheckconf and cmapplyconf the VG becomec a cluster aware one.
Regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2009 07:27 AM
тАО01-23-2009 07:27 AM
Re: create and add new vg on cluster environment
cmcheckconf, cmapplyconf run on cluster.conf and pkg.conf.
cmapplyconf will make the vg02 cluster aware.