Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
7.  Managing Server and Client Support (Overview) Diskless Client Management Overview OS Server and Diskless Client Support Information  Previous   Contents   Next 
   
 

Diskless Client Management Features

You can use the smosservice and smdiskless commands to add and maintain diskless client support on a network. By using a name service, you can manage system information in a centralized manner so that important system information, such as host names, does not have to be duplicated on every system in the network.

You can do the following tasks with the smosservice and smdiskless commands:

  • Add and modify diskless client support

  • Add and remove OS services

  • Manage diskless client information in the LDAP, NIS, NIS+, or files environment

You can only use the diskless client commands to set up diskless client booting. You cannot use them to set up other services, such as remote installation or profile services. Set up remote installation services by including diskless client specifications in the sysidcfg file. For more information, see Solaris 9 Installation Guide.

Working With Diskless Client Commands

By writing your own shell scripts and using the commands shown in the following table, you can easily set up and manage your diskless client environment.

Table 7-3 Diskless Client Commands

Command

Subcommand

Task

/usr/sadm/bin/smosservice

 

 

 

add

Add OS services

 

delete

Delete OS services

 

list

List OS services

 

patch

Manage OS service patches

/usr/sadm/bin/smdiskless

 

 

 

add

Add a diskless client to an OS server

 

delete

Delete a diskless client from an OS server

 

list

List the diskless clients on an OS server

 

modify

Modify the attributes of a diskless client

You can obtain help on these commands in two ways:

  • Use the -h option when you type the command, subcommand, and required options. For example, to display the usage statement for smdiskless add type the following:

    % /usr/sadm/bin/smdiskless add -p my-password -u my-user-name -- -h
  • View the smdiskless(1M) or smosservice(1M) man pages.

Required RBAC Rights for Diskless Client Management

You can use the smosservice and smdiskless commands as superuser. If you are using Role-Based Access Control (RBAC), you can use of either a subset or all of the diskless client commands, according to the RBAC rights to which they are assigned. The following table lists the RBAC rights that are required to use the diskless client commands.

Table 7-4 Required Rights For Diskless Client Management

RBAC Right

Command

Task

Basic Solaris User, Network Management

smosservice list

List OS services

 

 

smosservice patch

List OS services patches

 

smdiskless list

List diskless clients

Network Management

smdiskless add

Add diskless clients

System Administrator

All commands

All tasks

Adding OS Services

A Solaris OS server is a server that provides operating system (OS) services to support diskless client systems. You can add support for an OS server or convert a standalone system to an OS server with the smosservice command.

For each platform group and Solaris release that you want to support, you must add the particular OS service to the OS server. For example, if you want to support SPARC™ Sun4m systems running the Solaris 8 release, you must add Sun4m/Solaris 8 OS services to the OS server. You would also still need to add OS services to support SPARC Sun4c systems or IA based systems that runs the Solaris 8 release, because they are different platform groups.

You must have access to the appropriate Solaris CD or disk image to add OS services.

Adding OS Services When the OS Server Has Been Patched

When adding OS services to an OS server, you might see error messages saying that you have inconsistent versions of the OS running on the server and the OS that you are trying to add. This message occurs when the installed version of the OS has packages that were previously patched and the OS services being added do not have those packages patched (because the patches have been integrated into the packages).

For example, you may have a server that is running the Solaris 7 release. You may also have additional OS services loaded on this server, including the Solaris 2.6 SPARC sun4m OS services that have been patched. If you try to add the Solaris 2.6 SPARC sun4c OS services from a CD-ROM to this server, you could get the following error message:

Error: inconsistent revision, installed package appears to have been 
patched resulting in it being different than the package on your media. 
You will need to backout all patches that patch this package before 
retrying the add OS service option.

Disk Space Requirements for OS Servers

Before you set up your diskless client environment, make sure you have the required disk space available for each diskless client directory.

In previous Solaris releases, you were prompted about diskless client support during the installation process. In the Solaris 9 release, you must manually allocate an /export file system either during installation or create it after installation. See the following table for specific disk space requirements.

Table 7-5 Disk Space Requirements for OS Servers

Directory

Required Space in Mbytes

/export/Solaris_version

10

/export/exec

800

/export/share

5

/export/swap/diskless_client

32 (default size)

/export/dump/diskless_client

32 (default size)

/export/root/templates/Solaris_version

30

/export/root/clone/Solaris_version/

machine_class

30 through 60 (depends on machine class)

/export/root/diskless_client(clone of above)

30 through 60 (depends on machine class)

/tftpboot/inetboot.machine_class.Solaris_

version

200 Kbytes per machine_class.Solaris_version

 
 
 
  Previous   Contents   Next