Top
Systemwalker Desktop Keeper Reference Manual
FUJITSU Software

1.18 DTKSERVICE.BAT (Start/Stop Management Server Services)

Functional Specification

The Database service (*1) and Systemwalker Desktop Keeper service (*2) can be started/stopped, and their status can be displayed.

*1: Group of database services that constitute operational system database service, view system database service, iOS management database service and log analysis database service

*2: Group of functional services that constitute hierarchical service, server service and log analysis service

Command Format

DTKSERVICE.BAT  {STATUS | START | STARTDB | STOP | STOPALL} [<times>]

Option

Uppercase and lowercase characters can be used in the following options. Fullwidth characters cannot be specified.

STATUS:

Specify when you want to view the status of the database service and Systemwalker Desktop Keeper service.

START:

From among the database service and Systemwalker Desktop Keeper service, start the service that is not yet started.

STARTDB:

Start the service that is not yet started from database services.
<Example of use>

  1. Execute DTKSERVICE.BAT STOPALL, and stop the database service and Systemwalker Desktop Keeper service.

  2. Take backup of the entire system by using applications such as NTBACKUP.

  3. Execute DTKSERVICE.BAT STARTDB, and start the database service.

  4. All the database services start post step 3; therefore, take backup of the database, delete logs by using backup command of Systemwalker Desktop Keeper.

  5. Execute DTKSERVICE.BAT START, and start all the Systemwalker Desktop Keeper services.

STOP:

Stop only Systemwalker Desktop Keeper services.
<Example of use>

  1. Execute DTKSERVICE.BAT STOP, and stop the Systemwalker Desktop Keeper services.

  2. Take backup of the database, delete logs by using backup command of Systemwalker Desktop Keeper.

  3. Execute DTKSERVICE.BAT START, and start all Systemwalker Desktop Keeper services.

STOPALL:

Stop database services and Systemwalker Desktop Keeper services.

<times>:

Specify the monitoring time required till the service stops in seconds. The time can be specified in the range of 1 to 99999 seconds. It is valid only when STOP or STOPALL is specified. When each service is getting stopped, the total elapsed time monitors whether the services are stopped (processes are completely finished) within the specified time. If the services are not stopped within the given time, an error occurs.
When entering a numeric value, do not attach 0 before that number.

If this setting is omitted, then it is considered that the specified time is 300.

Return Value

[ERRORLEVEL] 0:

Ended normally (When value other than STATUS is specified.)

[ERRORLEVEL] 90:

Service cannot be started.

[ERRORLEVEL] 91:

Service cannot be stopped.

[ERRORLEVEL] 97:

Database is not constructed.

[ERRORLEVEL] 98:

Option error

[ERRORLEVEL] 99:

Other errors

[ERRORLEVEL] 100 to 355:

When STATUS is specified, and no error has occurred, the basic operation status of the service is considered as 100, and the value converted according to the operation status of each service is returned.
-When hierarchical service is in operation: +1
-When server service is in operation: +2
-When POSTGRESQL (operational system) is in operation: +4
-When POSTGRESQL (view system) is in operation: +8
-When SYMFOWARE (log analysis) is in operation: +16
-When log service is in operation: +32
-When iOS management database service is in operation: +64
-When secure communication service is in operation: +128
The services being stopped are not added.

<Example of operating status of service and ERRORLEVEL >

Database service

Desktop Keeper service

ERROR
LEVEL

Service name

Operational system

Monitoring system

Log analysis

iOS management database service

Hierarchical service

Server service

Log analysis

Secure communication service

Added numbers

+4

+8

+16

+64

+1

+2

+32

+128

Service status

Stopping

Stopping

Stopping

Stopping

Stopping

Stopping

Stopping

Stopping

100

Starting

Starting

Starting

Starting

Stopping

Stopping

Stopping

Stopping

192

Starting

Starting

Starting

Starting

Starting

Starting

Starting

Starting

355

Starting

Stopping

Stopping

Stopping

Starting

Starting

Stopping

Starting

235

Normally, start or stop the Systemwalker Desktop Keeper services by using START and STOP respectively.
As and when required, database can be stopped or started by using STOPALL and STARTDB respectively.

Location for Saving Commands

