Remote administration of the Relay Server log file is provided through the AdminChannel class in rstool.jar.
Command line usage:
java ianywhere.ml.rs.AdminChannel [{options}]... |
where options can be one or more of the following
Option | Description |
---|---|
-url rsAdminUrl | Points to the rs_admin extension |
-uid user -pwd password | Provides credentials for HTTP authentication to access rs_admin |
-ping | Ping the rs_admin extension |
-getRSConfig | Retrieve the Relay Server configuration |
-setRSConfig | Update and backup the Relay Server configuration |
-hello | Negotiate administration protocol version and ping |
-archiveRSLog | Truncate and archive the current online Relay Server log file |
-xol outFile none | beginTime none | endTime nRegex "regex"... | Extracts log lines from the archived and/or online local Outbound Enabler logs. The Relay Server does not need to be running and this function provides local extraction only. |
-xrl outFile none | beginTime none | endTime nRegex "regex"... |
Extracts log lines from archived and/or online Relay Server logs remotely, where:
|
? | -? | /? | -h | /h | Output this usage description |
For example:
java.exe -cp rstool.jar ianywhere.ml.rs.AdminChannel -url https://rs.my.com/rs16/admin/rs_admin.dll -uid me -pwd changit -hello java.exe -cp rstool.jar ianywhere.ml.rs.AdminChannel -url https://rs.my.com/rs16/admin/rs_admin.dll -uid me -pwd changit -xrl rr.xrl none none 1 "RSR (element|header|row)" |
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |