Operating System - HP-UX
1832993 Members
2389 Online
110048 Solutions
New Discussion

Re: Move X25 link from one host to another ...

 
SOLVED
Go to solution
Tom Horan
Frequent Advisor

Move X25 link from one host to another ...

Hi all,
I'm looking for some help regarding an X25 link. I know nothing about X25, so be gentle.

I've got an N-class box runing UX 11.0, and have a single X25 link out the back. The application which uses this connection is moving to another host (rp5470, also 11.0), so I need to move the link with it. The new host has an X25 card, but I just wondering what configuration files I need to copy configure/copy across. Also, looking for tips on how to test the link etc, ie; is there a ping on X.25 ??

Any help appreciated,
Thanks.
Tom
9 REPLIES 9
Chris Wilshaw
Honored Contributor
Solution

Re: Move X25 link from one host to another ...

The config files are all located in /etc/x25, and can simply be copied to the new host (we did this with a number of servers when we migrated from 10.20 to 11.00 a few years back, and there were no issues then).

There are a number of x25 commands that you can use (located in /usr/sbin once the X25 software is installed)

These are;

x25check
x25ifstate
x25init
x25mibstat
x25ping
x25server
x25stat
x25stop
x25trace
x25tune
Tom Horan
Frequent Advisor

Re: Move X25 link from one host to another ...

Thanks.

What's the unique identifier for a host ? I have another X.25 box which it needs to reach so I'd like to be able to ping this as a test once I switch over.

Tom
Luk Vandenbussche
Honored Contributor

Re: Move X25 link from one host to another ...

Tom,

You can ping to another host if you are using ip over X25.
You only need the know the setup off your X25 IP WAN.
Volker Borowski
Honored Contributor

Re: Move X25 link from one host to another ...

Tom,

it depends if you are using IP over X25 you can configure the card with SAM quite straight forward. If you use X.29 apps i.E. to allow dial-in from Public PAD terminals, there is nothing like IP.
The PAD simply dials your X.25 number and your x.29-server returns a terminal session.
No ping, just dial and connect.

Check your running application for active processes (grep words "x25" "x.25" "x29" x.29" ... )

Has been a while I dealt with x.25 and maybe some stuff is diffrent now (my old box used x25 on HP-UX 9.x).
May be Paula can give you a helping hand. She has some X.25 application runnning.

Good hunting
Volker
Tom Horan
Frequent Advisor

Re: Move X25 link from one host to another ...

I'm not aware of any IP over the link, the application is a mediation system which talks to the telecom switches.

Just looking for some sort of test once I've swapped the config files over.

The application people dont inspire confidence, so looking to test at a lower level.

Thanks for the replies.

Tom
Jim Keeble
Trusted Contributor

Re: Move X25 link from one host to another ...

There's also usually a config file called /etc/rc.config.d/x25 that tells the link to start at boot time (by calling x25init -c ), although sometimes the x25init is done by application startup scripts instead.

There are also 2 slightly different versions of X25 hardware for HP 9000's. All the info you've gotten is correct for both so far. But if you run "ioscan -fk" and find that the "class" of the card is "acc" instead of "psi", then there is an additional level of configuration in the /opt/acc/cfg directory. Chapter 2 of the ACC installation and configuration guide (docs.hp.com) details these config files and walks you through a HW and software verification routine.
Tom Horan
Frequent Advisor

Re: Move X25 link from one host to another ...

They're both PSI - thanks Jim.
marie-noelle jeanson_1
Trusted Contributor

Re: Move X25 link from one host to another ...

Tom,

The X.25 config file is in general named /etc/x25/x25config_[i] (though this is configurable). Running SAM will show you the configuration file name in use.
When you configure X.25,you define
- an X.25 address: 250502 for instance, also referred as X.121 address
- a programmatic interface name (usually, interface[i] for card #i), used for programmatic access
- an IP address associated with the X.25 port

Run "x25stat -c" to check the active configuration parameters.

To test the X.25 link at the X.25 level (below IP), you can run x25ping (type "man x25ping" for details). It is similar to a ping but tests also the X.25 level.

Or you can use the utilities x25check and x25server.
x25server is a process waiting for call requests from x25check. It must be started before x25check is executed.

On one server, run x25server.
On the other server, run x25check:
- Enter the X.121 address of the remote node (250502 for instance)
- Enter the interface name (interface0 for instance)

If more questions are asked (like "use reverse charging?"), check the value in the x25config file or in SAM.

Hope this helps,

Marie-Noelle
Tom Horan
Frequent Advisor

Re: Move X25 link from one host to another ...

Sounds good !

Thanks everyone.

Tom