HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SG package and multiple lan IPs
Operating System - HP-UX
1838652
Members
4105
Online
110128
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
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-25-2004 05:40 AM
10-25-2004 05:40 AM
SG package and multiple lan IPs
Hi,
I'm sure this can be done, i just need to confirm the steps.
I have 1 cluster with 2 packages, for a short time, my customer needs the packages to have 2 IPs each.
I know in the configuration of package this can be done, but my SG is rusty and need to confirm a few things.
1- to make this work, for the second set of IPs do i absolutely need a seporate lan card or can i use aliased lan cards, say lan1:1 ?
2- does the cluster or package have to be completely down for me to push these changes out? (im assuming yes)
Thanks in advance,
Richard
I'm sure this can be done, i just need to confirm the steps.
I have 1 cluster with 2 packages, for a short time, my customer needs the packages to have 2 IPs each.
I know in the configuration of package this can be done, but my SG is rusty and need to confirm a few things.
1- to make this work, for the second set of IPs do i absolutely need a seporate lan card or can i use aliased lan cards, say lan1:1 ?
2- does the cluster or package have to be completely down for me to push these changes out? (im assuming yes)
Thanks in advance,
Richard
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 05:45 AM
10-25-2004 05:45 AM
Re: SG package and multiple lan IPs
Hi Richard,
1. If you are using an IP in a different subnet, then you will need to have another lan card. But if it is in the same lan as of the previous one, then another logical interface will be created for it. For ex., lan0:2
2. No. You don't need the cluster to be down. Add the IP to your package control file. Then use 'cmmodnet' to add it manually
cmmodnet -a -i
However, when you get a chance, make sure you do a failover testing to ensure the integrity of your control file. Before bringing up the package make sure you don't have the second IP still sticking in there using 'netstat -in' command.
-Sri
1. If you are using an IP in a different subnet, then you will need to have another lan card. But if it is in the same lan as of the previous one, then another logical interface will be created for it. For ex., lan0:2
2. No. You don't need the cluster to be down. Add the IP to your package control file. Then use 'cmmodnet' to add it manually
cmmodnet -a -i
However, when you get a chance, make sure you do a failover testing to ensure the integrity of your control file. Before bringing up the package make sure you don't have the second IP still sticking in there using 'netstat -in' command.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 05:50 AM
10-25-2004 05:50 AM
Re: SG package and multiple lan IPs
Hi Richard,
you can use the ifconfig command to assign an additional ip address to the lan card.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&con=/hpux/onlinedocs/B9106-90008/00/01/165-con.html&toc=/hpux/onlinedocs/B9106-90008/00/01/165-toc.html&searchterms=ifconfig&queryid=20041025-114712
To do this in a SG env, it would be good if you have a new lan card, but if you don't, you can still assign this to the lan card. to do this use the cust_defined_run_cmds sections to add a ifconfig command and assign an additional ip address to the lan card.
You don't need to shutdown the cluster for this. Do the change manually for the timebeing and then edit the cluster startup script to add this ip address manually when the cluster / package is restarted.
Hope this helps.
Regds
you can use the ifconfig command to assign an additional ip address to the lan card.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&con=/hpux/onlinedocs/B9106-90008/00/01/165-con.html&toc=/hpux/onlinedocs/B9106-90008/00/01/165-toc.html&searchterms=ifconfig&queryid=20041025-114712
To do this in a SG env, it would be good if you have a new lan card, but if you don't, you can still assign this to the lan card. to do this use the cust_defined_run_cmds sections to add a ifconfig command and assign an additional ip address to the lan card.
You don't need to shutdown the cluster for this. Do the change manually for the timebeing and then edit the cluster startup script to add this ip address manually when the cluster / package is restarted.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 05:57 AM
10-25-2004 05:57 AM
Re: SG package and multiple lan IPs
Richard,
Sri has it.
You can edit the package control script and add the entries for the second package IP address
IP[0]=
SUBNET[0]=
IP[1]=
SUBNET[1]=
These IP addresses are added as virtual IP addresses to the lan cards by the cmmodnet command.
cmmodnet determines the lan card to which these virtual addresses should be assigned based on the stationary IP address that is currently assigned to the lan card
For ex, with IP[0], cmmodnet searches for the lan card with the matching subnet mask, and add IP[0] as the virtual IP address.
With IP[1], cmmodnet does exactly the same. So , if you need to have the second package IP address in a different subnet, you need to have a lan card with the stationary addresses assigned to it from the same subnet.
Though these changes could be done online when the package is up, I would rather suggest making the changes and starting the package again, if you can.
- Sundar
Sri has it.
You can edit the package control script and add the entries for the second package IP address
IP[0]=
SUBNET[0]=
IP[1]=
SUBNET[1]=
These IP addresses are added as virtual IP addresses to the lan cards by the cmmodnet command.
cmmodnet determines the lan card to which these virtual addresses should be assigned based on the stationary IP address that is currently assigned to the lan card
For ex, with IP[0], cmmodnet searches for the lan card with the matching subnet mask, and add IP[0] as the virtual IP address.
With IP[1], cmmodnet does exactly the same. So , if you need to have the second package IP address in a different subnet, you need to have a lan card with the stationary addresses assigned to it from the same subnet.
Though these changes could be done online when the package is up, I would rather suggest making the changes and starting the package again, if you can.
- Sundar
Learn What to do ,How to do and more importantly When to do ?
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