System Administration Guide: Basic Administration

How to Add a Diskless Client

Use this procedure to add a diskless client after you have added OS services.

  1. Become superuser or assume an equivalent role.

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

  2. Add the diskless client.


    # /usr/sadm/bin/smdiskless add -- -i ip-address -e ethernet-address 
    -n client-name -x os=instruction-set.machine-class.Solaris-version 
    -x root=/export/root/client-name -x swap=/export/swap/client-name 
    -x swapsize=size -x tz=timezone -x locale=locale-name
    

    add

    Adds the specified diskless client. 

    --

    Identifies that the subcommand arguments start after this pont. 

    -i ip-address

    Identifies the IP address of the diskless client. 

    -e ethernet-address

    Identifies the Ethernet address of the diskless client. 

    -n client-name

    Specifies the name of the diskless client. 

    -x os=instruction-set.machine-class.Solaris-version

    Specifies the instruction architecture, machine class, OS, and the Solaris version for the diskless client. 

    -x root=root=/export/root/client-name

    Identifies the root directory for the diskless client. 

    -x swap=root=/export/root/client-name

    Identifies the swap file for the diskless client. 

    -x swapsize=size

    Specifies the size of the swap file in Mbytes. The default is 24 Mbytes. 

    -x tz=timezone

    Specifies the timezone for the diskless client. 

    -x locale=locale-name

    Specifies the locale to install for the diskless client. 

    For more information, see smdiskless(1M).

  3. (Optional) Continue to use the smdiskless add command to add each diskless client.

  4. Verify that the diskless clients were installed.


    # /usr/sadm/bin/smosservice list -H hostname:898 --
    

Examples—Adding a Diskless Client

This example shows how to add a Solaris 8 client, earth, from the server starbug.


# /usr/sadm/bin/smdiskless add -- -i 172.20.27.27 -e 8:0:20:1f:33:9e 
-n earth -x os=sparc.sun4m.Solaris_8 -x root=/export/root/earth 
-x swap=/export/swap/earth -x swapsize=64 -x tz=US/Mountain -x locale=en_US

This example shows how to add a Solaris 7 client, earth2, from the server starbug.


# /usr/sadm/bin/smdiskless add -- -i 172.20.27.26 -e 8:0:20:1f:32:be
-n earth2 -x os=sparc.sun4m.Solaris_2.7 -x root=/export/root/earth2 
-x swap=/export/swap/earth2 -x swapsize=64 -x tz=US/Mountain