Here's what I'm planning on doing. Please speak up soon if this doesn't 
look right.
This is the result of an office conversation with Ethan and Evan.

The name of the service will be svc://system/install/server:default

The method and manifest (svc-install_server and server.xml) will live in 
usr/src/cmd/installadm.
They will be packaged into SUNWinstalladm-tools.

The following will be required dependencies of the service:
    svc:/network/dns/multicast:default
    svc:/network/tftp/udp6:default
    svc:/network/http:apache2

The following will be an optional dependency of the service:
    svc:/network/dhcp-server:default


The start method will have an infinite timeout (timeout_seconds='0')
The functionality of the start method will be to read the service_data file
and for each "on" service to installadm start <svcname>

The stop method will have an infinite timeout (timeout_seconds='0')
The functionality of the stop method will be to determine which services
are on and stop the ai webserver for those services. Sundar, how do I
determine if the service is on? Ethan commented that he would rather not
trust the service_data file for this since there is the possibility it 
might not
reflect reality.

Associated work:
1) Remove the enabling of the services listed above  from installadm
2) Add the status to the service_data file
3) installadm create-service should be modified to enable this smf 
service if it's not.


Jean

Reply via email to