Constructing an iOS management database
To manage iOS devices, an iOS management database must be constructed using swss_MDMDB_ENV.exe (constructing/deleting iOS management database environment command) with the /C option.
If managing iOS devices in both Systemwalker Desktop Patrol and Systemwalker Desktop Keeper, the constructing/deleting iOS management database environment command for both products must be executed.
Refer to the Systemwalker Desktop Patrol Reference Manual for details on swss_MDMDB_ENV.exe.
The building iOS management database environment command will set the port in which the iOS management database waits with the initial value (55432). If this value needs to be modified, refer to "How to Modify the Port Number" in the Systemwalker Desktop Patrol Reference Manual.
Note
If the operating system is to be restarted after an iOS management database is constructed, the PostgreSQL_swdtmdm service must be stopped first. Open the Windows Services window, select the PostgreSQL_swdtmdm service, and click Action > Stop.
If the operating system is restarted before stopping the service, the following message may be output to the event log.
ERROR: canceling statement due to user request
This is a message displayed when the operating system stops the service, and does not cause any problem to the operation.
Deleting an iOS management database
To stop managing iOS devices, the iOS management database can be deleted with the following procedure:
On the SS, use SWDTP_ctrl.exe (batch starting/stopping services) to stop the SS services.
On the SS, use swss_config.exe (SS environment setup command) with the /iOS.enabled:false option to disable iOS device management.
On the CS, use swss_MDMDB_ENV.exe (constructing/deleting iOS management database environment command) with the /D option to delete the iOS management database.
On the SS, use SWDTP_ctrl.exe (batch starting/stopping services) to start the SS services.
Refer to the Systemwalker Desktop Patrol Reference Manual for details on swss_config.exe and swss_MDMDB_ENV.exe.
Note
If Systemwalker Desktop Patrol and Systemwalker Desktop Keeper coexist and iOS device management is to be stopped in both, then the deleting iOS management database environment command must be executed in both products.
If Systemwalker Desktop Patrol and Systemwalker Desktop Keeper coexist and iOS devices are managed by both products, they can be changed to be managed by one product only. Follow the steps below to delete the iOS management database no longer managed.
Use swss_config.exe (SS environment setup command) to check the host name of the iOS management database connected with SS. Perform backup on the server that matches the iOS management database host name displayed in "iOSmgr.host".
Execute the deleting iOS management database environment command in both products.
Execute the building iOS management database environment command in the product that manages iOS devices.
In the iOS management database constructed in step 3, restore the data backed up in step 1.