Connecting to FAS via the CLI
- Navigate to the FAS's bin directory e.g. cd <FAS_INSTALL_DIR>/bin
- Start the JBoss CLI e.g. ./jboss-cli.sh
- Using the 'connect' command, connect to the master host of the required FAS cluster, specifying its address and the management port e.g. connect <ADDRESS>:9999
- When prompted for credentials, enter the appropriate username and password
- To terminate a CLI session type: quit
NOTE: Once connected use 'ctrl + backspace' to delete a command
To add an application router:
/profile=ha/subsystem=sip/app-router=<app-router-name>:add
To remove an application router:
/profile=ha/subsystem=sip/app-router=<app-router-name>:remove
To set an application router to be the default application router:
/profile=ha/subsystem=sip/app-router=<app-router-name>:writeattribute(
name=default,value=true)
To add a controlled domain for an application router:
/profile=ha/subsystem=sip/app-router=<app-router-name>/controlleddomain=<
controlled-domain-name>:add
To remove a controlled domain for an application router:
/profile=ha/subsystem=sip/app-router=<app-router-name>/controlleddomain=<
controlled-domain-name>:remove
To add an application artefact for an application router:
/profile=ha/subsystem=sip/app-router=<app-router-name>/applicationartefact=<
application-artefact-name>:add
To remove an application artefact for an application router:
/profile=ha/subsystem=sip/app-router=<app-router-name>/applicationartefact=<
application-artefact-name>:remove
Comments
0 comments
Please sign in to leave a comment.