Configuring IBM i NetServer

To verify whether IBM® i NetServer is properly configured, you can use a series of commands.

You must have *IOSYSCFG special authority to change any part of IBM i NetServer configuration. In addition, you must have *SECADM special authority to change the IBM i NetServer guest user profile. These changes will take effect the next time IBM i NetServer is started.

To configure IBM i NetServer, follow these steps:

  1. Verify that TCP/IP support is configured on your system.
    You can use the Configure TCP/IP (CFGTCP) command to work with interfaces, routes, host table entries, and domain services. After the configuration is completed, use the Start TCP/IP (STRTCP) command to activate the support.
    Note: You must have at least one external TCP/IP interface configured and active to use IBM i NetServer.
  2. Use the Work with Subsystems (WRKSBS) command to confirm that the QSERVER subsystem has started.
  3. Verify that the IBM i NetServer system name is unique on the network. To change the IBM i NetServer default system and domain name, use the following command:
    CALL QZLSCHSN PARM(server-name domain-name 
    'text description or comment' X'00000000')
    After you change the IBM i NetServer server name, you should add it to the Domain Name System (DNS) or to your PC client's LMHOST file.
  4. To change IBM i NetServer guest support, use the following command:
    CALL QZLSCHSG (guest-user-profile X'00000000')
    Users who require the file and print-sharing capabilities of IBM i NetServer but do not have a user profile need a guest user profile. IBM i NetServer does not automatically configure guest support. A user without a user profile will not be able to access IBM i NetServer.
  5. To stop and start IBM i NetServer, use the following commands:
    ENDTCPSVR *NETSVR
    STRTCPSVR *NETSVR
    Note: All configuration changes made to IBM i NetServer, with the exception of share and session administration, do not take effect until you stop and restart the IBM i NetServer.
  6. Use the Work with Active Job (WRKACTJOB) command to verify that there is a QZLSSERVER job running under the QSERVER subsystem. If the QZLSSERVER job is not active, you must restart IBM i NetServer.
  7. Use the Work with TCP/IP Network Status (NETSTAT *CNN) command to verify that the following entries appear in the NETSTAT output file. If you cannot find these entries, you must restart IBM i NetServer.
    ** netbios>001:27:44 Listen
    ** netbios>000:00:01 *UDP
    ** netbios>000:00:00 *UDP
    ** netbios>000:30:57 Listen
    
    ** cifs>427:49:42 Listen
    
    Note: The NETSTAT command output might be many pages long.
  8. Use the Work with Active Job (WRKACTJOB) command to ensure that there is a QNPSERVD job active in the QSYSWRK subsystem. If there is no QNPSERVD job, then you must use the Start Host Server (STRHOSTSVR *NETPRT) command to start the network print server. Starting the network print server ensures that IBM i NetServer print shares function properly.