If you update your AI install server with the SUNWinstalladm-tools package that
contains the recently integrated fixes (build 110) for:

4488 Apache web services are started outside of SMF.
6128 installadm reuses /var/ai data and screw up manifest
7186 installadm start/stop should really be enable/disable

then

A) you will need to recreate any services previously created with installadm
create-service  (see below for instructions)

and

B) the "installadm start" command has been replaced with "installadm enable" and
the installadm stop command has been replaced with "installadm disable". The
new installadm usage is:

usage:  installadm <subcommand> <args> ...
        create-service  [-d] [-u] [-f <bootfile>] [-D <DHCPserver>]
                        [-n <svcname>] [-i <dhcp_ip_start>]
                        [-c <count_of_ipaddr>] [-s <srcimage>] <targetdir>
        delete-service  [-x] <svcname>
        list    [-n <svcname>]
        enable  <svcname>
        disable [-t] <svcname>
        create-client   [-P <protocol>]
                        [-b "<property>=<value>"]
                        -e <macaddr> -t <imagepath> -n <svcname>
        delete-client   <macaddr>
        add     -m <manifest> -n <svcname>
        remove  -m <manifest> -n <svcname>
        set     -p <name>=<value> -n <svcname>
        version
        help    [<subcommand>]

-------------------------------------------------------------------

Instructions to recreate services:

1. If you have any custom manifests or you have changed the default manifest,
  please save those changes. You will have to republish those changes after
recreating the services. You can copy the /var/ai directory to a backup to use
for reference:

# cp -r /var/ai /var/ai_save

2. Reboot your AI server.

3. Install the new SUNWinstalladm-tools package

4. Recreate all of the services using installadm create-service. Information
about the old services can be found in the /var/installadm/service_data file.

For instance, if the entry looks like this:
svcx86;/export/ai/images/osol-0906-106a-ai-x86;svcx86;aiwebserver=opensolaris:46502

then you can run:
# installadm create-service -n svc86 /export/ai/images/osol-0906-106a-ai-x86

If the entry looks like:
_install_service_46503;/export/ai/images/osol-0906-106a-ai-sparc_2;_install_service_46503;aiwebserver=opensolaris:46503

then you can run
# installadm create-service /export/ai/images/osol-0906-106a-ai-sparc_2

5. Once you are done recreating your services, it is recommended that you rename
your service data file to flag that it is no longer being used (e.g.,
service_data.old).

6. To import the new install/server SMF manifest, type the following as root:
# svccfg import /var/svc/manifest/system/install/server.xml
# svcadm enable install/server


Apologies for the inconvenience.

Sue and Jean


Reply via email to