Job Management Partner 1/Software Distribution Administrator's Guide Volume 1

[Contents][Glossary][Index][Back][Next]

1.1 Starting and terminating a managing server

The server functions of a managing server start automatically when the OS starts, and terminate automatically when the OS terminates.

If you use an Embedded RDB relational database, you must use the procedure described below to terminate JP1/Software Distribution and the Embedded RDB before you terminate the OS.

To terminate JP1/Software Distribution and an Embedded RDB:

  1. Terminate program products that access the JP1/Software Distribution database.
  2. Terminate Remote Installation Manager.
  3. Terminate the database by executing the netmdb_stop.bat command that is stored in the JP1/Software Distribution Manager's installation-directory\bin.
    To restart the database after you have used the netmdb_stop.bat command to terminate it, execute the netmdb_start.bat command.

The following subsections describe the netmdb_stop.bat and netmdb_start.bat commands. (For details on how to start and stop JP1/Software Distribution in a cluster system environment, see 5.4.1 Starting and terminating the managing server in a cluster system environment in the manual Administrator's Guide Volume 2.)

Organization of this section
(1) netmdb_stop.bat command
(2) netmdb_start.bat command

(1) netmdb_stop.bat command

This command terminates an Embedded RDB relational database. It is stored in JP1/Software Distribution Manager's installation-directory\bin.

Before you execute this command, you must stop JP1/Software Distribution Manager's Remote Install Server by choosing Control Panel, Administrative Tools, then Services.

If you are using Asset Information Manager Subset, terminate its services in the order described below.

  1. World Wide Web Publishing Service or World Wide Web Publishing
  2. Asset Information Synchronous Service and Asset Information Manager Subset commands and tasks
  3. JP1/Client Security Control - Manager (applicable if JP1/CSC is linked)

If a connection pool has been specified for an ODBC data source, after the Asset Information Manager Subset application has terminated, the connection is maintained for the amount of time specified as the connection pool's timeout value. In such a case, you must wait until the connection has been released before executing the command.

Function
This command terminates the database.

Format
netmdb_stop.bat [/nopause] [/force]

Arguments
  • /nopause
    Specifies that no entry will be made from the keyboard during command termination.
  • /force
    Specifies that the database is to be terminated forcibly without waiting for connections to be released with programs such as Asset Information Manager Subset, Remote Installation Manager, and Remote Install Server services that are accessing the database.

Return codes
The following table shows the return codes of the netmdb_stop.bat command:
Return code Description
0 Normal termination
-1 Abnormal termination

Notes
  • When the netmdb_stop.bat command is entered with /force specified, the database is terminated forcibly, restarts, and then terminates again. If you execute this command when there have been many update accesses to the database during job execution, it might take some time for the database to restart. You can avoid this by executing this command only after all applications have terminated or during off-hours (such as at night).
  • Do not change the contents of this command's bat file. If the contents are changed, the command might no longer be executable.
  • Execute this command as a user with Administrator permissions.

Example
This example terminates the database without any entry from the keyboard during command termination:
netmdb_stop.bat /nopause

(2) netmdb_start.bat command

This command starts an Embedded RDB relational database. It is stored in JP1/Software Distribution Manager's installation-directory\bin.

Function
This command starts the database.

Format
netmdb_start.bat [/nopause]

Argument
  • /nopause
    Specifies that no entry will be made from the keyboard during command termination.

Notes
  • Do not change the contents of this command's bat file. If the contents are changed, the command might no longer be executable.
  • Execute this command as a user with Administrator permissions.

Example
This example starts the database without any entry from the keyboard during command termination:
netmdb_start.bat /nopause