The same action, to disconnect or connect an Intelligence Server from Web can be performed via a task URL call against the taskAdmin servlet.
The following URL is to connect the specified Intelligence Server machine:
http://WEBSERVER:PORT/MicroStrategy/servlet/taskAdmin?taskId=webServerAdmin&taskEnv=xml&taskContentType=xml&server=&port=34952&action=CONNECT
The following URL is to disconnect the specified Intelligence Server machine:
http://WEBSERVER:PORT/MicroStrategy/servlet/taskAdmin?taskId=webServerAdmin&taskEnv=xml&taskContentType=xml&server=&port=34952&action=DISCONNECT
The required parameters are:
- taskId = webServerAdmin
- server = Intelligence Server machine name or IP address
- port = Intelligence Server listening port
- action = Either
CONNECT or
DISCONNECT- taskEnv / ContentType = In this case, set to XML. This task does not return a response.
Note: Strategy Task Administrator is secured by web server authentication (same as access Strategy Web Administrator). Therefore, credentials will have to be provided when executing the task through the taskAdmin servlet. That means, either the URL is executed manually though a browser in order to provide credentials or the credentials are added to the URL (i.e. when using basic authentication, http://username:password@WEBSERVER:PORT/MicroStrategy/servlet/taskAdmin)