![]() |
![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||
|
# /usr/sadm/bin/smosservice list -H starbug:898 -- Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from ... Login to starbug as user root was successful. Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from starbug:898 was successful. Platform ------------------------------------------------------------------------- |
# /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).
(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 hostname:898 -- |
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. |
How to Add a Diskless ClientUse this procedure to add a diskless client after you have added OS services.
Become superuser or assume an equivalent role.
For more information, see How to Become Superuser (root) or Assume a Role.
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).
(Optional) Continue to use the smdiskless add command to add each diskless client.
Verify that the diskless clients were installed.
# /usr/sadm/bin/smosservice list -H hostname:898 -- |
This example shows how to add a Solaris 8 client, holoship, from the server starbug.
# /usr/sadm/bin/smdiskless add -- -i 172.20.27.103 -e 8:0:20:92:4e:f3 -n holoship -x os=sparc.sun4u.Solaris_8 -x root=/export/root/holoship -x swap=/export/swap/holoship -x swapsize=128 -x tz=US/Mountain -x locale=en_US |
This example shows how to add a Solaris 7 client, inquisitor, from the server starbug.
# /usr/sadm/bin/smdiskless add -- -i 172.20.27.102 -e 8:0:20:1f:31:be -n inquisitor -x os=sparc.sun4u.Solaris_2.7 -x root=/export/root/inquisitor -x swap=/export/swap/inquisitor -x swapsize=64 -x tz=US/Mountain |
How to Boot a Diskless ClientVerify 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.
Boot the diskless client.
ok boot net |
How to Delete Diskless Client SupportBecome superuser or assume an equivalent role.
For more information, see How to Become Superuser (root) or Assume a Role.
Remove the diskless client support.
# /usr/sadm/bin/smdiskless delete -- -o hostname:898 -n client-name |
Verify that the diskless client support is removed.
# /usr/sadm/bin/smosservice list -H hostname:898 -- |
Previous Contents Index Next ![]() |