• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Set up Bi-directional ports in AIX

aixfolk29

Active Newcomer
Joined
Mar 5, 2008
Messages
5
Reaction score
0
Points
0
How can i enable or set up bi-directional ports in AIX?
Thanks.
 

heada

ADSM.ORG Moderator
Joined
Sep 23, 2002
Messages
2,560
Reaction score
168
Points
0
Location
Indiana
What do you mean by bi-directional ports? Do you mean TCP/IP ports or serial ports or... ?

-Aaron
 

moon-buddy

ADSM.ORG Moderator
Joined
Aug 24, 2005
Messages
7,033
Reaction score
405
Points
0
Location
Somewhere in the US
What do you mean by bi-directional TCP/IP ports? By default the TCP/IP ports transmit and receive data and thus are bi-directional.

Do you mean FULL Duplex? Use SMIT, and make sure that the your switches are set to handle FULL duplex.
 

aixfolk29

Active Newcomer
Joined
Mar 5, 2008
Messages
5
Reaction score
0
Points
0
What do you mean by bi-directional TCP/IP ports? By default the TCP/IP ports transmit and receive data and thus are bi-directional.

Do you mean FULL Duplex? Use SMIT, and make sure that the your switches are set to handle FULL duplex.
I need to open two ports on an AIX 5.3 box to set up Tivoli Monitoring tool. and would like to know the configuration steps required to accomplish that.
Thanks for your reply
 

moon-buddy

ADSM.ORG Moderator
Joined
Aug 24, 2005
Messages
7,033
Reaction score
405
Points
0
Location
Somewhere in the US
Just as a FYI, your question is Tivoli Monitoring related and not TSM related.

As with all monitoring tools, once installation begins (agent installation) a preferred TCP/IP port is opened, or you can specify your preference. The port is then available. Normally you accept the default ports.
 

heada

ADSM.ORG Moderator
Joined
Sep 23, 2002
Messages
2,560
Reaction score
168
Points
0
Location
Indiana
If the TCP/IP ports are above 1024 and not in use, you should be able to start whatever program/daemon that uses those ports and use them in pretty much whatever way you want. If you are getting only read or only write on those ports, that would be an application issue. (ports 1024 and below are only usable by the root user)

If the ports are already in use, you might pick different ports to use or see what program is using those ports. Some ports are reserved for applications/daemons and those are normally registered in /etc/services. To find out if a port is in use, you can use the command "netstat -an |grep LISTEN" This will show all ports that are listening for new connections.

-Aaron
 

aixfolk29

Active Newcomer
Joined
Mar 5, 2008
Messages
5
Reaction score
0
Points
0
If the TCP/IP ports are above 1024 and not in use, you should be able to start whatever program/daemon that uses those ports and use them in pretty much whatever way you want. If you are getting only read or only write on those ports, that would be an application issue. (ports 1024 and below are only usable by the root user)

If the ports are already in use, you might pick different ports to use or see what program is using those ports. Some ports are reserved for applications/daemons and those are normally registered in /etc/services. To find out if a port is in use, you can use the command "netstat -an |grep LISTEN" This will show all ports that are listening for new connections.

-Aaron
Hi Aaron, Thanks for the information.. How can I assigned or enable those ports in AIX? Please send me the steps. Thanks for your insights.
 

heada

ADSM.ORG Moderator
Joined
Sep 23, 2002
Messages
2,560
Reaction score
168
Points
0
Location
Indiana
All ports are "enabled" It just comes down to what is currently in use and what is reserved for use. Even if a port is reserved by /etc/services there is nothing to stop an application or daemon from using that port unless it is already in use.

For example, FTP uses port 20 and 21 in both tcp and udp. These ports are reserved in /etc/services as seen below:
Code:
[[email protected]:/u/heada] grep ftp /etc/services
ftp-data                20/tcp          # File Transfer [Default Data]
ftp-data                20/udp          # File Transfer [Default Data]
ftp                             21/tcp          # File Transfer [Control]
ftp                             21/udp          # File Transfer [Control]
That doesn't mean that an application that isn't FTP can't use those ports. Normally FTP isn't running all the time keeping a lock on those ports, it is started on demand by the inetd process.

If you have checked and the ports you would like to use are above 1024 and they're not in use, you should be able to just start your application and use those ports. There may be some configuration that needs to be done within the application in order to specify which ports to use.

-Aaron
 

aixfolk29

Active Newcomer
Joined
Mar 5, 2008
Messages
5
Reaction score
0
Points
0
If the TCP/IP ports are above 1024 and not in use, you should be able to start whatever program/daemon that uses those ports and use them in pretty much whatever way you want. If you are getting only read or only write on those ports, that would be an application issue. (ports 1024 and below are only usable by the root user)

If the ports are already in use, you might pick different ports to use or see what program is using those ports. Some ports are reserved for applications/daemons and those are normally registered in /etc/services. To find out if a port is in use, you can use the command "netstat -an |grep LISTEN" This will show all ports that are listening for new connections.

-Aaron
Heada, If the port is available to be use in AIX how can I enable the port(s)?
I would like to know if you have the steps to enable the open port in AIX
Thanks for your reply.
 

heada

ADSM.ORG Moderator
Joined
Sep 23, 2002
Messages
2,560
Reaction score
168
Points
0
Location
Indiana
All ports are enabled, there is only in use or not. If it is not in use and you would like to use it, start the application that uses that port. Thats all there is to it.

If I would like to use port 1580 for my TSM server, I configure TSM to use port 1580 and then I start the TSM server process.

-Aaron
 

moon-buddy

ADSM.ORG Moderator
Joined
Aug 24, 2005
Messages
7,033
Reaction score
405
Points
0
Location
Somewhere in the US
As Aaron and I have mentioned, ports are available for use when an application is installed. It is a matter of setting up the configuration files of an application to use a port or particular ports.

As I have mentioned, when Tivoli Monitoring is installed, a preferred port or ports are opened for use.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

DigitalOcean $100 Credit

Support ADSM.ORG and get DigitalOcean FREE credit. DigitalOcean currently offer a $100, 60-day Free Credit for new accounts. Sign-up here:

DigitalOcean Referral Badge

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 20 18.7%
  • Keep using TSM for Spectrum Protect.

    Votes: 65 60.7%
  • Let's be formal and just say Spectrum Protect

    Votes: 13 12.1%
  • Other (please comement)

    Votes: 9 8.4%

Forum statistics

Threads
31,897
Messages
135,988
Members
21,783
Latest member
london
Top