Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jumpstart and smf

807559Dec 7 2004 — edited Apr 9 2007
I just installed Solaris 10 (Build 72) for the first time in order to
plan our migration to the new release. We have about 100 clients
which are all installed using customized jumpstart finish and reboot
scripts. Typically we do tasks like enabling tcp-wrappers, connection
logging, modification of inetd services, installation of sendmail.cf
files, and modification of startup scripts in init.d.

If I understand some of the postings in this thread correctly then I
have to do the following modifications to incorporate such a scheme
into smf:

1. I have to set up a service profile which configures the
workstation to run only the services I want it to run. Using svccfg
extract I get the current settings which I can modify and put into
/var/svc/profile/site.xml from where they will be read on reboot.
This file I can copy in the finish script of the jumpstart
installation, I assume.

2. I have to setup a one-time reboot script which does the final bits
of the installation during the first reboot. I saw a different thread
which discussed this topic a bit. Are there any examples how such a
manifest should look? I also don't really understand how the ordering
works, i.e. how can I determine at which point such a reboot script is
executed.

3. I have to setup additional manifests for other services I want to
be started at boot time. Do I put these in /var/svc and they will be
incorporated automatically during reboot?

It would be nice if Sun could provide a few examples how these tasks
are done in detail. This is quite a big difference to the way things
were done so far and some more examples would make the transition less
time consuming.

Regards,

Matthias Ernst
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 7 2007
Added on Dec 7 2004
21 comments
551 views