Starting the Server as a Service

The mvBase Server may be started as a service. Running the mvBase Server as a service is preferable to running it as an application in order to more fully utilize Windows features. As a service, the mvBase Server runs as a background process. This enables the console user to log off and on from the host operating system without disrupting the mvBase Server service to mvBase clients. To run the Server as a service, you must first install the service option via the Install button on the Server tab.

When the mvBase Server is started as a service, the Autoboot option is always selected (on). The System Configuration dialog box does not display and an mvTerm client is not started.

NOTE

All modifications to the initial installation must be made from an administrator account. The administrator must have full administrative rights.

Perform these steps to launch the mvBase Server as a service after the Server has been started at least once as an application (with a fileload):

  1. Launch or switch to the Administration Utility.

  2. Select the Server tab. Ensure that the Server is not already running.

  3. Ensure that these components of the mvBase Server are fully configured within acceptable parameters:

  4. Ensure that the Workstation has not been started (view the Workstation tab). Stop the Workstation if it has been started, as Workstation startup and connection should follow Server startup.

  5. When starting mvBase Server as a service for the first time, the Service Status displays Not Installed.

  6. In this case, select Install. The Service Logon Account dialog box displays.

  7. This dialog box installs the mvBase Server as a service. Installation as a service allows the Server and the Workstation to be activated by the Service Control Manager during Windows system boot.

  8. Define these features of the Service Logon Account dialog box:

  9. Account Name

    Enter the account name under which to logon the service. The syntax of the account name is domain\user. The domain is any accessible domain on the network and may be omitted to select the default system settings. The user is any user defined for the Windows domain or local system. The user must be in the administrator group with administrator rights.

    Password

    Enter the user’s password.

    Password (confirm)

    Enter the password for the user to double-check for typing errors.

  10. Select OK in the Service Logon Account dialog box. A confirmation message indicating the service installed successfully displays.

  11. Select OK in the confirmation message. The Server tab displays, and the Server Service status displays Stopped.

  12. Verify that the Server Service mode is selected (highlighted) then select Start.

  13. The Service Status reads Start Pending, then Running.

  14. After you select Start, the coldstart process starts as a background process. When the mvBase Server starts as a service, the Autoboot option is always selected (on). The System Configuration dialog box does not display and an mvTerm client does not start automatically.

  15. Select OK in response to the Service started successfully! message. The status changes to Running.

  16. Close or minimize the Administration Utility if preferred. The Server continues to run until stopped via the :SHUTDOWN Proc, the Administration Utility or the Windows Task bar.

  17. NOTE

    When you start the mvBase Server as a service, it does not automatically start an mvBase client connected to process 0.

See Also

Starting and Stopping the mvBase Server

Server Startup Options

Starting the Server for the First Time

Starting the Server as an Application

Restarting from Disk: The Coldstart Process

Restarting the Server after Abnormal System Shutdown

Starting the Server in the Recovery Mode

Performing a Fileload via TCL

ABS/Kernel Restore Procedure

Overview of Server Shutdown

Stopping the Server via the Server Tab

Stopping the Server via the Windows Task Bar

Using the :SHUTDOWN Proc

Starting the mvBase Server from the Command Line