Starting Linux servers

This topic discusses how to start single and multiple integrated Linux® servers using the iSeries™ Navigator and CL commands. It also includes instructions on how to start integrated Linux servers automatically at iSeries startup.

Note: You cannot start an integrated Linux server from the Linux console; however, you can restart a running server from the Linux console.

Starting a single Linux server using iSeries Navigator

The Integrated Server Administration function of iSeries Navigator provides an interface for starting Linux servers individually or in multiples.

To start a single Linux server using iSeries Navigator, complete the following steps:

  1. Click Servers under Integrated Server Administration.
  2. Right-click the server you want to start.
  3. Select Start. After a few moments, you should see the status change to Started.

Starting multiple Linux servers using iSeries Navigator

To start all integrated servers (both Linux and Windows®) select one of the following methods:
  • Right-click Servers in the left pane and select Start all.
  • Click Start all integrated servers in the Taskpad pane.

To start selected servers only, hold down the control key (Ctrl) and click each of the servers you want started. Then right-click one of the selected servers and click Start.

Tips:
  • If you have two or more server instances created for the same Integrated xSeries® Server or IXA-attached xSeries server, you should not try to start all servers simultaneously. Remember, these are server instances, not physical servers.
  • Because of interdependencies between Linux servers, you might wish to start the servers in a specific order.

Starting Linux servers using CL commands

To start a Linux server from an i5/OS™ command line, select one of the following CL commands:

WRKCFGSTS
  1. Type WRKCFGSTS *NWS. Press Enter.
  2. Type 1 in the Opt column next to the network server description (NWSD) that you want to vary on. Press Enter.

To start multiple Linux servers using the WRKCFGSTS command, simply type 1 in the Opt column next to all the network server descriptions (NWSD) that you want to vary on. Press Enter.

VRYCFG
  1. Type VRYCFG. Press F4.
  2. Enter the NWSD that you want to vary on. Press Enter. Here is an example:
    VRYCFG CFGOBJ(nwsd-name) CFGTYPE(*NWS) STATUS(*ON)

To start multiple Linux servers using the VRYCFG command, simply list all the network server descriptions (NWSDs) that you want to vary on in the CFGOBJ parameter. Press Enter. For example:

VRYCFG CFGOBJ(nwsd-name1 nwsd-name2 nwsd-name3) CFGTYPE(*NWS) STATUS(*ON) 

Using the VRYCFG command in this way could lock up your green screen session for several minutes.

Starting Linux servers automatically at iSeries startup

If you only have a single integrated server, or you do not need to start your servers in a specific order, there is a simple way to start an integrated server when the iSeries is turned on:
  1. On the i5/OS command line type CFGTCP. Press Enter.
  2. On the Configure TCP/IP display type 1. Press Enter.
  3. Locate the interface for the Point-to-Point Virtual Ethernet line that corresponds to the server you want to start automatically. It is of the form nwsd-namePP. Enter 2 next to the interface. Press Enter.
  4. Change the Autostart parameter to *YES. Press Enter.
When you next power up the iSeries, the integrated server starts automatically.