<Installation folder of database related files>\BackupCommand\DTKSERVICE.BAT

Authority Required for Execution/Execution Environment

Note

  • When stopping the Systemwalker Desktop Keeper services by using STOP or STOPALL, if the actions of processing and monitoring of the depletion of database area overlap, it takes a long time until the service is stopped. For frequent occurrences, specify <times>, and set the longer monitoring time.

  • When executing this command in Windows Server 2008, Windows Server 2012, or Windows Server 2016, it is necessary to open the command prompt with "Run as Administrator".

  • Start/Stop the iOS management database service by using start/stop option of the database services.
    It does not start/stop by itself.

Example of use/Execution Results/Output Format

[Inquiring the service status (STATUS)]
C:\Program Files\Fujitsu\Systemwalker Desktop Keeper\DB\BackupCommand>DTKSERVICE.BAT STATUS
Tue 07/02/2016-18:48:31.21 -DTKSERVICE----------------------------------------------------
Tue 07/02/2016-18:48:31.21   [The service of Management server situation display (STATUS)]
Tue 07/02/2016-18:48:31.21 ---------------------------------------------------------------
Tue 07/02/2016-18:48:31.56 The service of POSTGRESQL(Operation)       :operating
Tue 07/02/2016-18:48:31.68 The service of POSTGRESQL(Log view)       :operating
Tue 07/02/2016-18:48:31.70 The service of SYMFOWARE(Log analyze)       :operating
Tue 07/02/2016-18:48:31.81 The service of management
server(SWLevelControlService)       :operating
Tue 07/02/2016-18:48:31.93 The service of management server(SWServerService)       :operating
Tue 07/02/2016-18:48:31.95 The service of management server(Log analyze)       :operating
Tue 07/02/2016-18:48:32.06 The service of iOS management database       :operating
Tue 07/02/2016-18:48:32.06 The service of secure communication           :operating
Tue 07/02/2016-18:48:32.06 The service inquiry of the management server ended.
[Stopping (STOP) Systemwalker Desktop Keeper services]
C:\Program Files\Fujitsu\Systemwalker Desktop Keeper\DB\BackupCommand>DTKSERVICE.BAT STOP
Tue 07/02/2016-18:50:30.10 -DTKSERVICE-------------------------------------------------------
Tue 07/02/2016-18:50:30.10 [ Service termination processing of the management server (STOP) ]
Tue 07/02/2016-18:50:30.12 ------------------------------------------------------------------
Tue 07/02/2016-18:50:30.40 The service of POSTGRESQL(Operation)       :operating
Tue 07/02/2016-18:50:30.54 The service of POSTGRESQL(Log view)       :operating
Tue 07/02/2016-18:50:30.54 The service of SYMFOWARE(Log analyze)       :operating
Tue 07/02/2016-18:50:30.67 The service of management server(SWLevelControlService)       :operating
Tue 07/02/2016-18:50:30.79 The service of management server(SWServerService)       :operating
Tue 07/02/2016-18:50:30.79 The service of management server(Log analyze)       :operating
Tue 07/02/2016-18:50:30.90 The service of iOS management database       :operating
Tue 07/02/2016-18:50:30.90 The service of secure communication           :operating
Tue 07/02/2016-18:50:30.92 The service inquiry of the management server ended.
Tue 07/02/2016-18:50:30.92 The service of the management server (SWLevelControlService) is stopped.
Tue 07/02/2016-18:50:34.58 The SWLevelControlService was stopped.
Tue 07/02/2016-18:50:34.59 The service of the management server (SWServerService) is stopped.
Tue 07/02/2016-18:50:37.40 The SWServerService was stopped.
Tue 07/02/2016-18:50:37.40 The service of the management server (SWSecureCommunicationService) is stopped.
Tue 07/02/2016-18:50:37.40 The SWSecureCommunicationService was stopped.
Tue 07/02/2016-18:50:37.90 The service of POSTGRESQL(Operation)       :operating
Tue 07/02/2016-18:50:38.01 The service of POSTGRESQL(Log view)       :operating
Tue 07/02/2016-18:50:38.01 The service of SYMFOWARE(Log analyze)       :operating
Tue 07/02/2016-18:50:38.14 The service of management server(SWLevelControlService)       :halt condition
Tue 07/02/2016-18:50:38.25 The service of management server(SWServerService)       :halt condition
Tue 07/02/2016-18:50:38.25 The service of management server(Log analyze)       :operating
Tue 07/02/2016-18:50:38.36 The service of iOS management database       :operating
Tue 07/02/2016-18:50:38.36 The service of secure communication           :operating
Tue 07/02/2016-18:50:38.36 Service stopped.
[Starting (START) the services when database services are in stopped state]
C:\Program Files\Fujitsu\Systemwalker Desktop Keeper\DB\BackupCommand>DTKSERVICE.BAT START
Tue 07/02/2016-18:52:25.53 -DTKSERVICE-----------------------------------------------------
Tue 07/02/2016-18:52:25.53    [ service start processing (START) of the Management server ]
Tue 07/02/2016-18:52:25.55 ----------------------------------------------------------------
Tue 07/02/2016-18:52:25.77 The service of POSTGRESQL(Operation)       :halt condition
Tue 07/02/2016-18:52:25.86 The service of POSTGRESQL(Log view)       :halt condition
Tue 07/02/2016-18:52:25.88 The service of SYMFOWARE(Log analyze)       :halt condition
Tue 07/02/2016-18:52:25.98 The service of management server(SWLevelControlService)       :halt condition
Tue 07/02/2016-18:52:26.08 The service of management server(SWServerService)       :halt condition
Tue 07/02/2016-18:52:26.09 The service of management server(Log analyze)       :halt condition
Tue 07/02/2016-18:52:26.17 The service of iOS management database       :halt condition
Tue 07/02/2016-18:52:26.17 The service of secure communication           :halt condition
Tue 07/02/2016-18:52:26.17 The service inquiry of the management server ended.
Tue 07/02/2016-18:52:26.19 The service of POSTGRESQL(Operation) is started.
Tue 07/02/2016-18:52:28.34 The service of POSTGRESQL(Log view) is started.
Tue 07/02/2016-18:52:30.36 The service of SYMFOWARE(Log analyze) is started.
Tue 07/02/2016-18:52:30.37 The service of management server(Log analyze) is started.
Tue 07/02/2016-18:52:30.40 The service of iOS management database is started.
Tue 07/02/2016-18:52:32.44 The service of the management server (SWLevelControlService) is started.
Tue 07/02/2016-18:52:37.06 The service of the management server (SWServerService) is started.
Tue 07/02/2016-18:52:37.06 The service of the management server (SWSecureCommunicationService) is started.
Tue 07/02/2016-18:52:41.79 The service of POSTGRESQL(Operation)       :operating
Tue 07/02/2016-18:52:41.92 The service of POSTGRESQL(Log view)       :operating
Tue 07/02/2016-18:52:41.92 The service of SYMFOWARE(Log analyze)       :operating
Tue 07/02/2016-18:52:42.06 The service of management server(SWLevelControlService)       :operating
Tue 07/02/2016-18:52:42.19 The service of management server(SWServerService)       :operating
Tue 07/02/2016-18:52:42.19 The service of management server(Log analyze)       :operating
Tue 07/02/2016-18:52:42.31 The service of iOS management database       :operating
Tue 07/02/2016-18:52:42.31 The service of secure communication           :operating
Tue 07/02/2016-18:52:42.31 Service was started.
[Starting (START) the services when database services are operating]
C:\Program Files\Fujitsu\Systemwalker Desktop Keeper\DB\BackupCommand>DTKSERVICE.BAT START
Tue 07/02/2016-18:54:14.18 -DTKSERVICE-----------------------------------------------------
Tue 07/02/2016-18:54:14.18    [ service start processing (START) of the Management server ]
Tue 07/02/2016-18:54:14.20 ----------------------------------------------------------------
Tue 07/02/2016-18:54:14.45 The service of POSTGRESQL(Operation)       :operating
Tue 07/02/2016-18:54:14.57 The service of POSTGRESQL(Log view)       :operating
Tue 07/02/2016-18:54:14.57 The service of SYMFOWARE(Log analyze)       :operating
Tue 07/02/2016-18:54:14.70 The service of management server(SWLevelControlService)       :halt condition
Tue 07/02/2015-18:54:14.80 The service of management server(SWServerService)       :halt condition
Tue 07/02/2016-18:54:14.80 The service of management server(Log analyze)       :operating
Tue 07/02/2016-18:54:14.91 The service of iOS management database       :operating
Tue 07/02/2016-18:54:14.91 The service of secure communication           :halt condition
Tue 07/02/2016-18:54:14.91 The service inquiry of the management server ended.
Tue 07/02/2016-18:54:14.93 The service of the management server (SWLevelControlService) is started.
Tue 07/02/2016-18:54:16.96 The service of the management server (SWServerService) is started.
Tue 07/02/2016-18:54:19.01 The service of the management server (SWSecureCommunicationService) is started.
Tue 07/02/2016-18:54:21.66 The service of POSTGRESQL(Operation)       :operating
Tue 07/02/2016-18:54:21.81 The service of POSTGRESQL(Log view)       :operating
Tue 07/02/2016-18:54:21.81 The service of SYMFOWARE(Log analyze)       :operating
Tue 07/02/2016-18:54:21.93 The service of management server(SWLevelControlService)       :operating
Tue 07/02/2016-18:54:22.27 The service of management server(SWServerService)       :operating
Tue 07/02/2016-18:54:22.29 The service of management server(Log analyze)       :operating
Tue 07/02/2016-18:54:22.40 The service of iOS management database       :operating
Tue 07/02/2016-18:50:42.31 The service of secure communication           :operating
Tue 07/02/2016-18:54:22.40 Service was started.
[Staring the database (STARTDB) when the database services are in stopped state]
C:\Program Files\Fujitsu\Systemwalker Desktop Keeper\DB\BackupCommand>DTKSERVICE.BAT STARTDB
Tue 07/02/2016-18:55:01.33 -DTKSERVICE------------------------------------------------------
Tue 07/02/2016-18:55:01.34   [ service start processing (STARTDB) of the Management server ]
Tue 07/02/2016-18:55:01.34 -----------------------------------------------------------------
Tue 07/02/2016-18:55:01.55 The service of POSTGRESQL(Operation)       :halt condition
Tue 07/02/2016-18:55:01.64 The service of POSTGRESQL(Log view)       :halt condition
Tue 07/02/2016-18:55:01.66 The service of SYMFOWARE(Log analyze)       :halt condition
Tue 07/02/2016-18:55:01.75 The service of management server(SWLevelControlService)       :halt condition
Tue 07/02/2016-18:55:01.83 The service of management server(SWServerService)       :halt condition
Tue 07/02/2016-18:55:01.83 The service of management server(Log analyze)       :halt condition
Tue 07/02/2016-18:55:01.92 The service of iOS management database       :halt condition
Tue 07/02/2016-18:55:01.92 The service of secure communication           :halt condition
Tue 07/02/2016-18:55:01.92 The service inquiry of the management server ended.
Tue 07/02/2016-18:55:01.92 The service of POSTGRESQL(Operation) is started.
Tue 07/02/2016-18:55:03.96 The service of POSTGRESQL(Log view) is started.
Tue 07/02/2016-18:55:06.00 The service of SYMFOWARE(Log analyze) is started.
Tue 07/02/2016-18:55:06.00 The service of management server(Log analyze) is started.
Tue 07/02/2016-18:55:06.00 The service of iOS management database is started.
Tue 07/02/2016-18:55:08.18 The service of POSTGRESQL(Operation)       :operating
Tue 07/02/2016-18:55:08.34 The service of POSTGRESQL(Log view)       :operating
Tue 07/02/2016-18:55:08.34 The service of SYMFOWARE(Log analyze)       :operating
Tue 07/02/2016-18:55:08.46 The service of management server(SWLevelControlService)       :halt condition
Tue 07/02/2016-18:55:08.57 The service of management server(SWServerService)       :halt condition
Tue 07/02/2016-18:55:08.59 The service of management server(Log analyze)       :operating
Tue 07/02/2016-18:55:08.70 The service of iOS management database       :operating
Tue 07/02/2016-18:55:08.70 The service of secure communication           : halt condition
Tue 07/02/2016-18:55:08.70 Service was started.