- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to build new pakage on different volume gr...
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
07-07-2008 07:57 AM
07-07-2008 07:57 AM
i have some (hope) basicaly quastions,
we have one running Pakage on MC/Serviceguard Cluster (as Failover Cluster) with Oracle DB and VolumeGroup.
My quastions are:
How can I build new(separete) pakage on another VG?
Need I another Cluster?
(I mean some steps... like 1. Create new vg
2. add to running cluster..and so on...
And: have i to shutdown running cluster if i do this? Or is posible to do it on running cluster?
Thanks for answers
Thomas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 09:02 AM
07-07-2008 09:02 AM
Solution1. Create your new volume group and file system as normal.
2. vgchange -a n /dev/
vgchange -c y /dev/
3. Create your new package
cmmakepkg -p
cmmakepkg -s
4. Edit the ascii and cntl files accordingly.
5. cmcheckconf -v -P pkg-ascii-filename
6. When you have a clean result and feel confident in your new package:
cmapplyconf -v -P pkg-ascii-filename
This will apply your new package to your existing cluster.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 09:04 AM
07-07-2008 09:04 AM
Re: How to build new pakage on different volume groups
And yes you can do all this live with things up and running.
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 10:24 AM
07-07-2008 10:24 AM
Re: How to build new pakage on different volume groups
As for LVM volume groups, you can add it to the current package, if the volume group is associated with the same operations of the first package, or, if the VG is for a different application, you can create another package in the -same- cluster. Note that a cluster of nodes cannot be members of more than one cluster.
For specific information on creating packages, see page 275 of http://docs.hp.com/en/B3936-90135/B3936-90135.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 10:48 AM
07-07-2008 10:48 AM
Re: How to build new pakage on different volume groups
@Rita: I will follow your steps.
@ Stephan: I will read the manuals/pages.
For clearness:
I have running on serv1(active) package with Oracle DB, my plan is to run another package on serv2(passive) with own VG on serv2...
its possible?
And my steps are then:
- Create VG on Serv2
- Add to existing Cluster
- Create Package on serv2, configure and mirror to serv1
Is this way correct?
Regards
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 11:26 AM
07-07-2008 11:26 AM
Re: How to build new pakage on different volume groups
Like Stephen - read the book.
To respond:
@Rita: I will follow your steps.
@ Stephan: I will read the manuals/pages.
For clearness:
I have running on serv1(active) package with Oracle DB, my plan is to run another package on serv2(passive) with own VG on serv2...
its possible?
>>>>>>Yes it is possible. Now if you want serv1 to continue to fail to serv2 that will work and your second pkg will continue to run...PROVIDED you have UNIQUE vg minor numbers and UNIQUE mountpoints for each package (..it's in the book..).
You can also set serv2 to fail to serv1. It's all up to you and can be done.
==========================
And my steps are then:
- Create VG on Serv2
- Add to existing Cluster
- Create Package on serv2, configure and mirror to serv1
Is this way correct?
>>>>>>>
1. Create VG
2. Change and give control of VG to cluster
vgchange -c y /dev/vgname
3. Create pkg on serv2.
Add line to show second server as failover node in ascii template file.
4. To run on serv1 you would
vgexport -pvs -m /etc/lvmconf/vgname.mapxxxx /dev/vgname
copy that file to serv1
copy pkg directory (ascii & cntl files) to serv1
ON SERV1:
mkdir /dev/vgname
mknod /dev/vgname/group c 64 0xnn0000
where nn is the unique minor number
vgimport -vs -m /etc/lvmconf/vgname.mapxxxx /dev/vgname
5. cmcheckconf -v -P pkg.ascii
6. cmapplyconf -v -P pkg.ascii when check runs clean.
...also make sure that any start/stop scripts for the new package, that are held outside the pkg mountpoints (like /usr/local/bin/startup-serv2-pkg.sh, etc.) are copied over to the other server as well.
...also make sure that the failover mountpoints (directories) are created on the failover node.
Hope I hit it all..
Rgrds,
Rita
.....you really need to read the manual to get the full picture....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 02:41 AM
07-08-2008 02:41 AM
Re: How to build new pakage on different volume groups
Thanks for answer :-).
I read my manuals and try to follow the steps.
Regards
T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 02:42 AM
07-08-2008 02:42 AM
Re: How to build new pakage on different volume groups
I will follow the steps (solutions).
Regards
Thomas