Use this procedure to add a diskless client after you have added OS services. Unless otherwise noted, this procedure includes general information for both SPARC based and x86 based systems.
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.
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=time-zone -x locale=locale-name |
Adds the specified diskless client.
Identifies that the subcommand arguments start after this point.
Identifies the IP address of the diskless client.
Identifies the Ethernet address of the diskless client.
Specifies the name of the diskless client.
Specifies the instruction architecture, machine class, OS, and the Solaris version for the diskless client.
Identifies the root (/) directory for the diskless client.
Identifies the swap file for the diskless client.
Specifies the size of the swap file in Mbytes. The default is 24 Mbytes.
Specifies the time-zone for the diskless client.
Specifies the locale to install for the diskless client.
For more information, see the smdiskless(1M) man page.
(Optional) Continue to use the smdiskless add command to add each diskless client.
Verify that the diskless clients were installed.
# /usr/sadm/bin/smdiskless list -H host-name:898 -- |
This example shows how to add Solaris 10 sun4u diskless client, starlite, from the server bearclaus.
# /usr/sadm/bin/smdiskless add -- -i 172.20.27.28 -e 8:0:20:a6:d4:5b -n starlite -x os=sparc.sun4u.Solaris_10 -x root=/export/root/starlite -x swap=/export/swap/starlite -x swapsize=128 -x tz=US/Mountain -x locale=en_US # /usr/sadm/bin/smdiskless list -H starlite:898 -- Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from line2-v480:898 Login to line2-v480 as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from line2-v480:898 was successful. Platform -------------------------------------------------------------------------------- i386.i86pc.Solaris_10 sparc.sun4us.Solaris_10 sparc.sun4u.Solaris_10 i386.i86pc.Solaris_9 sparc.sun4m.Solaris_9 sparc.sun4u.Solaris_9 sparc.sun4us.Solaris_9 |
Note that the smdiskless list -H command output lists both SPARC based and x86 based systems.
This example shows how to add a Solaris 10 x86 based diskless client, mars, from the server bearclaus.
# /usr/sadm/bin/smdiskless add -- -i 172.20.27.176 -e 00:07:E9:23:56:48 -n mars -x os=i386.i86pc.Solaris_10 -x root=/export/root/mars -x swap=/export/swap/mars -x swapsize=128 -x tz=US/Mountain -x locale=en_US |