These sections describe the preparations that are necessary for managing diskless clients.
Keep the following key points in mind when managing diskless clients:
The Solaris installation program doesn't prompt you to set
up diskless client support. You must manually create an /export
partition
to support diskless clients. You create the /export
partition
during or after the installation process.
The /export
partition must contain a
minimum of 5 Gbytes, depending upon the number of clients supported. For specific
information, see .
The name service identified in the smosservice or smdiskless commands must match the primary name service identified
in the /etc/nsswitch.conf
file. If you don't specify
a name service in the smdiskless or smosservice commands,
the default name service is files
.
Use the
D
option to the smosservice and smdiskless commands
to specify a name server. For more information, see the
smosservice
(
1M
)
and
smdiskless
(
1M
)
man pages.
Starting with the Solaris
Express 5/06 release, the set_nfs4_domain script
that was delivered in the Solaris 10 OS is no longer used to set the NFSv4
domain. To set the NFSv4 domain, add the nfs4_domain
keyword
to the diskless client's sysidcfg file, for example, server:/export/root/client/etc/sysidcfg
.
If the nfs4_domain
keyword exists in the client system's sysidcfg file,
the first boot of a diskless client sets the domain accordingly. Also, the
OS server should be up and running, and the diskless client's NFSv4 domain
setting must match the setting in the OS server's /var/run/nfs4_domain
file.
For more information, see Preconfiguring With the sysidcfg File in Solaris Express Installation Guide: Network-Based Installations .
The OS server and the diskless client must be on the same subnet.
You cannot provide client services on a multiterabyte UFS file system, because OS and diskless client services cannot be added to a UFS file system that resides on an EFI-labeled disk.
After you determine the platform, media path, and cluster for each diskless client, you are ready to add OS services. The following directories are created and populated for each OS service that you add:
/export/Solaris_
(symbolic link to version
/Solaris_version
-instruction-set
.all/export/exec/Solaris_
)version
/Solaris_version
-instruction-set
.all
/export/Solaris_
version
/export/Solaris_
version
/var
/export/Solaris_
version
/opt
/export/share
/export/root/templates/Solaris_
version
/export/root/clone
/export/root/clone/Solaris_
version
/export/root/clone/Solaris_
version
/machine-class
The following default directories are created and populated on the OS server for each diskless client that you add:
/export/root/
diskless-client
/export/swap/
diskless-client
/tftpboot/
diskless-client-ipaddress-in-hex
/export/dump/
(if
you specify the diskless-client
x
dump
option)
You can modify the default locations of the root (/
), /swap
, and /dump
directories by using the
x
option
to the smosservice and smdiskless commands.
However, do not create these directories under the /export
file
system.
How to Prepare for Adding Diskless Clients in a GRUB Based Boot Environment
Starting with the Solaris Express 6/05 release, use this procedure to prepare for adding a diskless client. This procedure includes general information for x86 based systems.
When you use the smosservice add command to add OS services, you must specify the platform, media path, and cluster (or software group) of each diskless client platform that you want to support.
Ensure that the system that is intended to be the OS service is running a supported release. Also, verify that the OS server release and diskless client release combination is supported. For more information, see OS Server and Diskless Client Support Information.
Identify the diskless client platform by using this format:
instruction-set
.machine-class
.Solaris_version
For example:
i386.i86pc.Solaris_11
The following are the possible platform options:
|
|
|
---|---|---|
sparc |
sun4v sun4u, sun4m, sun4d, and sun4c |
Starting with the Solaris 10 1/06 OS Solaris Express, Solaris 10, Solaris 9, Solaris 8, Solaris 7, and Solaris 2.7 |
i386 |
i86pc |
Solaris Express, Solaris_10, Solaris_9, Solaris_8, Solaris_2.7 |
The sun-4c architecture is not supported in the Solaris 8, Solaris 9, Solaris 10, or Solaris Express releases. The sun-4d architecture is not supported in the Solaris 9, Solaris 10, or Solaris Express releases. The sun-4m architecture is not supported in the Solaris Express or the Solaris 10 release.
Identify the media path.
The media path is the full path to the disk image that contains the OS that you want to install for the diskless client.
The Solaris OS is delivered on multiple CDs. However, you cannot use the smosservice command to load OS services from a multiple CD distribution. You must run the scripts that are found on the Solaris software CDs (and optional Language CD) to do the following:
Create an install image on a server. For information on setting up an install server, refer to Solaris Express Installation Guide: Network-Based Installations .
Load the required OS services from the CD image by using one of the following scripts:
CD 1 – /cdrom/cdrom0/s0/Solaris_11/Tools/setup_install_server
Additional Solaris Software CDs – /cdrom/cdrom0/s0/Solaris_11/Tools/add_to_install_server
Language CD – /cdrom/cdrom0/s0/Solaris_11/Tools/add_to_install_server
For example, if you are using the setup_install_server script from the Solaris Express Software 1 CD on a locally connected CD-ROM device, the syntax looks similar to the following:
#mkdir /export/install/sol_11_x86
#cd /cd_mount_point/Solaris_11/Tools
#./setup_install_server /export/install/sol_11_x86
Add the BootFile
and BootSrvA
DHCP
options to your DHCP server configuration to enable a PXE boot.
For example:
Boot server IP (BootSrvA) :svr-addr
(BootFile) : 01client-macro
where svr-addr
is the IP address of the OS
server and client-macro
is named by the client's
Ethernet type (01) and the mac address of the client. This number is also
the name of the file that is used in the /tftpboot
directory
on the installation server.
The notation for the client-macro
consists
of uppercase letters. This notation should not contain any colons.
You can add these options from the command-line, or by using DHCP Manager. See Example 7–4 for more information.
For more information, see How to Perform a GRUB Based Boot From the Network, Preconfiguring System Configuration Information With the DHCP Service (Tasks) in Solaris Express Installation Guide: Network-Based Installations , and Part III, DHCP, in System Administration Guide: IP Services .
After the Solaris CD image is installed on the disk, note the disk media path. For example:
/net/export/install/sol_11_x86_
This is the disk media path that needs to be specified when you use the smosservice command.
Identify the SUNWCXall
cluster
when you add OS services.
You must use the same cluster for diskless clients that run the same OS on the same system.
Always specify SUNWCXall
as the cluster.
How to Prepare for Adding Diskless Clients in the Solaris 10 OS
When you use the smosservice add command to add OS services, you must specify the platform, media path, and cluster (or software group) of each diskless client platform that you want to support.
Ensure that the system that is intended to be the OS service is running a supported release. Also verify that the combination of OS server release and diskless client release is supported. For more information, see OS Server and Diskless Client Support Information.
Identify the diskless client platform by using this format:
instruction-set
.machine-class
.Solaris-version
For example:
sparc.sun4u.Solaris_10
The following are the possible platform options:
|
|
|
---|---|---|
sparc |
sun4v sun4c, sun4d, sun4m, sun4u, |
Starting with the Solaris 10 1/06 OS Solaris_10, Solaris_9, Solaris_8, Solaris_2.7 |
i386 |
i86pc |
Solaris_10, Solaris_9, Solaris_8, Solaris_2.7 |
The sun-4c architecture is not supported in the Solaris 8, Solaris 9, or Solaris 10 releases. The sun-4d architecture is not supported in the Solaris 9 or 10 releases. The sun-4m architecture is not supported in the Solaris 10 release.
Identify the media path.
The media path is the full path to the disk image that contains the OS that you want to install for the diskless client.
The Solaris OS is delivered on multiple CDs. However, you cannot use the smosservice command to load OS services from a multiple CD distribution. You must run the scripts that are found on the Solaris software CDs (and optional Language CD) to do the following:
Create an install image on a server. For information on setting up an install server, refer to Solaris Express Installation Guide: Network-Based Installations .
Load the required OS services from the CD image by using one of the following scripts:
CD 1 – /cdrom/cdrom0/s0/Solaris_10/Tools/setup_install_server
Additional Solaris Software CDs – /cdrom/cdrom0/s0/Solaris_10/Tools/add_to_install_server
Language CD – /cdrom/cdrom0/s0/Solaris_10/Tools/add_to_install_server
For example, if you are using the setup_install_server script from the Solaris Express Software 1 CD on a locally connected CD-ROM device, the syntax looks similar to the following:
#mkdir /export/install/sparc_10
#cd /cd_mount_point/Solaris_10/Tools
#./setup_install_server /export/install/sparc_10
After the Solaris CD image is installed on the disk, specify the disk media path. For example:
/export/install/sparc_10
Identify the SUNWCXall
cluster
when you add OS services.
You must use the same cluster for diskless clients that run the same OS on the same system.
For example, consider the following Solaris 9 diskless clients:
sparc.sun4m.Solaris_9
sparc.sun4u.Solaris_9
To set up these diskless clients, you would need to specify the SUNWCXall
cluster for each diskless client because the sun4u
and sun4m
systems require the SUNWCXall
cluster.
In addition, diskless clients that run the same operating release (in this
example, Solaris_9) on the same system must use the same cluster.
If you are using a sun4u
system, or if you
are using a system with an accelerated 8-bit color memory frame buffer (cgsix
), you must specify SUNWCXall
as
the cluster.
How to Add OS Services for Diskless Client Support
Use this procedure to add OS services for a diskless client on the server.
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.
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 .
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 --
#/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
Adds the specified OS service.
H
host-name
:898Specifies 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.
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.
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.
(Optional) Continue to add the other OS services.
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. 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 Solaris 10 release. The CD image of the 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. 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 Solaris 10 release. The CD image of the 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 -------------------------------------------------------------------------------- . . . #
How to Add a Diskless Client in the GRUB Based Boot Environment
Starting with the Solaris Express 6/05 release, use this procedure to add a diskless client after you have added OS services.
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.
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=
time-zone
Specifies the time-zone for the diskless client.
x locale=
locale-name
Specifies the locale to install for the diskless client.
For more information, see the smdiskless ( 1M ) man page.
If not already created, add the BootSrva
and BootFile
DHCP options to your DHCP server configuration to enable
a PXE boot.
For example:
Boot server IP (BootSrvA) :svr-addr
Boot file (BootFile) : 01client-macro
where svr-addr
is the IP address of the server
and client-macro
is named by the client's Ethernet
type (01) and the mac address of the client. This number is also the name
of the file that is used in the /tftpboot
directory on
the installation server.
The client-macro
notation consists
of uppercase letters. The notation should not contain any colons.
The following files and directories are created in the /tftpboot
directory:
drwxr-xr-x 6 root sys 512 Dec 28 14:53client-host-name
lrwxrwxrwx 1 root root 31 Dec 28 14:53 menu.lst.01ethernet-address
-> /tftpboot/client-host-name
/grub/menu.lst -rw-r--r-- 1 root root 118672 Dec 28 14:53 01ethernet-address
If the console is on a serial port, edit the /tftpboot/menu.lst.01
ethernet-address
file. Uncomment the
line that specifies the tty
setting.
To change
the default menu.lst
file that is created on the client,
edit the echo
lines in the /usr/sadm/lib/wbem/config_tftp
file.
For more information, see Performing a GRUB Based Boot From the Network.
Verify that the diskless clients were installed.
# /usr/sadm/bin/smdiskless list -H host-name
:898 --
(Optional) Continue to use the smdiskless add command to add each diskless client.
Example 7.3. Adding Diskless Client Support to an x86 Based System in the GRUB Boot Environment
This example shows how to add a Solaris 10 x86 based diskless client, mikey1
.
rainy-01#/usr/sadm/bin/smdiskless add -H sdts-01-qfe0 -- -o sdts-01-qfe0 -n mikey1 -i 192.168.20.22 -e 00:E0:88:55:33:BC -x os=i386.i86pc.Solaris_10 -x root=/export/root/mikey1 -x swap=/export/swap/mikey1
Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from sdts-01-qfe0 Login to rainy-01-qfe0 as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from rainy-01-qfe0 was successful. #/usr/sadm/bin/smdiskless list -H mikey1:898 --
Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from mikey1:898 Login to mikey1 as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from mikey1:898 was successful. Platform -------------------------------------------------------------------------------- i386.i86pc.Solaris_10 sparc.sun4us.Solaris_10 sparc.sun4u.Solaris_10 i386.i86pc.Solaris_9
Example 7.4.
Adding the BootSrvA
and BootFile
DHCP
Options to the DHCP Server Configuration
This example shows how to add the BootSrva
and BootFile
DHCP options that are necessary for enabling a PXE boot.
rainy-01#pntadm -A mikey1 -m 01
rainy-01#client-macro
-e '-1' -f 'MANUAL+PERMANENT' -i 01client-macro
client-ip
dhtadm -A -m 01
client-macro
-d \ ":BootSrvA=svr-addr
:BootFile=01client-macro
:"
In the preceding example, svr-addr
is the
IP address of the server, and client-macro
is named
by the client's Ethernet type (01) and the mac address. This number is also
the name of the file that is used in the /tftpboot
directory
on the installation server. The notation for the client-macro
consists
of uppercase letters. This notation should not contain any colons.
How to Add a Diskless Client in the Solaris 10 OS
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.
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=
time-zone
Specifies the time-zone for the diskless client.
x locale=
locale-name
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 --
Example 7.5. Adding Diskless Client Support to a SPARC Based System
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.
Example 7.6. Adding Diskless Client Support to an x86 Based System in the Solaris 10 OS
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
How to Boot a Diskless Client With GRUB
If you have installed or upgraded your system to at least the Solaris Express 6/05 OS, the procedure for booting a diskless client has changed. Follow these steps to boot a diskless client with GRUB.
Starting with the Solaris Express 3/06 release, the GRUB failsafe interaction has changed. When booting the failsafe archive, you are no longer prompted by the system to automatically update the boot archives. The system prompts you to update the boot archives only if out-of-date boot archives are detected. For more information, see How to Boot the Failsafe Archive for Recovery Purposes.
To ensure that the system boots from the network, verify the following prerequisites on the OS server:
Confirm that the name service used to add the diskless client
and the OS services matches the primary name in the server's /etc/nsswitch.conf
file.
Verify that the DHCP and tftp boot services are running.
See PXE Network Boot for more information.
Configure the system BIOS to boot the system from the network by enabling the PXE ROM option.
Some PXE-capable network adapters have a feature that enables PXE boot if you type a particular keystroke in response to a brief boot-time prompt. See your hardware documentation for information about how to set the boot priority in the BIOS.
Boot the diskless client by typing the correct keystroke combination.
The GRUB menu is displayed.
GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +-------------------------------------------------------------------------+ | Solaris 10.1 ... X86 | | Solaris failsafe | | | | | | | +-------------------------------------------------------------------------+
The GRUB menu that is displayed on your system might vary from the previous example, depending on the configuration of your network installation server.
Use the arrow keys to select a boot entry, then press Enter.
If you do not make a selection, the default OS instance is automatically booted after several seconds.
If you need to set specific boot arguments, use the arrow keys to select a boot entry, then type e to edit the entry.
GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +-------------------------------------------------------------------------+ | root (hd0,2,a) | | kernel /platform/i86pc/multiboot | | module /platform/i86pc/boot_archive | | | | | | | +-------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu. grub edit> kernel /platform/i86pc/multiboot
The boot command that you want to edit is displayed in the GRUB edit screen.
Edit the kernel command by typing the boot arguments or options that you want to use.
To manually redirect the console to ttyb
,
type:
grub edit> kernel /platform/i86pc/multiboot -B console=ttyb
To use the input-device/output-device
property,
type:
grub edit> kernel /platform/i86pc/multiboot -B input-device=ttyb,output-device=ttyb
To override the serial line speed, type:
grub edit> kernel /platform/i86pc/multiboot -B ttyb-mode="115200,8,n,1,-"
You can also edit the /tftpboot/menu.lst.01
client-macro
file, by using one of the commented out entries
in the menu.lst
file. For more information, see
GRUB Menu.
For more information about boot options and arguments, see Modifying the Solaris Boot Behavior by Editing the GRUB Menu.
To save the edits and return to the GRUB menu, press Enter.
The GRUB menu is displayed, showing the edits you made to the boot command.
Type b or press Enter to boot the system from the network.
How to Boot a Diskless Client in the Solaris 10 OS
Verify the following prerequisites on the OS server:
Confirm that the name service used to add the diskless client
and the OS services matches the primary name in the server's /etc/nsswitch.conf
file.
Otherwise, the diskless client won't boot.
Confirm that the rpc.bootparamd daemon is running. If it is not running, start it.
How to Remove Diskless Client Support
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 .
Remove the diskless client support.
#/usr/sadm/bin/smdiskless delete -- -o
host-name
:898 -nclient-name
Verify that the diskless client support has been removed.
# /usr/sadm/bin/smosservice list -H host-name
:898 --
Example 7.7. Removing Diskless Client Support
This example shows how to remove the diskless client holoship
from
the OS server starlite
.
#/usr/sadm/bin/smdiskless delete -- -o starlite -n holoship
Authenticating as user: root Type /? for help, pressing enter accepts the default denoted by [ ] Please enter a string value for: password :: Starting SMC server version 2.0.0. endpoint created: :898 SMC server is ready. #/usr/sadm/bin/smosservice list -H host-name:898
Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from starlite Login to starlite as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from starlite was successful.
How to Remove OS Services for Diskless Clients
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 .
Remove the OS services for the diskless clients.
# /usr/sadm/bin/smosservice delete -H $HOST:$PORT -u root -p $PASSWD --
-x instruction-set
.all.Solaris_version
Only the machine-class, all
, is supported.
Verify that the OS services have been removed.
# /usr/sadm/bin/smosservice list -H host-name
:898 --
Example 7.8. Removing OS Services for Diskless Clients
The following example shows how to removing the diskless client
OS services (sparc.all.Solaris_10
) from the server starlite
.
#/usr/sadm/bin/smosservice delete -H starlite:898 -u root -p
Authenticating as user: root Type /? for help, pressing enter accepts the default denoted by [ ] Please enter a string value for: password :: #xxxxxx
-- -x sparc.all.solaris_10/usr/sadm/bin/smosservice list -H
Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from starlite:898 Login to starlite as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from starlite:898 was successfulhost-name
:898 --