Top
Systemwalker Desktop Keeper Reference Manual
FUJITSU Software

1.31 SDSVService.bat (Start/Stop Service of Smart Device Relay Server)

Functional Specification

Display the start, stop and the status of Smart Device Relay Server.
The actual services displaying the start, stop and the status are as follows:

Command Format

SDSVService.bat {-STATUS | -START | -STOP } [-times <TIME>]

Option

-STATUS

Specify to display the status of the service.

-START

Specify to start the service.

-STOP

Specify to stop the service.

-times <TIME>

Specify the monitoring time period at the time of stopping the service in seconds. You can specify the numeric value between 1 and 99999.
Valid only when -STOP is specified.
Unless the service ends within the specified monitoring time period at the time of ending the service, command ends due to error.
While describing the numeric value, add 0 at the beginning.
When omitted, the monitoring time period is of 300 seconds.

Return Value

[ERRORLEVEL] 0:

Ended successfully (when the value other than STATUS is specified)

[ERRORLEVEL] 90:

Service unable to start

[ERRORLEVEL] 91:

Service unable to stop

[ERRORLEVEL] 98:

Option error

[ERRORLEVEL] 99:

Other error

[ERRORLEVEL] 100~131:

- When STATUS is specified and no error occurs, the value calculated according to the operation status of the following services is returned by considering 100 as the standard.
- While executing MDM profile distribution service for iOS +1
- While executing APNs connection function +2
- While executing MDM function +4
- While executing Smart Device Relay Server Service for iOS +8
- While executing Smart Device Relay Server Service for Android +16

<Example of operating status and ERRORLEVEL of the services>

Smart Device Relay Server Services

ERROR

LEVEL

Service name

MDM profile distribution service for iOS

APNs connection service

MDM service

Smart Device Relay Server Service for iOS

Smart Device Relay Server Service for Android

Added value

+1

+2

+4

+8

+16

Service status

Stopping

Stopping

Stopping

Stopping

Stopping

100

Starting

Starting

Starting

Starting

Starting

131

Starting

Starting

Starting

Starting

Stopping

115

Starting

Stopping

Stopping

Stopping

Starting

117

Location for Saving Commands

<Smart Device Relay Server installation folder>\bin

Authority Required For Execution/Execution Environment

Note

  • Stopping the service by specifying -STOP may take up some time to stop the service. If the error occurs frequently at the time of stopping the service, set a longer monitoring time period in -times option.

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

  • When coexisting with SS of Systemwalker Desktop Patrol, the following four services to be started or stopped are commonly used. Execute the command after confirming that there are no issues arising regarding starting or stopping the service.

    • SWDTiSDSVWebService

    • SWDT_APNsClient

    • SWDT_MDMServer

    • SWDTiSDSVService

Example of Use/Execution Results/Output Format

[When query of service status (-STATUS) is performed]

C:\Program Files\Fujitsu\Systemwalker Desktop Keeper\SDSV\bin>SDSVService.bat -STATUS
Tue 06/02/2015-18:45:58.77 -SDSVSERVICE---------------------------------------------------------
Tue 06/02/2015-18:45:58.78 [The Service of smart device relay server situation display (STATUS)]
Tue 06/02/2015-18:45:58.78 ---------------------------------------------------------------------
Tue 06/02/2015-18:45:59.08 The service of MDM profile distribution service for iOS :operating
Tue 06/02/2015-18:45:59.22 The service of APNs connection function :operating
Tue 06/02/2015-18:45:59.36 The service of MDM function :operating
Tue 06/02/2015-18:45:59.50 The service of Service of smart device relay server for iOS :operating
Tue 06/02/2015-18:45:59.67 The service of Service of smart device relay server for Android :operating
Tue 06/02/2015-18:45:59.69 The service inquiry of the management server ended.

[When service is stopped (-STOP)]

