Server Automation REST API
The Server Automation REST API is a node-based application which enables you to execute and monitor Server Automation Plans. Using this REST API, you can perform Server Automation tasks in a standardized and operating system-independent method.
The starting/stopping of this service is controlled by means of a Windows service called
" SARESTService".
-
In fixlet (ID: 157), both http and https ports are configurable. Default http port is 8080 and https port is 8443. User needs to update the default http and https port before installation. If the computer already runs the legacy WAS Liberty based service, the user still can install the fixlet 157 on any available ports.
How to install/uninstall the node-based Server Automation REST API
(ID: 157) Deploy Server Automation REST API
(ID: 158) Remove Server Automation REST API<INSTALL ROOT>\sa_rest_node\Logs.Fore more information, refer to Server Automation REST API
Watchdog to check Server Automation REST service status
Installing the watchdog service is optional. You can add it to the automation plan as needed. You can install and uninstall the watchdog service using the following Fixlets from the Server Automation site:
(ID: 151) Enable automatic restart for SAREST service
(ID: 154) Disable automatic restart for SAREST service
- The prerequisite for the Fixlet
(ID: 151) Enable automatic restart for SAREST serviceis to install the SA REST service using the Fixlet(ID: 157) Deploy Server Automation REST API. - If you want to remove SA REST service, you must first remove the watchdog using
the Fixlet
(ID: 154) Disable automatic restart for SAREST servicebefore running the Fixlet(ID: 158) Remove Server Automation REST API,
Configuration of server side Ciphers
- Navigate to <INSTALL ROOT>\sa_rest_node\config.js, where SA REST API is installed.
- Open the config.js file in a text editor. Sample
content in config.js file looks as
follows:
exports.httpsport = "<some value>"; exports.ip = "<some value>"; exports.bigFixServerUrl = "<some value>"; exports.sslKeyPath = "<some value>"; exports.sslCertPath = "<some value>"; exports.ciphers = ""; - By default, the value of
exports.ciphersis empty. You can add your ciphers within double quotes separated by commas.Note: Do not modify any other existing information apart from adding Cipher, which might lead to unexpected errors. - Save and close the file.
- Restart the SARESTService for the changes to take effect.