config – Configure relay server or an RSOE for an Unwired Server node with a named XML file as input.
Use this command syntax:regRelayServer.bat config -f <filename> -sl
Options:- -f <filename> – The input file and path.
- -sl – Disable all user interactive questions (run silently).
export – Export the existing RSOE configuration
into a file. Use this command syntax:regRelayServer.bat export -o <filename> -sl
Options:- -o <filename> – The output file and path.
- -sl – Disable all user interactive questions (run silently).
exportRSconfig – Export the actual relay server configuration properties
file, which could be used by the Unwired Platform administrator to
configure Unwired Server farms, server nodes, for remaining relay servers that require configuration or updates.
Use this command syntax:regRelayServer.bat exportRSconfig -host -o <filename> -p <port> -sl
Options:- -host – either the relay server host name or the host name of the load balancer (if one is used in your environment). Device clients use the host name to establish connections. Other relay servers can use the host name to identify peers if a load balancer is not used.
- -o <filename> – The output file and path.
- -p <port> – the HTTP port for relay server connections.
- -sl – Disable all user interactive questions (run silently).
migrate – Migrate the configuration values defined in the 1.5.5 version of <UnwiredPlatfrom_InstallDir>\Servers\UnwiredServer\config\relayserver.properties file and port them to the current version of the cluster database. Use this command syntax:regRelayServer.bat migrate -host -o <filename> -sl
Options:
- -o <filename> – Store the command output into the named file to ensure that the migration is successful.
- -sl – Disable all user interactive questions (run silently).
quickconfig – Rapidly create a relay server configuration, collecting only connection property values and use system-generate defaults for the remaining properties required. RSOEs deployed with this method require manual property edits before they can be started. Export the configuration and update the properties in the file. You can then re-apply the configuration with the configure command. Use this command syntax:regRelayServer.bat quickconfig -d <description> -host <name> -p <port> -s <URLsuffix> -sl -sp <port>
remove – Deletes one or all RSOE process for the Unwired Server node. However, the configuration file is not deleted, because other RSOEs on the server node may require it. Supported options include:- -f <name> – The relay server farm name.
- -host – either the relay server host name or the host name of the load balancer (if one is used in your environment). Device clients use the host name to establish connections. Other relay servers can use the host name to identify peers if a load balancer is not used.
- -p <port> – the HTTP port for relay server connections.
If
you do not specify -h, -p, and -f options, all RSOEs for the Unwired Server node are removed. Otherwise, only those identified are removed.
start – Start one or all RSOE processes for the Unwired Server node.
Use this command syntax: regRelayServer.bat start -d <time> -f <name> -host <name> -os <size> -ot -p <port> -v <int>
Options:- -d <time> – When a connection fails, how long, in seconds to wait before retrying. The default is 5 seconds.
- -f <name> –
- -host – either the relay server host name or the host name of the load balancer (if one is used in your environment). Device clients use the host name to establish connections. Other relay servers can use the host name to identify peers if a load balancer is not used.
- -os – The maximum log file output size. The default is 10240 KB.
- -ot – Truncates the log file after reaching the size specified by the maximum output size.
- -p <port> – the HTTP port for relay server connections.
- -v <int> – The output log verbosity level. Set any value in the range of 0-5. For troubleshooting and maintenance, levels 1 or 2 should be sufficient.