C:\Program Files\Fujitsu\Systemwalker Desktop Keeper\SDSV\bin>SDSVService.bat -STOP
Tue 06/02/2015-18:46:14.26 -SDSVSERVICE--------------------------------------------------------------
Tue 06/02/2015-18:46:14.27 [ Service termination processing of the smart device relay server (STOP) ]
Tue 06/02/2015-18:46:14.27 --------------------------------------------------------------------------
Tue 06/02/2015-18:46:14.55 The service of MDM profile distribution service for iOS :operating
Tue 06/02/2015-18:46:14.70 The service of APNs connection function :operating
Tue 06/02/2015-18:46:14.87 The service of MDM function :operating
Tue 06/02/2015-18:46:15.02 The service of Service of smart device relay server for iOS :operating
Tue 06/02/2015-18:46:15.15 The service of Service of smart device relay server for Android :operating
Tue 06/02/2015-18:46:15.16 The service inquiry of the smart device relay server ended.
Tue 06/02/2015-18:46:15.71 The service of the MDM profile distribution service for iOS is stopped.
Tue 06/02/2015-18:46:16.22 The MDM profile distribution service was stopped.
Tue 06/02/2015-18:46:32.53 The service of smart device relay server for iOS is stopped.
Tue 06/02/2015-18:46:32.67 The service of smart device relay server for iOS was stopped.
Tue 06/02/2015-18:46:32.81 The MDM function is stopped.
Tue 06/02/2015-18:46:32.94 The MDM function was stopped.
Tue 06/02/2015-18:46:33.10 The APNs connection function is stopped.
Tue 06/02/2015-18:46:33.10 The APNs connection function was stopped.
Tue 06/02/2015-18:46:37.68 The service of smart device relay server for Android is stopped.
Tue 06/02/2015-18:46:37.69 The service of smart device relay server for Android was stopped.
Tue 06/02/2015-18:46:44.32 The service of MDM profile distribution service for iOS :halt condition
Tue 06/02/2015-18:46:44.41 The service of APNs connection function :halt condition
Tue 06/02/2015-18:46:44.50 The service of MDM function :halt condition
Tue 06/02/2015-18:46:44.60 The service of Service of smart device relay server for iOS :halt condition
Tue 06/02/2015-18:46:44.68 The service of Service of smart device relay server for Android :halt condition
Tue 06/02/2015-18:46:44.68 Service stopped.

[When the service is started (-START) while the services have stopped]

C:\Program Files\Fujitsu\Systemwalker Desktop Keeper\SDSV\bin>SDSVService.bat -START
Tue 06/02/2015-18:46:49.48 -SDSVSERVICE----------------------------------------------------
Tue 06/02/2015-18:46:49.50 [ Smart device relay server service start processing (-START) ]
Tue 06/02/2015-18:46:49.50 ----------------------------------------------------------------
Tue 06/02/2015-18:46:49.76 The service of MDM profile distribution service for iOS :halt condition
Tue 06/02/2015-18:46:49.93 The service of APNs connection function :halt condition
Tue 06/02/2015-18:46:50.07 The service of MDM function :halt condition
Tue 06/02/2015-18:46:50.21 The service of Service of smart device relay server for iOS :halt condition
Tue 06/02/2015-18:46:50.37 The service of Service of smart device relay server for Android :halt condition
Tue 06/02/2015-18:46:50.39 The smart device relay server service inquiry end was done.
Tue 06/02/2015-18:46:50.39 The APNs connection function is started.
Tue 06/02/2015-18:46:50.68 The MDM function is started.
Tue 06/02/2015-18:46:50.82 The service of iOS management database(Log analyze) is started.
Tue 06/02/2015-18:46:50.98 The service of smart device relay server for iOS is started.
Tue 06/02/2015-18:46:51.12 The service of smart device relay server for Android is started.
Tue 06/02/2015-18:46:51.28 The service of MDM profile distribution service for iOS :operating
Tue 06/02/2015-18:46:51.28 The service of APNs connection function :operating
Tue 06/02/2015-18:46:51.50 The service of MDM function :operating
Tue 06/02/2015-18:46:51.12 The service of Service of smart device relay server for iOS :operating
Tue 06/02/2015-18:46:51.26 The service of Service of smart device relay server for Android :operating
Tue 06/02/2015-18:46:51.26 Service was started.