- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SG - possible to change network configs with a scr...
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
тАО02-20-2008 06:36 AM
тАО02-20-2008 06:36 AM
I was wondering if i could have a script that gets executed every time the PKG changes nodes which will change the hosname of the active note to the hostname of the other node.?
EX: i have node1 and node2, node1 is active and node2 is the failover node. Node1 dies and the PKG is transfered to node2. Node2 is now active.
Is there any way to be able to change node2 hostname to node1 hostname when recieving the PKG..?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2008 06:53 AM
тАО02-20-2008 06:53 AM
Re: SG - possible to change network configs with a script?
The package has its own IP address and an associated alias name. Using this name you will always get the server where the package is running.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2008 07:21 AM
тАО02-20-2008 07:21 AM
SolutionAs already explained you should make sure everyting is tied to the virtual IP rather than the hostname of the system.
If you have software which is node-locked in some fashion you'll hve to take that up with the ISV. Refer to this section of the Serviceguard manual for more details:
http://docs.hp.com/en/B3936-90122/apcs03.html
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 06:32 AM
тАО02-21-2008 06:32 AM
Re: SG - possible to change network configs with a script?
At the moment we have node1 and node2 with one package. The package consists of all the data files needed to run the ERP app; the failover node works just fine, as we are able to move the package from node1 to node2 and vice-versa.
However, when we move the package to the failover node, the ERP system kicks into ├в demo mode├в after a few minutes of the PKG being moved. After digging around we found out that the licensing on the ERP checks for the hostname every 15min with random offset time; if the hostname doesn├в t match the one licensed it goes into ├в demo mode├в .
I have contacted the EPR software manufacturer and they have told me in several occasions that the application does not have any clustering support and that there are no plans to support it.
So I was wondering if there is any way that we could make something like a virtual hostname that gets moved alone with the package so that every time that ERP checks for the hostname it looks like it is running on the same node no matter which physical node is actually running it.
I don├в t want you to think that I am trying to violate any licensing terms since the app will only be running on one node at any given time, I am just trying to make it highly available.
Any ideas would be greatly appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 06:40 AM
тАО02-21-2008 06:40 AM
Re: SG - possible to change network configs with a script?
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1197057
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 07:11 AM
тАО02-21-2008 07:11 AM
Re: SG - possible to change network configs with a script?
To clarify, this post was about executing a script to change the network config when the PKG is moved, which answer is no since it will break SG.
The previous post was about faking a hostname in the PKG. Which it may be possible, but it all depends on which function the application calls to get that information.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 07:57 AM
тАО02-21-2008 07:57 AM
Re: SG - possible to change network configs with a script?
If they call uname(2) or gethostname(2) you have a problem, there's not much you can do about it. If they are daft enough to call system("/usr/bin/hostname") or do the check in a shell script you might be able to do something about it.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 08:22 AM
тАО02-21-2008 08:22 AM
Re: SG - possible to change network configs with a script?
I ll give it a shot and see what it comes up with.
Thanks