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:

Service Manifest for Web Server

A service is usually defined by a service manifest, an XML file
which describes a service and any instances associated with that service.
The service manifest is imported into the repository by using the svccfg import command. Service Management Facility requires
all manifest file for services to be in the following location /var/svc/manifest.

Service Log

The service log file is located in the following directory /var/svc/log. Service log file entries contain information
about the attempted action, the outcome of the action, and the cause
of failure if applicable. The service logs are located as follows /var/svc/log/network-http:admin-server.log.