To open a hot connection to a server

With CONNX, you can create a hot connection to an OpenVMS server that enables a connection to remain open. Leaving a connection open helps shorten the length of time it takes to connect to a server, which can be beneficial to users who are opening and closing connections repeatedly or who are operating in an environment where a high volume of short connections are made, as with Web servers. The number of open connections should be kept to a minimum in order to maintain the highest levels of VMS system performance.

Important: An open server connection decreases the security of data stored on that server.

  1. Connect to the VMS server with which you are working.

  2. Open a terminal emulator, such as Telnet or Pathworks.

  3. Type the following DCL command, and then press <Enter>:

    $ SET DEF CNXDIR

  4. Type the following DCL command, and then press <Enter>:

    $ RUN CNXHOT

  5. Type a VMS user name, using uppercase characters, and then press <Enter>.

  6. Type a VMS password, using uppercase characters, and then press <Enter>.

  7. Define a system-level logical that determines the number of prestarted servers for each type of database.

  8. For RMS databases:
    DEFINE /SYSTEM CNXRMSSERVERCOUNT
    <number of prestarted servers>

  9. For Rdb databases:
    DEFINE /SYSTEM CNXRDBSERVERCOUNT
    <number of prestarted servers>

  10. For DBMS databases:
    DEFINE /SYSTEM CNXDBMSSERVERCOUNT <number of prestarted servers>

  1. Restart the CONNX Listener process.