The following svcadm commands helps to manage Service Management Facility on Web Server.
During installation of Web Server, you can choose to install service for Administration Server.
svcadm enable <service-name>:<instance-name> - Starts the instance.
svcadm disable <service-name>:<instance-name>- Stops the instance.
svcadm refresh <service-name>:<instance-name> - Restarts the instance.
svcadm clear <service-name>:<instance-name> — Clears the state of the instance. You can also use the svcadm clear command to change the service state from maintenance to stop, when the service turns to maintenance state.
You can create a service while creating an instance. Use the following command to create service while creating an instance:
wadm>create-instance <connect_options> --echo --no-prompt --verbose --force --config=<config_name> name --create-service (nodehost)+
Use the following command to create a service in an existing instance:
wadm>create-service –config=<config-name> node host
To learn more about creating a instance through CLI, seecreate-instance(1) see