Ensure a valid configuration from end-to-end using the diagnostic tool (diagtool) command line utility.
Default file location: The diagtool.exe tool is located in the SAP Mobile Platform installation folder at SMP_HOME\Servers\UnwiredServer\diagtool.
diagtool verify options
Parameter | Description |
---|---|
verify | Verify specific configuration |
Parameter | Description |
---|---|
-push | Verify messaging connection |
-sync | Verify synchronization connection |
-register | Verify automatic registration configuration for a specified application |
-security | Validate specific security configuration |
-e2ee | Validate end-to-end security configuration setup |
Parameter | Description |
---|---|
-h | Host name of the server (default is the local machine host name) |
-P | Messaging server port (default value is 5011) |
-u | User name that is validated by the specified security configuration or "admin" security configuration per the verification command |
-p | Password |
Parameter | Description |
---|---|
-push | Validate messaging connection |
Parameter | Description |
---|---|
-security | Verify security configuration |
-sc | Security configuration |
Parameter | Description |
---|---|
-urlsuffix | Relay Server URL suffix for the messaging farm |
-farmid | Relay Server farm ID for the messaging farm |
-https | (Optional) Use HTTPS protocol for the messaging connection (-P should be the HTTPS port) |
-cert | (Optional) Specify the messaging server certificate (only needed if using an unknown or self-signed certificate) |
Parameter | Description |
---|---|
-verbose | (Optional) Output detail trace information |
Parameter | Description |
---|---|
-e2ee | Validate end-to-end encryption |
Parameter | Description |
---|---|
-sync | Verify synchronization |
-synchost | Specify the synchronization host name (of the SAP Mobile Platform server or Relay Server of the intermediary load balancer) |
-syncport | Specify the synchronization port number (of the SAP Mobile Platform server or Relay Server or the intermediary load balancer) |
-syncfarmid | Relay Server farm ID for the synchronization |
-syncurlsuffix | Relay Server URL suffix for the synchronization farm |
-synchttps | (Optional) Use HTTPS for synchronization connection (-syncport should be the HTTPS port) |
-synccert | (Optional) Full path to the synchronization server certificate (only needed if using an unknown or self-signed certificate) |
Parameter | Description |
---|---|
-register | Verify automatic registration |
-appid | Application ID for which the verification must be done (security configuration can be optionally specified) |
diagtool verify -security -h host -P port -u username -p password -sc security_configuration
diagtool verify -register -appid application_ID -h host -P 2480 -u username -p password
diagtool verify -e2ee -h host -P port -u username -p password -farmid farm_ID -urlsuffix URL_suffix -synchost sync_hostname -syncport sync_port_number
For more information, see Syntax and Scenarios.