- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disable IP address of package by service guard
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-06-2023 04:16 AM - last edited on 07-18-2023 09:09 AM by support_s
07-06-2023 04:16 AM - last edited on 07-18-2023 09:09 AM by support_s
In Service Guard wih 4 host and multiple package I need to disable one of 2 IP interfaces of 'mypkg' package, so I commented these two lines inside mypkg.cntl file, which is referenced as RUN_SCRIPT into 'mypkg.config'
file mypkg.cntl
...
#IP[0]="10.88.66.1 "
#SUBNET[0]="10.88.66.0"
cmcheckconf -P file
file mypkg.config
...
RUN_SCRIPT /etc/cmcluster/mypkg/mypkg.cntl
...
Then I executed these 2 commands on every host
cmcheckconf -P mypkg.config
cmapplyconf -P mypkg.config
cmhaltpkg mypkg
service on mypkg package is not listeneding so It's OK
But by "netstat -in" command, IP address "10.88.66.1" is always present in lan0 interface!
ahve you got suggestions ?
Solved! Go to Solution.
- Tags:
- Operating System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2023 10:38 AM
07-11-2023 10:38 AM
SolutionHello RiclyLeRoy,
Usually we do not have to run cmcheckconf or cmapplyconf for the modification done to control script (cntl file) of a legacy file.
You need to make sure that the updated control script is copied to all the nodes in cluster which is configured to run the package .
It seems you already commented out the IP address from control file, which would be the reason the IP address still stays up though you have halted the package . Ideally halting the package should bring down / unplumb the IP address associated with it .
You may use the steps given below to remove the VIP (Virtual IP address).
# ifconfig lan0:1 0.0.0.0 up
# ifconfig lan0:1 down
# ifconfig lan0
NIC won't be showing IP address at this time ,and won't be reported in netstat -in output .
I work for HPE/ I am an HPE Employee (HPE Community)
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:25 AM
07-24-2023 03:25 AM
Re: disable IP address of package by service guard
Hello @RiclyLeRoy,
Let us know if you were able to resolve the issue.
If you have no further query and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.