System Administration Guide: Basic Administration

How to Add OS Services For Diskless Client Support

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

  1. Become superuser or assume an equivalent role on the server.

    For more information, see How to Become Superuser (root) or Assume a Role.

  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 starbug:898 --
    Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from starbug:898
    Login to starbug as user root was successful.
    Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from starbug:898 
    was successful.
    Platform
    --------------------------------------------------------------------------
  3. Add the OS services.


    # /usr/sadm/bin/smosservice add -H hostname:898 -- -o hostname 
    -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 hostname: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. 

    --

    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 approximately 45 minutes, depending on the server speed and the OS service configuration you choose.


    For more information, see smosservice(1M).

  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 hostname:898 --
    

Example—Adding an OS Service for Diskless Client Support

This example describes how to add Solaris 8 OS services on the server starbug. The server starbug is running the Solaris 9 release.


# /usr/sadm/bin/smosservice add -H starbug:898 -- -o starbug 
-x mediapath=/net/install/export/sparc_8 -x platform=sparc.sun4u.Solaris_8 
-x cluster=SUNWCXall -x locale=en_US
Authenticating as user: root

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