You can enable the Telnet server to automatically configure your virtual devices and controllers using the QAUTOVRT devices system values in iSeries™ Navigator.
You can specify the number of devices that are automatically started and you can specify the maximum number of devices that the system automatically configures. The system configures or creates one device at a time, as needed, up to a specified limit.
When automatically configuring virtual devices with Telnet, the Telnet server does not delete virtual devices and does not delete the devices when the session closes. The server does not delete the devices even if the number of devices attached to the virtual controllers exceeds the maximum number. If the devices already exist on the virtual controller, the Telnet server can use them. The Telnet server modifies the attributes of an existing device to match the client request if that virtual device is requested by name.
If you have never allowed automatic configuration of virtual devices on your system, the Devices System Value Maximum number of devices value is 0. A Telnet connection attempt fails when the number of devices in use exceeds the Maximum number of devices. A device in use has the status active or sign-on display. If you try to sign on, you will receive a message (TCP2504) indicating that the Telnet client session has ended and the connection is closed. In addition, the QTCPIP job on the remote system sends a message (CPF8940) indicating that a virtual device cannot be automatically selected.
If you change the Maximum number of devices to 10, the next Telnet connection attempt causes the Telnet server to create a virtual device. Telnet creates this virtual device because the number of virtual devices on the controller (0) is less than the number specified in the Maximum number of devices (10). Even if you change the specified number to 0 again, the next user attempting a Telnet connection succeeds. When a Telnet connection attempt fails because the system is not able to create a virtual device, the CPF87D7 message is sent to the system operator message queue on the Telnet server.
Related concepts
Controlling Telnet access