- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- TPC IP cluster alias address
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
10-31-2004 11:17 PM
10-31-2004 11:17 PM
I have a VMS cluster with 2 DS25 and a QUORUM disk.
Only one machine is active and in the active one a TCP server application is running (only in the active machine).
The client application, developped in Visual Basic, doesnt know in wich machine the Server is running.
It is possible to address the server by the client application using the cluster alias IP address? So the cluster should solve the problem to undersatnd where the TCP server application is running.
Thanks in advance.
maurizio carnesecchi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 11:51 PM
10-31-2004 11:51 PM
Re: TPC IP cluster alias address
The better way is to have a homegene cluster, where the application runs on both nodes.
By experience I know that the first booted machine gets all the cluster address services.
So you need to syncronize the boot sequence.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 12:29 AM
11-01-2004 12:29 AM
Re: TPC IP cluster alias address
i'm agree with you, but, the problem is that we cannot have two homogeneous systems.
The TCP server application need to be mapped in global sections only installed in the active machine.
This global sections are also mapped by many others applications in order to have a sort of online database installed in the memory.
maurizio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 01:00 AM
11-01-2004 01:00 AM
Re: TPC IP cluster alias address
Then you must synchronize the boot sequence. (I am not shure but this was a side efect in a homogene cluster, so you must try it).
You can synchronize the boot with cluster wide logical names (replace primary with your node name):
Before starting TCPIP:
$ if f$trnlnm("SYS$NODE").eqs."primary"
$ then
$ define/cluster primary_up true
$ goto secondary_ok
$ endif
$secondary_loop:
$ if f$trnlnm("primary_up").eqs."TRUE"
$ then
$ goto secondary_ok
$ else
$ wait 00:10
$ goto secondary_loop
$ endif
$secondary_ok:
If you have two startup_vms.com you can split commands so that you have on the primary node:
$ define/cluster primary_up true
and on the secondary:
$secondary_loop:
$ if f$trnlnm("primary_up").eqs."TRUE"
$ then
$ goto secondary_ok
$ else
$ wait 00:10
$ goto secondary_loop
$ endif
$secondary_ok:
Maybe will be good to implement some timeout, so the secondary will not wait for infinite, if the primary machine is broken. After timeout you can setup the secondary machin to work as the primary.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 01:04 AM
11-01-2004 01:04 AM
Re: TPC IP cluster alias address
you might want to associate the TCPIP cluster alias address with your TCP server application, i.e. during the startup or shutdown of your application enable or disable a TCPIP cluster alias dynamically.
Prior to V5.4, use the SET INT/CLUSTER and SET INT/NOCLUSTER commands, with V5.4 or higher use ifconfig xxx -alias name and ifconfig xxx -alias name delete
(need to invoke @SYS$MANAGER:TCPIP$DEFINE_COMMANDS to define symbols for the UNIX style commands).
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 02:26 AM
11-01-2004 02:26 AM
Re: TPC IP cluster alias address
We have a manifold of your situation.
- 4-node cluster
- ca 20 different applics, _MOST_ clusterwide, but several are (regrettably, but those are like yours) single-node.
And then, at times we want to do maintenance/upgrades to an applic, during which we will NOT want users in that applic on that node.
To enable this, we use DNS.
DNS has a CNAME for the cluster, that goes round-robin along the nodes (which also allows us to take one node out for maintenance!)
Clusterwide applics have CNAMES (just the applic name) to the cluster CNAME
Single-node applics have CNAMES to the currently-active node.
And, we have a menu-procedure to quickly change any of those CNAMES if needed.
HTH,
Cheers.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 05:04 AM
11-01-2004 05:04 AM
Re: TPC IP cluster alias address
But i have soemthing not clear.
I would like manage this situation as the cluster manages the telnet services.
If i try to telenet the cluster alias address, the cluster connect one of the 2 server. If the telent service is disable in one machine i think the cluster will connect always the machine where the telnet service is running.
I dont know if it is possible to do the same with my TCP server application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 05:44 AM
11-01-2004 05:44 AM
Re: TPC IP cluster alias address
Ask the Wizard #51 talks about UCX cluster alias:
http://h71000.www7.hp.com/wizard/wiz_0051.html
If you check with UCX SHOW INT/CLUSTER on both nodes of your cluster, you'll see that only one of the nodes shows up as impersonator, e.g.
UCX> sho int/clus
Packets
Interface IP_Addr Network mask Receive Send MTU
SE0 10.20.30.204 255.255.255.0 166452 4882 1500
Cluster 10.20.30.205 255.255.255.0 Impersonator
LO0 127.0.0.1 255.0.0.0 21 41 65535
This is not service-specific, so if you disable the TELNET service on the 'cluster impersonator' node, the TELNET client will still try to access that host. You can fail over the cluster address with UCX SET INT/NOCLUSTER SE0 - but this will disconnect all IP sessions established using the cluster alias.
If you include the UCX SET INT/CLUSTER=... xxx commands in your TCP server startup and shutdown (UCX SET INT/NOCLUSTER ...)procedures, you could easily switch the cluster alias together with the application.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 05:51 AM
11-01-2004 05:51 AM
Re: TPC IP cluster alias address
you mean that i should set some command on the TCP startup procedure in order to syncronize the cluster alias with the address where my application is running?
Sorry if i maybe i missunderstood but it is not so clear to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 06:01 AM
11-01-2004 06:01 AM
Re: TPC IP cluster alias address
yes. Depending on your version of TCPIP, just use the appropriate commands to activate the cluster alias during your TCP server application startup and disable the alias in your TCP server application shutdown procedure.
Which version of TCPIP are you running ($ TCPIP SHOW VERS) ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 06:18 AM
11-01-2004 06:18 AM
Re: TPC IP cluster alias address
I dont know my TCP version, and i can check it only tomorrow morning when i will be in the office. Now i m at home.
Anyway the operating system is an OpenVMS 7.3 and TCP should be last available with that OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 08:20 AM
11-01-2004 08:20 AM
Re: TPC IP cluster alias address
do your applications connect to an IP address or to "a" name, (the cluster alias)?
If you use names (and I think you REALLY should!!), then WHERE do you define your names? In every local .HOST , or in a DNS server?
Cheers.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 07:17 PM
11-01-2004 07:17 PM
Re: TPC IP cluster alias address
It is on load balancing but your problem is likewise: ANY node in your cluster would be able to serve your VB application. But which one....
The cluster will be addressed when using the cluster IP address, and one machine - normally the one with most free resources - will react - sending it's IP address, bnot the cluster's one. This differs from the sending address, so the requestor - your application - should have to deal with that.
It won't, I'm afraid.
The IP definitions - developed in a Unix environment long time ago - don't take clustering into account. Therefore you need some concept like "impersonator" - OUTSIDE the cluster software. (For what I know (I have no experience in that area) DECNet handles the same concept internally - and transparantly)
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 07:36 PM
11-01-2004 07:36 PM
Re: TPC IP cluster alias address
as you're not using TCPIP V5.4, you can use the TCPIP SET INT/CLUSTER commands to dynamically set up the cluster alias on the node, where your TCP server app is running:
Assuming you have an IP interface called WE0
n.n.n.n is your cluster IP adress
$ TCPIP SET INT/CLUSTER=n.n.n.n WE0
start your TCP server app
have the clients connect to n.n.n.n
(test it with TELNET n.n.n.n first)
shutdown your TCP server app
$ TCPIP SET INT/NOCLUSTER=n.n.n.n WE0
Then issue the same commands on the other node in the cluster, if you want to run your TCP app over there. As your application can only run on ONE node in the cluster at a time, this setup should satisfy your needs.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 08:01 PM
11-01-2004 08:01 PM
Re: TPC IP cluster alias address
Here we have a somewhat similar situation.
What we do is:
- assign each application an IP address and name that are defined in our DNS
- before an application is started on one of our cluster nodes, we "map" the application's IP address on the main interface:
ifconfig WE0 alias
- then we start the application
- after the application is halted, we remove the IP address from the main interface:
ifconfig WE0 -alias
So clients always connect to the application name and thus to the correct node.
Greetz,
Kris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 01:30 AM
11-02-2004 01:30 AM
Re: TPC IP cluster alias address
I tryed to use the command u suggest to me but i got this error:
-TCPIP-I-NOMORE, parameter or qualifier NOCLUSTER no longer supported; see the documentation for valid options and re-enter command
my TCPIP version is the following one:
HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 1
on a AlphaServer DS25 running OpenVMS V7.3-2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 01:48 AM
11-02-2004 01:48 AM
Re: TPC IP cluster alias address
with TCPIP V5.4 and the failSAFE IP functionality, the TCPIP SET INT/CLUSTER commands are no longer supported and may even cause to destroy the active IP interface config, if executed in the running system.
For V5.4, use these commands (assuming WE0 is your IP interface):
$ @SYS$MANAGER:TCPIP$DEFINE_COMMANDS
$ ifconfig we0 alias n.n.n.n/nn
start your server
To fail over to the other node:
stop your server
$ ifconfig we0 -alias n.n.n.n delete
Help is available with $ TCPIP HELP IFCONFIG
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 01:49 AM
11-02-2004 01:49 AM
Re: TPC IP cluster alias address
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 02:23 AM
11-02-2004 02:23 AM
Re: TPC IP cluster alias address
I tryed your command:
> @SYS$MANAGER:TCPIP$DEFINE_COMMANDS
> ifconfig IE1 -alias 10.2.199.5 delete
But when i do that i lost the connection to the machine.
The address 10.2.199.5 was the address defined during TCPIP$CONFIG
C_Addr:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 03:16 AM
11-02-2004 03:16 AM
Re: TPC IP cluster alias address
Did anyone else lose the connection?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 03:28 AM
11-02-2004 03:28 AM
Re: TPC IP cluster alias address
It was the same interface where i was connected ...... i know was as stupid action ... but the address was the address definied for the cluster alias.
But now i finally understood how to do:
@SYS$MANAGER:TCPIP$DEFINE_COMMANDS
ifconfig IE1 alias 10.2.199.11
..and start my server application ...
.....
...when i close the application
ifconfig IE1 -alias 10.2.199.11
the same action must
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 03:32 AM
11-02-2004 03:32 AM
Re: TPC IP cluster alias address
It was the same interface where i was connected ...... i know was as stupid action ... but the address was the address definied for the cluster alias.
But now i finally understood how to do:
@SYS$MANAGER:TCPIP$DEFINE_COMMANDS
ifconfig IE1 alias 10.2.199.11
..and start my server application ...
.....
...when i close the application
ifconfig IE1 -alias 10.2.199.11
the same action must be done in both the servers.
I think in this way the client application always see 10.2.199.11 as address for the TCP server.
I think this was what Volker suggest to me
maurizio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 03:34 AM
11-02-2004 03:34 AM
Re: TPC IP cluster alias address
$ Ifconfig IE1 -alias 10.2.199.11
be
$ Ifconfig IE1 -alias 10.2.199.11 delete
?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 03:48 AM
11-02-2004 03:48 AM
Solutionglad this worked the way you need it to.
$ ifconfig we0 -alias 10.2.199.11 is sufficient to remove the alias.
You can also use
$ ifconfig we0 -alias 10.2.199.11 abort
to cleanly abort all TCP connections using this alias.
Specifying ... DELETE will also do other things. Read the TCPIP HELP IFCONFIG PARAM
Note that you'll get an OPCOM message when adding (%TCPIP-I-FSIPADDRUP) or deleting (%TCPIP-I-FSIPADDRDEL) an alias - a nice feature by the way !
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 03:56 AM
11-02-2004 03:56 AM
Re: TPC IP cluster alias address
both
$ Ifconfig IE1 -alias 10.2.199.11
and
$ Ifconfig IE1 delete 10.2.199.11
do the same thing. It also says active communication using that address will be aborted. It does not state what affect if any on users of other addresses.
Purely Personal Opinion