Using the i5/OS command line to work with integrated Linux server NWSDs
This topic discusses how to use CL commands to work with the Network Server Description (NWSD) for your integrated Linux® server.
There are two CL commands that you use regularly when managing integrated Linux servers.
- Work with Configuration Status (Network Server Descriptions) WRKCFGSTS *NWS
- Work with Network Server Descriptions WRKNWSD
These commands display a list of the Linux, Windows, and AIX® network server descriptions (NWSDs), and are similar to the Integrated Server Administration - Servers option of iSeries™ Navigator. Note that you cannot change the way the data is arranged on these displays.
WRKCFGSTS *NWS
The WRKCFGSTS *NWS display shows the status of each NWSD and its associated objects.
Type WRKCFGSTS *NWS on the i5/OS® command line and press Enter. You see a list of the Linux, Windows, and AIX NWSDs, and their statuses.
The common statuses for an NWSD are:
- ACTIVE status of an NWSD is equivalent to a Linux server being up and running.
- VARIED OFF status of an NWSD is equivalent to a Linux server being shut down.
- VARY ON PENDING status of an NWSD is equivalent to a Linux server in the process of starting up.
- SHUTDOWN status of an NWSD is equivalent to a Linux server having been shut down from the Linux console.
WRKNWSD
The WRKNWSD command displays a list of NWSDs.
- Type WRKNWSD on the i5/OS command line. Press Enter. You see a list of the Linux, Windows, and AIX NWSDs.
- Type 2 next to the NWSD you want to edit (or 5 to view). Press Enter.
The following parameters are used:
- Network server description
- Resource name
- Vary on wait
- Shutdown timeout
- Code page
- Server message queue and library
- Configuration file and library
- TCP/IP port configuration and sub parameters
- Restrict device resources
- Synchronize date and time
- Text description
You can change the following parameters when the server is down:
- Resource name
- Vary on wait
- Shutdown timeout
- Code page
- Server message queue and library
- Configuration file and library
- TCP/IP port configuration and sub parameters v Restricted device resources
- Restrict device resources
- Synchronize date and time
- Text description
You can change the following parameters when the server is up:
- TCP/IP port configuration and sub parameters. The change does not take effect until you restart the server.
- Text description
Parent topic:
i5/OS operations for integrated Linux servers