AUTOLOG Statement
The AUTOLOG statement identifies other virtual machines to be started by the TCPIP virtual machine when it begins execution.
The first AUTOLOG statement of a configuration file replaces the existing AUTOLOG list. Subsequent AUTOLOG statements in the same file add to the list.
Operands
- user_id
- The name of a virtual machine that the TCPIP virtual machine should autolog. If a user ID is not valid, TCP/IP will display an error message.
- 0
- A constant. For compatibility with prior releases of TCP/IP for VM, any arbitrary string is accepted.
Examples
The following example shows how
to include two servers in the AUTOLOG statement.
Autolog
FTPSERVE 0 ; FTP Server
SMTP 0 ; SMTP Server
EndAutologUsage Notes
- The ENDAUTOLOG statement specifies the end of the AUTOLOG list.
- A virtual machine in the AUTOLOG list is terminated and restarted by TCP/IP whenever the stack is restarted. TCP/IP uses the CP FORCE command to terminate a virtual machine and the CP XAUTOLOG command to start a virtual machine.
- For servers connected to the stack via VMCF, TCP/IP frequently checks to ensure that each virtual machine in the AUTOLOG statement is logged on.
- The number of times the TCP/IP stack will restart a particular server is governed by the MAXRESTART statement.
- If the AUTOLOG list is empty or if the AUTOLOG statement is omitted, TCP/IP does not attempt to start any of the higher-level servers, such as FTP, MPRoute, or REXECD. Each server must be started manually.
- Once a virtual machine in the AUTOLOG makes a connection to the TCP/IP stack, it is expected to maintain its connection. If all of the connections from a virtual machine are terminated, the stack assumes that a problem has occurred and attempts to reestablish the connection (by terminating and then restarting the virtual machine in question).
- If a virtual machine in the AUTOLOG list also has a PORT statement
reserving a TCP or UDP port, but does not have a listening connection
or is not accepting packets on that port, TCP/IP attempts to
restart that virtual machine.
If the PORT statement for a virtual machine specifies
NOAUTOLOG, this restart will not be attempted. Please note that NOAUTOLOG will not prevent a restart of the virtual machine stemming from circumstances unrelated to the termination of the listening connection.
