- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Is it possible to mask the physical hostname?
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
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
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-13-2004 09:58 AM
тАО02-13-2004 09:58 AM
Is it possible to mask the physical hostname?
In any case, while we have a virtual IP address (and DNS name) for the package, the Oracle software always sees the actual hostname of the node that the package is running on. There's a number of good reasons why this is not desirable (which I'd be happy to explain if anyone is interested,) but what I'd like to know is whether it is possible to assign a "virtual hostname" to the S.G. Package so that any application run from within the package always sees the same hostname (say via gethostname) regardless of which physical node the package is running on?
Long winded question, I know. But I'm a DBA and not a unix admin and I don't know how to ask the question better than that...;-)
Any help would be GREATLY appreciated.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2004 10:11 AM
тАО02-13-2004 10:11 AM
Re: Is it possible to mask the physical hostname?
I am not a DBA but we have many implementations of oracle database in serviceguard packages and this concern was never raised by our DBAs.
They basically configure everything like listeners etc., over the virtual Name/IP and the package will take care of moving the virtual IP wherever it runs. For ex., our listeners run on the floating IP rather than the stationary IP.
gethostname() gets the information that was already setby sethostname() during the startup or later. Using sethostname() later means changing the hostname of the system. So, I don't see how you can do it.
If this is for the script, then you can verify if the floating IP/name is available on the server by using a 'netstat -i|n" command.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2004 10:17 AM
тАО02-13-2004 10:17 AM
Re: Is it possible to mask the physical hostname?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2004 10:19 AM
тАО02-13-2004 10:19 AM
Re: Is it possible to mask the physical hostname?
The concurrent processors / apps listener uses that hostname to construct names for networking operations and this is where the problem arises since I want a name constructed that will resolve to the virtual IP/DNS name but I'm getting names that map to the physical nodes. This wouldn't be a problem except that when a failover from the primary to the secondary node occurs the connection name cached on the Apache / Java tier is invalidated and Apache must be bounced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2004 10:25 AM
тАО02-13-2004 10:25 AM
Re: Is it possible to mask the physical hostname?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2004 11:57 PM
тАО12-25-2004 11:57 PM
Re: Is it possible to mask the physical hostname?
I am facing a similar problem as urs and can u pls tell me what u did finaly to get it working.
thanks in advance.
Satish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2004 03:50 PM
тАО12-26-2004 03:50 PM
Re: Is it possible to mask the physical hostname?
I had come across a similar situation for Oracle 9i. Please follow the below thread which I opened at that time.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=469278
In short, HP is aware of such a requirement. But the database/Application vendor has to handle the problems arising out of change in hostname.
As for serviceguard, The SG commands stops working on the node where hostname was modified. Not sure what other problems may come, for example - syslog, swagent etc.
So Oracle interpositioning library is the best bet. Read through that thread and make your decision.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 02:19 AM
тАО12-28-2004 02:19 AM
Re: Is it possible to mask the physical hostname?
Can u pls tell me that is it work on Oracle E-Bussiness Suit???I have oracle EBS and for databse i am using veritas cluster server.However for oracle application 11.5.9, i want to install and configure it on a virtual hostname with a virtual IP which will float along with the active node.so if u have any idea how to accomplish this. i m using hpux 11i .any suggestion is welcome.
Regs
satish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 07:23 AM
тАО12-28-2004 07:23 AM
Re: Is it possible to mask the physical hostname?
Virtual IP...haven't done that. Virtual hostname - yup done that.
For our failover locally or to our other site we rely strictly on the package name for resolution. Our tnsnames, resolves to the packages name..everything that must resolves to pkg name. And the package name is the same..on the local cluster or the remote cluster !
It makes for (IMHO) a cleaner failover.
We ran into a problem when they went with (yuck..!) Oracle Financials, which does not support failover between nodes. But we discovered a little known and even less used option for this version of Oracle (which I think is 10), and that is 'virtual hostname'.
We set the virtual hostname the same as the package name, and installed the software using that. And voila....contrary to what the Oracle DBA touted couldn't be done...it fails over - neat and clean.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 06:34 AM
тАО12-29-2004 06:34 AM
Re: Is it possible to mask the physical hostname?
you are talking about which oracle application or oracle database??oracle application is altogether a diffirent product.it uses real hostname for some internal processes. is anyone have any idea how to work around it.i have oracle application 11.5.9.
Regs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 09:19 AM
тАО12-29-2004 09:19 AM
Re: Is it possible to mask the physical hostname?
So, when server b does it's service guard thing for server a, I just use the "hostname" command in the package to change the hostname (temporarily to "a"). Simple, easy, works like a charm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 09:42 AM
тАО12-29-2004 09:42 AM
Re: Is it possible to mask the physical hostname?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 06:22 PM
тАО12-29-2004 06:22 PM
Re: Is it possible to mask the physical hostname?
Thanks a lot for ur time.i tried chaging hostname by command "hostname test" but even after this concurrent manager picks the hostname from "uname -n" which always come out with original hostname instead of "test".the oracle host interpositioning libraries are for infrastructure only.will it work with oracle EBS???its ver is oracle application 11.5.9.this is really turning out to be a tough task.if any one can help i will be bery grateful.
regs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 07:45 PM
тАО12-29-2004 07:45 PM
Re: Is it possible to mask the physical hostname?
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 08:25 PM
тАО12-29-2004 08:25 PM
Re: Is it possible to mask the physical hostname?
We already have done a veritas cluster for Database.now i want to use the same cluster nodes to run oracle application also.like i have server A and B for DB cluster.i want to run oracle application from server A.but in case of failure i want to run the same application from Server B. as veritas will faliover the DB to B, i will also add a script which will start the oracle apps on server B.for this i want to configure and run oracle application on a virtual hostname and ip which will float with the active cluster node.if you need any further clarification pls let me know. we cant use oracle RAC as this dont work on file system and our manager dont want a raw filesystem.
Regs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 08:49 PM
тАО12-29-2004 08:49 PM
Re: Is it possible to mask the physical hostname?
I'm not talking about Oracle RAC - the applications side of the database will do load balancing simply by running on both nodes at once - this functions in a similar way to load balancing on web farms - that is the requests are routed to one of the actual appliction servers and they both run all the ame services - I'm fairly sure the EBS has everything built in to do this, and this is how it is normally deployed. You can still operate a cold failover database on the same systems in this configuration.
HTH
Duncan
I am an HPE Employee
