System Administration Guide: Basic Administration

ProcedureHow to Add OS Services for Diskless Client Support

Use this procedure to add OS services for a diskless client on the server.


Note –

When adding OS services with the smosservice add command, root (/) and /usr packages with the ARCH=all type are not installed. These packages are skipped. No warning or error messages are displayed. After you add the OS services to the OS server, you must install the missing packages manually. For instructions, see How to Locate and Install Missing ARCH=all Packages.


  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Verify that the Solaris Management Console server is running and that the diskless client tools are available on the system.


    # /usr/sadm/bin/smosservice list -H host-name:898 --
    
  3. Add the OS services.


    # /usr/sadm/bin/smosservice add -H host-name
    :898 -- -o 
    host-name 
    -x mediapath=path -x platform=
    instruction-set.machine-class
    .Solaris_version 
    -x cluster=cluster-name 
    -x locale=locale-name
    
    add

    Adds the specified OS service.

    -H host-name:898

    Specifies the host name and port to which you want to connect. If you do not specify a port, the system connects to the default port, 898.


    Note –

    The -H option is not a required option when using the smossservice command to add OS services.


    --

    Identifies that the subcommand arguments start after this point.

    -x mediapath=path

    Specifies the full path to the Solaris image.

    -x platform=instruction-set.machine-class. .Solaris_version

    Specifies the instruction architecture, machine class, and the Solaris version to be added.

    -x cluster=cluster-name

    Specifies the Solaris cluster to install.

    -x locale=locale-name

    Specifies the locale to install.


    Note –

    The installation process can take about 45 minutes, depending on the server speed and the OS service configuration you choose.


    For more information, see the smosservice(1M) man page.

  4. (Optional) Continue to add the other OS services.

  5. When you are finished adding OS services, verify that the OS services were installed.


    # /usr/sadm/bin/smosservice list -H host-name:898 --
    

Example 7–1 SPARC: Adding an OS Service for Diskless Client Support

This example shows how to add Solaris 10 SPARC based OS services on the server jupiter. The server jupiter is running the Oracle Solaris OS. The CD image of the Oracle Solaris 10 SPARC based OS is located on the installation server, myway, in /export/s10/combined.s10s_u2wos/61.


# /usr/sadm/bin/smosservice add -H jupiter:898 -- -o jupiter 
-x mediapath=/net/myway/export/s10/combined.s10s_u2wos/61
-x platform=sparc.sun4u.Solaris_10 
-x cluster=SUNWCXall -x locale=en_US

# /usr/sadm/bin/smosservice list - H jupiter:898
Authenticating as user: root

Type /? for help, pressing enter accepts the default denoted by [ ]
Please enter a string value for: password :: xxxxxx
Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli
from jupiter:898
Login to jupiter as user root was successful.
Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from jupiter:898 
was successful.


Example 7–2 x86: Adding an OS Service for Diskless Client Support

This example shows how to add Solaris 10 x86 based OS services on the server orbit. The server orbit is running the Oracle Solaris OS. The CD image of the Oracle Solaris 10 x86 based OS is located on the installation server, seriously, in /export/s10/combined.s10x_u2wos/03.


# /usr/sadm/bin/smosservice add -H orbit:898 -- -o orbit -x
mediapath=/net/seriously/export/s10u2/combined.s10x_u2wos/03 -x
platform=i386.i86pc.Solaris_10 -x cluster=SUNWCXall -x locale=en_US

# /usr/sadm/bin/smosservice list - H orbit:898
Type /? for help, pressing <enter> accepts the default denoted by [ ]
Please enter a string value for: password ::
Starting Solaris Management Console server version 2.1.0.
endpoint created: :898
Solaris Management Console server is ready.
Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from orbit:898
Login to orbit as user root was successful.
Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from orbit:898 was successful.
Client       	Root Area
                Swap Area
                Dump Area
--------------------------------------------------------------------------------
.
.
.
#

Next Steps

Locate and install any ARCH=all packages that were missed when you ran the smosservice add command to add the OS services to the OS server. For more information, see How to Locate and Install Missing ARCH=all Packages.