HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help needed with modify sh file
Operating System - HP-UX
1836645
Members
1715
Online
110102
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
10-29-2006 01:46 PM
10-29-2006 01:46 PM
Hi all
Last friday,i added a package with new vg into the product environment. but today morning i just found there is a mistake in the sh file which i need modify
----------------------------------------------
# VOLUME GROUPS
# Specify which volume groups are used by this package. Uncomment VG[0]=""
# and fill in the name of your first volume group. You must begin with
# VG[0], and increment the list in sequence.
#
# For example, if this package uses your volume groups vg01 and vg02, enter:
# VG[0]=vg01
# VG[1]=vg02
#
# The volume group activation method is defined above. The filesystems
# associated with these volume groups are specified below.
#
#VG[0]=""
VG[0]=vg10
VG[1]=vg20
-----------------------------------------
VG[0]=vg10 is another package vg name which should not shows in this package sh file
my question is
1) need I must delete this entry?
2) if yes,can I modify it online?any stop cluster or package needed? I'm always confused with when I need stop cluster and when not.I'm appreciated if any further help on this.
3) if can modify online, if just run the below commond is ok?
#cmapplyconf -v -C /etc/cmcluster/cluster.ascii -P /etc/cmcluster/pkg_bopr1.sh
Last friday,i added a package with new vg into the product environment. but today morning i just found there is a mistake in the sh file which i need modify
----------------------------------------------
# VOLUME GROUPS
# Specify which volume groups are used by this package. Uncomment VG[0]=""
# and fill in the name of your first volume group. You must begin with
# VG[0], and increment the list in sequence.
#
# For example, if this package uses your volume groups vg01 and vg02, enter:
# VG[0]=vg01
# VG[1]=vg02
#
# The volume group activation method is defined above. The filesystems
# associated with these volume groups are specified below.
#
#VG[0]=""
VG[0]=vg10
VG[1]=vg20
-----------------------------------------
VG[0]=vg10 is another package vg name which should not shows in this package sh file
my question is
1) need I must delete this entry?
2) if yes,can I modify it online?any stop cluster or package needed? I'm always confused with when I need stop cluster and when not.I'm appreciated if any further help on this.
3) if can modify online, if just run the below commond is ok?
#cmapplyconf -v -C /etc/cmcluster/cluster.ascii -P /etc/cmcluster/pkg_bopr1.sh
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2006 06:59 PM
10-29-2006 06:59 PM
Solution
) need I must delete this entry?
YES, change it to read VG[0]=vg20 if this is the vg you need to have there.
2) if yes,can I modify it online?
YES
any stop cluster or package needed?
NO
3) if can modify online, if just run the below commond is ok?
#cmapplyconf -v -C /etc/cmcluster/cluster.ascii -P /etc/cmcluster/pkg_bopr1.sh
No you do not need to do this. You use cmapplyconf with the package configuration file and NOT the control script. Also, as you are only changing the script, this is also not necessary. Just remember to make the SAME change to the script on the other nodes or copy the modified script to the other nodes.
YES, change it to read VG[0]=vg20 if this is the vg you need to have there.
2) if yes,can I modify it online?
YES
any stop cluster or package needed?
NO
3) if can modify online, if just run the below commond is ok?
#cmapplyconf -v -C /etc/cmcluster/cluster.ascii -P /etc/cmcluster/pkg_bopr1.sh
No you do not need to do this. You use cmapplyconf with the package configuration file and NOT the control script. Also, as you are only changing the script, this is also not necessary. Just remember to make the SAME change to the script on the other nodes or copy the modified script to the other nodes.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP