Automatically configuring virtual devices

 

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.

Notes:

  1. The Telnet server does not automatically delete configured virtual devices or named devices, even if the number of devices attached to the virtual controllers exceeds the maximum number of devices.

  2. The devices system values specify whether pass-through virtual devices and Telnet full screen virtual devices that are attached to the QPACTLnn controllers are automatically configured. This system value does not affect devices attached to the QVIRCDnnnn controllers, because these are not default system devices. Typically, QPADEVnnnn devices are attached to QPACTLnn controllers while named devices, such as NEWYORK001, are attached to the QVIRCDnnnn controller.

 

Parent topic:

Setting the number of virtual devices

Related concepts
Controlling Telnet access

Related tasks
Setting the number of virtual devices