View previous topic :: View next topic
|
Author |
Message |
henry888
New User
Joined: 21 Sep 2009 Posts: 51 Location: china
|
|
|
|
Hello,
the connection host name is like XXXXXXX.XX.XXX.com,and after connected,there are lots of LPARs for selection, the LPARs may be used for different business use like develop,test,product...
and I want to know the IP of the specified LPAR named TSOB9,how can I get it?
Any suggestion?
Thanks... |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
1. Contact your site support group and ask them.
2. Bring up a command prompt on your PC and enter ping TSOB9
3. IIRC, entering netstat conn from a TSO READY prompt (or ISPF option 6) -- after signing onto TSOB9 -- will give you the listener IP address -- but I'm not sure about that since I'm not on a mainframe right now. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
After signing onto my mainframe, NETSTAT CONN doesn't directly give you the IP address of the box -- but some of the connections have it embedded in the output of the command. Almost all the common listeners (FTP, SMTP, etc) use 0.0.0.0 to indicate they listen to their port no matter what IP address but telnet connections have the IP address for both ends of the connection listed. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Don't know if this will help any ....
I browsed the output of the TCPIP task, DDNAME DFGPRINT, and the first line states:
EZZ0162I HOST NAME FOR TCPIP1 IS hostname
from there I just pinged hostname, and got the actual address back. |
|
Back to top |
|
|
henry888
New User
Joined: 21 Sep 2009 Posts: 51 Location: china
|
|
|
|
Hi Robert & superk,
Thanks for your useful information...
As superk mentioned above when you know the hostname you can ping by this name and get the IP address.
Another question is how I can get the hostname for each LPAR?
I remember that some members in system library contains such information,but I don't know which ones...Could someone guides?
it contains different servers port... |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Quote: |
I remember that some members in system library contains such information,but I don't know which ones...Could someone guides?
|
That is site depending. Ask your support. |
|
Back to top |
|
|
henry888
New User
Joined: 21 Sep 2009 Posts: 51 Location: china
|
|
|
|
PeterHolland wrote: |
Quote: |
I remember that some members in system library contains such information,but I don't know which ones...Could someone guides?
|
That is site depending. Ask your support. |
But sometimes really don't know who is the supporter for such thing... |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Well i guess there will be a tech support division, they will know.
Or like superk stated, browse the TCP/IP task output, in this case for
librarynames. |
|
Back to top |
|
|
henry888
New User
Joined: 21 Sep 2009 Posts: 51 Location: china
|
|
|
|
except supporter,any other method for finding the TCP/IP and other services port members in system library? |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Normally in the started task JCL for TCP there is a DD card for PROFILE.
Look in this dataset and you should find the Port definitions |
|
Back to top |
|
|
|