- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- virtual hosts
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
11-14-2005 08:58 PM
11-14-2005 08:58 PM
We have a 2 nodes Tru64 cluster and we would configure three virtual hosts, one for the cluster and one for each node.
We added three entries to the DNS and /etc/hosts containing the new IPs and hostnames.
From my client:
>ping gesau004v
Pinging gesau004v.it.mobile.marconi.com [10.31.239.244] with 32 bytes of data:
Request timed out.
Request timed out.
>telnet gesau004v
Connecting To gesau004v...Could not open a connection to host on port 23 : Connect failed
Why did pinging and telnet fail?
I have not registered the virtual hostnames with cluamgr.
Could this be the problem? If yes, should I use this command just for
the cluster virtual hostname, or for all virtual hostnames?
Thanks.
Giuseppe
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 12:27 AM
11-15-2005 12:27 AM
Re: virtual hosts
What do you mean "We added three entries to the DNS and /etc/hosts containing the new IPs and hostnames."?
DNS and /etc/hosts entries are just for address resolving.
In your case you MUST create those IP aliases using cluamgr.
I can give you instructions if neded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 12:31 AM
11-15-2005 12:31 AM
Re: virtual hosts
Normally this would involve two cluamgr commands. The first to declare the alias and the second to restart routing services which make the aliases available to anyone outside of the cluster:
cluamgr -a alias={alias_name},join
cluamgr -r restart
Don't forget to add the first command to /etc/clu_alias.config if you want these aliases to start on reboot. Or both commands to a caa script if they will be started on demand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 12:31 AM
11-15-2005 12:31 AM
Re: virtual hosts
Add the entry for the new alias en /etc/hosts:
On each member run:
/usr/sbin/cluamgr -a alias=hostname.example.com,rpri=2,selw=3,selp=1,join,virtual=f
Add the lines in /etc/clu_alias.config
See the cluamgr man page for a description of the parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 12:57 AM
11-15-2005 12:57 AM
Re: virtual hosts
I am a little bit confused about the commands I should execute
Here is what I have:
Cluster virtual hostname=gesau003v
(it should redirect to node1 or node2 with the same probability);
node1 virtual hostname=gesau004v;
node2 virtual hostname=gesau005v.
What are the exact commands and should I execute the same commands on each node?
Thanks a lot.
Giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 01:13 AM
11-15-2005 01:13 AM
Solution/usr/sbin/cluamgr -a alias=clugesau003v,rpri=2,selw=3,selp=1,join,virtual=f
On node2 run:
/usr/sbin/cluamgr -a alias=clugesau003v,rpri=1,selw=3,selp=1,join,virtual=f
The priority are the same (selp) and you will get 3 connections to one server (selw) then will go to the other server. Node1 will manage the routing for the aliase (rpri)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 01:23 AM
11-15-2005 01:23 AM
Re: virtual hosts
If you want that alias redirects to node1 or node2 with the same probability, you should use DNS round-robin (which is prefered method for me) or metric+loadbroker.
These limitations are caused by limitations of IP protocol itself.
What will this cluster be used for (Oracle RAC, web server ...)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 02:11 AM
11-15-2005 02:11 AM
Re: virtual hosts
Ivan, why don't I have to execute:
/usr/sbin/cluamgr -a gesau004v ...
/usr/sbin/cluamgr -a gesau005v ... ?
How does the network know that gesau004v is node1?
Thanks.
Giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 02:18 AM
11-15-2005 02:18 AM
Re: virtual hosts
For example:
node1 192.168.1.1
node2 192.168.1.2
Alias 192.168.1.3
When you run on node1, you are telling that you want to join to alias 192.168.1.3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 02:30 AM
11-15-2005 02:30 AM
Re: virtual hosts
But the hostname for node1 is not gesau004v:
it is gesau004.
..and hostname for node2 is not gesau005v:
it is gesau005.
gesau004 and gesau004v have different IP.
gesau005 and gesau005v have different IP.
Do you understand what I mean?
Bye Ivan.
Giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 04:46 AM
11-15-2005 04:46 AM
Re: virtual hosts
On gesau004
ifconfig eeN alias ip-of-gesau004v netmask xxx.yyy.z00
On gesau003
ifconfig eeN alias ip-of-gesau003v netmask xxx.yyy.z00
Put above commands in /etc/inet.local for reuse at next reboot.
Rgds,
____ Johan./
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 04:56 AM
11-15-2005 04:56 AM
Re: virtual hosts
If you want to have 1 IP for the two machines and balance the load, use cluamgr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 07:40 PM
11-15-2005 07:40 PM
Re: virtual hosts
Have a nice day.
Giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 10:48 PM
11-15-2005 10:48 PM
Re: virtual hosts
I ran cluamgr for each virtual host and fixed the problem.
Bye.
Giuseppe