JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
man pages section 1M: System Administration Commands     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

Introduction

System Administration Commands - Part 1

6to4relay(1M)

accept(1M)

acct(1M)

acctadm(1M)

acctcms(1M)

acctcon1(1M)

acctcon(1M)

acctcon2(1M)

acctdisk(1M)

acctdusg(1M)

acctmerg(1M)

accton(1M)

acctprc1(1M)

acctprc(1M)

acctprc2(1M)

acctsh(1M)

acctwtmp(1M)

acpihpd(1M)

adbgen(1M)

add_allocatable(1M)

addbadsec(1M)

add_drv(1M)

add_install_client(1M)

add_to_install_server(1M)

afbconfig(1M)

apache(1M)

arp(1M)

atohexlabel(1M)

audit(1M)

auditconfig(1M)

auditd(1M)

auditrecord(1M)

auditreduce(1M)

auditstat(1M)

audit_warn(1M)

automount(1M)

automountd(1M)

autopush(1M)

bart(1M)

beadm(1M)

boot(1M)

bootadm(1M)

bootconfchk(1M)

bootparamd(1M)

busstat(1M)

cachefsd(1M)

cachefslog(1M)

cachefspack(1M)

cachefsstat(1M)

cachefswssize(1M)

captoinfo(1M)

catman(1M)

cfgadm(1M)

cfgadm_ac(1M)

cfgadm_cardbus(1M)

cfgadm_fp(1M)

cfgadm_ib(1M)

cfgadm_pci(1M)

cfgadm_sata(1M)

cfgadm_sbd(1M)

cfgadm_scsi(1M)

cfgadm_sdcard(1M)

cfgadm_shp(1M)

cfgadm_sysctrl(1M)

cfgadm_usb(1M)

cfsadmin(1M)

chargefee(1M)

chat(1M)

check(1M)

check-hostname(1M)

check-permissions(1M)

chk_encodings(1M)

chroot(1M)

cimworkshop(1M)

ckpacct(1M)

clear_locks(1M)

clinfo(1M)

closewtmp(1M)

clri(1M)

comsat(1M)

consadm(1m)

conv_lp(1M)

conv_lpd(1M)

coreadm(1M)

cpustat(1M)

cron(1M)

cryptoadm(1M)

cvcd(1M)

datadm(1M)

dcopy(1M)

dcs(1M)

dd(1M)

devattr(1M)

devfree(1M)

devfsadm(1M)

devfsadmd(1M)

device_allocate(1M)

device_remap(1M)

devinfo(1M)

devlinks(1M)

devnm(1M)

devprop(1M)

devreserv(1M)

df(1M)

dfmounts(1M)

dfmounts_nfs(1M)

dfshares(1M)

dfshares_nfs(1M)

df_ufs(1M)

dhcpagent(1M)

dhcpconfig(1M)

dhcpmgr(1M)

dhtadm(1M)

dig(1M)

directoryserver(1M)

disks(1M)

diskscan(1M)

dispadmin(1M)

dladm(1M)

dlmgmtd(1M)

dlstat(1M)

dmesg(1M)

dminfo(1M)

dns-sd(1M)

dnssec-dsfromkey(1M)

dnssec-keyfromlabel(1M)

dnssec-keygen(1M)

dnssec-makekeyset(1M)

dnssec-signkey(1M)

dnssec-signzone(1M)

dodisk(1M)

domainname(1M)

drd(1M)

drvconfig(1M)

dsbitmap(1M)

dscfg(1M)

dscfgadm(1M)

dscfglockd(1M)

dsstat(1M)

dsvclockd(1M)

dtrace(1M)

dumpadm(1M)

editmap(1M)

edquota(1M)

eeprom(1M)

efdaemon(1M)

embedded_su(1M)

etrn(1M)

fbconfig(1M)

fbconf_xorg(1M)

fcadm(1M)

fcinfo(1M)

fdetach(1M)

fdisk(1M)

ff(1M)

ffbconfig(1M)

ff_ufs(1M)

fingerd(1M)

fiocompress(1M)

flar(1M)

flarcreate(1M)

flowadm(1M)

flowstat(1M)

fmadm(1M)

fmd(1M)

fmdump(1M)

fmstat(1M)

fmthard(1M)

format(1M)

fpsd(1M)

fruadm(1M)

fsck(1M)

fsck_cachefs(1M)

fsck_pcfs(1M)

fsck_udfs(1M)

fsck_ufs(1M)

fsdb(1M)

fsdb_udfs(1M)

fsdb_ufs(1M)

fsirand(1M)

fssnap(1M)

fssnap_ufs(1M)

fsstat(1M)

fstyp(1M)

ftpaddhost(1M)

ftpconfig(1M)

ftpd(1M)

ftprestart(1M)

ftpshut(1M)

fuser(1M)

fwflash(1M)

fwtmp(1M)

getdev(1M)

getdevpolicy(1M)

getdgrp(1M)

getent(1M)

gettable(1M)

getty(1M)

getvol(1M)

GFXconfig(1M)

gkadmin(1M)

groupadd(1M)

groupdel(1M)

groupmod(1M)

growfs(1M)

grpck(1M)

gsscred(1M)

gssd(1M)

hald(1M)

hal-device(1M)

hal-fdi-validate(1M)

hal-find(1M)

hal-find-by-capability(1M)

hal-find-by-property(1M)

hal-get-property(1M)

hal-set-property(1M)

halt(1M)

hextoalabel(1M)

host(1M)

hostconfig(1M)

hotplug(1M)

hotplugd(1M)

htable(1M)

ickey(1M)

id(1M)

idmap(1M)

idmapd(1M)

idsconfig(1M)

ifconfig(1M)

if_mpadm(1M)

ifparse(1M)

iiadm(1M)

iicpbmp(1M)

iicpshd(1M)

ikeadm(1M)

ikecert(1M)

ilbadm(1M)

ilbd(1M)

imqadmin(1M)

imqbrokerd(1M)

imqcmd(1M)

imqdbmgr(1M)

imqkeytool(1M)

imqobjmgr(1M)

imqusermgr(1M)

in.chargend(1M)

in.comsat(1M)

in.daytimed(1M)

in.dhcpd(1M)

in.discardd(1M)

in.echod(1M)

inetadm(1M)

inetconv(1M)

inetd(1M)

in.fingerd(1M)

infocmp(1M)

in.ftpd(1M)

in.iked(1M)

init(1M)

init.sma(1M)

init.wbem(1M)

inityp2l(1M)

in.lpd(1M)

in.mpathd(1M)

in.named(1M)

in.ndpd(1M)

in.rarpd(1M)

in.rdisc(1M)

in.rexecd(1M)

in.ripngd(1M)

in.rlogind(1M)

in.routed(1M)

in.rshd(1M)

in.rwhod(1M)

install(1M)

installboot(1M)

installer(1M)

installf(1M)

installgrub(1M)

install_scripts(1M)

install-solaris(1M)

in.stdiscover(1M)

in.stlisten(1M)

in.talkd(1M)

in.telnetd(1M)

in.tftpd(1M)

in.timed(1M)

intrd(1M)

intrstat(1M)

in.uucpd(1M)

iostat(1M)

ipaddrsel(1M)

ipadm(1M)

ipf(1M)

ipfs(1M)

ipfstat(1M)

ipmgmtd(1M)

ipmon(1M)

ipmpstat(1M)

ipnat(1M)

ippool(1M)

ipqosconf(1M)

ipsecalgs(1M)

ipsecconf(1M)

ipseckey(1M)

iscsiadm(1M)

isns(1M)

isnsadm(1M)

itadm(1M)

itu(1M)

k5srvutil(1M)

kadb(1M)

kadmin(1M)

kadmind(1M)

kadmin.local(1M)

kcfd(1M)

kclient(1M)

kdb5_ldap_util(1M)

kdb5_util(1M)

kdcmgr(1M)

kernel(1M)

keyserv(1M)

killall(1M)

kmscfg(1M)

kprop(1M)

kpropd(1M)

kproplog(1M)

krb5kdc(1M)

ksslcfg(1M)

kstat(1M)

ktkt_warnd(1M)

labeld(1M)

labelit(1M)

labelit_hsfs(1M)

labelit_udfs(1M)

labelit_ufs(1M)

lastlogin(1M)

latencytop(1M)

ldapaddent(1M)

ldap_cachemgr(1M)

ldapclient(1M)

ldmad(1M)

link(1M)

listdgrp(1M)

listen(1M)

llc2_loop(1M)

lms(1M)

localeadm(1M)

localectr(1M)

locator(1M)

lockd(1M)

lockfs(1M)

lockstat(1M)

lofiadm(1M)

logadm(1M)

logins(1M)

lpadmin(1M)

lpfilter(1M)

lpforms(1M)

lpget(1M)

lpmove(1M)

lpsched(1M)

lpset(1M)

lpshut(1M)

lpsystem(1M)

lpusers(1M)

lu(1M)

luactivate(1M)

lucancel(1M)

lucompare(1M)

lucreate(1M)

lucurr(1M)

ludelete(1M)

ludesc(1M)

lufslist(1M)

lumake(1M)

lumount(1M)

lurename(1M)

lustatus(1M)

luumount(1M)

luupgrade(1M)

luxadm(1M)

m64config(1M)

mail.local(1M)

System Administration Commands - Part 2

System Administration Commands - Part 3

install_scripts

, add_install_client

, add_to_install_server

, rm_install_client

, setup_install_server

, check

- scripts used to install the Solaris software

Synopsis

media-mnt-pt/Solaris_XX/Tools/add_install_client 
     [-i IP_address] 
     [-e Ethernet_address] [-s server_name : path] 
     [-c server_name : path] 
     [-n [server] : name_service [( netmask]] 
     [-p server_name : path]
     [-t install_boot_image_path] host_name platform_group
media-mnt-pt/Solaris_XX/Tools/add_install_client -d 
     [-s server_name:path] 
     [-c server_name:path] [-p server_name:path] 
     [-t install_boot_image_path] [-f boot_file_name]
     platform_name platform_group
media-mnt-pt/Solaris_XX/Tools/add_install_client -d 
     [-s server_name:path] 
     [-c server_name:path] [-p server_name:path] 
     [-t install_boot_image_path] [-f boot_file_name] -e Ethernet_address 
     [-b property=value] platform_group
media-mnt-pt/Solaris_XX/Tools/add_to_install_server [-s] 
     [-p product_image_path] install_server_path
media-mnt-pt/Solaris_XX/Tools/jumpstart_sample/check 
     [-p install_dir_path] 
     [-r rulesfile]
media-mnt-pt/Solaris_XX/Tools/rm_install_client host_name
media-mnt-pt/Solaris_XX/Tools/rm_install_client platform_name
media-mnt-pt/Solaris_XX/Tools/rm_install_client -e Ethernet_address
media-mnt-pt/Solaris_XX/Tools/rm_install_client -f boot_file_name
media-mnt-pt/Solaris_XX/Tools/setup_install_server [-b] 
     [-t install_boot_image_path] [-w wanboot_image_path] install_dir_path

Description

These commands are located on slice 0 of the Solaris Software and Solaris Installer CDs or DVDs. (The terms “CD” and “DVD” are hereafter referred to as “installation media”.) If the Solaris installation media has been copied to a local disk, media_mnt_pt is the path to the copied Solaris installation media. They can be used for a variety of installation tasks.

The XX in Solaris_XX is the version number of the Solaris release being used.

There are three versions of the add_install_client command. See SYNOPSIS.

Use the following version of the add_install_client command to add clients for network installation (these commands update the bootparams(4) file). The add_install_client command must be run from the install server's Solaris installation image (a mounted Solaris installation media or a Solaris installation media copied to disk) or the boot server's boot directory (if a boot server is required). The Solaris installation image or the boot directory must be the same Solaris release that you want installed on the client.

media-mnt-pt/Solaris_XX/Tools/add_install_client 
     [-i IP_address] 
     [-e Ethernet_address] [-s server_name : path] 
     [-c server_name : path] 
     [-n [server ] : name_service [( netmask]] 
     [-p server_name : path] [-t install_boot_image_path]
     host_name platform_group

Use the following version of the add_install_client command to add support for instances of a platform within a platform group to the install server. This group is booted and configured using DHCP. The script performs the necessary configuration steps on the server, and prints the data that the user needs to add to the DHCP server for the group.

media-mnt-pt/Solaris_XX/Tools/add_install_client -d 
     [-s server:path] 
     [-c server:path] [-p server:path] 
     [-t install boot image path] 
     [-t install_boot_image_path] [-f boot file name]
     platform_name platform_group

Use the following version of the add_install_client command to add a single client to the install server. This client is booted and configured using DHCP. The script performs the necessary configuration steps on the server, and prints the data that the user needs to add to the DHCP server for the client. The -f flag used above needs to be added to the existing usage as well. -f allows the user to specify a boot file name to be used for a given client.

media-mnt-pt/Solaris_XX /Tools/add_install_client -d 
     [-s server_name:path] 
     [-c server_name:path] [-p server_name:path] 
     [-t install_boot_image_path] [-f boot_file_name]
     -e Ethernet_address platform_group 
     [-b property=value] platform_group

Always use the -d option when registering x86 Architecture Pre-boot eXecution Environment (PXE) clients. These clients use DHCP for their configuration.

Use add_to_install_server to merge other Solaris installation media with an existing image on a Net Install Server. Each installation media that can be merged (each OS CD or DVD, and the Language CD or DVD) has its own add_to_install_server script. Do not use add_to_install_server scripts with installation media other than the ones with which they were delivered.

Use check to validate the rules in a rules file (this is only necessary if a custom JumpStart installation is being set up).

Use rm_install_client to remove clients for network installation (these commands update the bootparams(4) file).

Use setup_install_server to copy the Solaris installation media to a disk (to set up an install server), to build a WANboot miniroot image (to set up a WANboot install server), or to copy just the boot software of the Solaris installation media to a disk (to set up a boot server). An install server is required to install clients over the network. A boot server is also required for network installations if the install server and clients to be installed are on different subnets (the boot server must be located on the client's subnet).

Options

The add_install_client supports the following options:

-b property=value

Set a property value in the client-specific menu.lst file located on the boot server's TFTP directory, /tftpboot by default. Use this option to set boot properties that are specific to this client.

Use this option only with an x86 client an only in conjunction with the -d and -e options.

-c server_name:path

This option is required only to specify a JumpStart directory for a custom JumpStart installation. server_name is the host name of the server with a JumpStart directory. path is the absolute path to the JumpStart directory.

-d

Specify as a DHCP client.

-e Ethernet_address

Specify the Ethernet address of the system to be installed.

-f

Specify the boot_file_name of the client to be installed.

-i IP_address

Specify the IP address of the client to be installed.

-n [server]: name_service[(netmask)]

This option specifies which name service should be used during system configuration. This sets the ns keyword in the bootparams(4) file.

name_service

Valid entries are nis and none.

netmask

A series of four numbers separated by periods, specifying which portion of an IP address is the network part, and which is the host part.

server

The name of the server or IP address of the specified name service. If the server specified is on a different subnet, then the netmask may be needed to enable the client to contact the server.

-p server_name: path

This option is used to specify the NFS or ZFS shared directory that contains the user-defined sysidcfg file. When a client is booted, it attempts to read a file specifically named sysidcfg in this directory to obtain answers to the system and network identification questions. server_name is either a valid host name or IP address. path is the absolute pathname of the directory on the file server that contains the sysidcfg file.

-s server_name:path

This option is required only when using add_install_client from a boot server. Specify the name of the server and the absolute path of the Solaris installation image that is used for this installation. path is either the path to a mounted Solaris installation media or a path to a directory with a copy of the Solaris installation media.

-t

Allows you to specify an alternate miniroot

The add_to_install_server command supports the following options:

-p

Specifies the location of the installation media (containing the supplemental products) to be copied.

-s

Allows users to select from a list only the products needing installation.

The check command supports the following options:

-p install_dir_path

Validates the rules file by using the check script from a specified Solaris installation image, instead of the check script from the system you are using. install_dir_path is the path to a Solaris installation image on a local disk or a mounted Solaris installation media.

Use this option to run the most recent version of check if your system is running a previous version of Solaris.

-r rulesfile

Specifies a rules file other than the one named rules. Using this option, the validity of a rule can be tested before integrating it into the rules file. check reports whether or not the rule is valid, but it does not create the rules.ok file necessary for a custom JumpStart installation.

The rm_install_client command supports the following options:

-e Ethernet_address

Specify the Ethernet address of the system to be removed.

-f

Specify the boot_file_name of the client to be removed.

The setup_install_server command supports the following options:

-b

This option sets up the server only as a boot server.

-t

This option allows an alternate miniroot to be specified.

-w

This option builds a WANboot miniroot image.

Operands

The add_install_client command supports the following operands:

host_name

This is the name of the client to be installed.

platform_group

Vendor-defined grouping of hardware platforms for the purpose of distributing specific software. Examples of valid platform groups are:

System
Platform Group
x86
i86pc
Sun Fire 4800
sun4u

Use the uname(1) command (with the -m option) to determine a system's platform group.

platform_name

Use the uname(1) command (with the -i option) to determine a system's platform name.

The following example shows the use of the uname command to determine the system platform name for an Ultra 10:

uname -i

The system responds with:

SUNW,Ultra-5_10

Therefore, the system's platform name is SUNW,Ultra-5_10.

The following command calls add_install_client for Ultra 10s:

add_install_client -d SUNW,Ultra-5_10 sun4u

For IA32 platforms, the platform name is always SUNW.i86pc.

The following command calls add_install_client for IA32 platforms:

add_install_client -d SUNW.i86pc i86pc
install_boot_image_path

Pathname of alternate miniroot, specified with -t option.

The rm_install_client command supports the following operands:

host_name

Name of the client to be removed.

platform_name

The platform name of the client to be removed. See the description of this operand above.

Ethernet_address

Ethernet address of the client to be removed.

boot_file_name

Name of the boot file to be removed.

The setup_install_server command supports the following operands:

install_dir_path

The absolute path of the directory in which the Solaris software is to be copied. The directory must be empty.

wanboot_image_path

The absolute path of the directory in which the file containing the WANboot miniroot image is to be created.

install_boot_image_path

Pathname of alternate miniroot, specified with -t option.

Examples

Example 1 Using add_install_client

The following add_install_client commands add clients for network installation from a mounted Solaris installation media:

example# cd /cdrom/cdrom0/s0/Solaris_10/Tools
example# ./add_install_client system_2/sun4u

Example 2 Using add_install_client

The following add_install_client commands add clients for network installation from a mounted Solaris installation media on an install server. The -c option specifies a server and path to a JumpStart directory that has a rules file and a profile file for performing a custom JumpStart installation. Also, the Solaris installation media has been copied to the /export/install directory:

example# cd /export/install/Solaris_10/Tools
example# /add_install_client 
           -c install_server:/jumpstart system_1 i86pc\
example# ./add_install_client -c install_server:/jumpstart\
           system_2 i86pc

Example 3 Using add_install_client

The following add_install_client command adds support for a specific sun4u platform machine (8:0:20:99:88:77) using the boot file: sun4u.solaris10.

example# add_install_client -d -f sun4u.solaris10\
           -e 8:0:20:99:88:77 sun4u

Example 4 Using add_install_client

The following add_install_client command adds x86 clients that use the PXE standard for network booting:

example# add_install_client -d -s svrname:/mnt/export/root\
           SUNW.i86pc i86p

Example 5 Using add_to_install_server

The following add_to_install_server command copies the packages in all the installation media's products directories to an existing install server:

example# cd /cdrom/cdrom0/s0
example# ./add_to_install_server /export/Solaris_10

Example 6 Using check

The following check command validates the syntax of the rules file used for a custom JumpStart installation:

example# cd jumpstart_dir_path
example# ./check -p /cdrom/cdrom0/s0

Example 7 Using rm_install_client

The following rm_install_client commands remove clients for network installation:

example# cd /export/install/Solaris_10/Tools
example# ./rm_install_client holmes
example# ./rm_install_client watson

Example 8 Using setup_install_server

The following setup_install_server command copies the mounted Solaris installation media to a directory named /export/install on the local disk:

example# cd /cdrom/cdrom0/s0/Solaris_10/Tools
example# ./setup_install_server /export/install

Example 9 Using setup_install_server

The following setup_install_server command copies the boot software of a mounted Solaris installation media to a directory named /boot_dir on a system that is going to be a boot server for a subnet:

example# cd /cdrom/cdrom0/s0/Solaris_10/Tools
example# ./setup_install_server -b /boot_dir

Example 10 Using setup_install_server

By default, setup_install_server looks for an installation boot directory at the Solaris ../Tools/Boot location of the mount Solaris distribution disc.

If an alternate boot directory is required, such as one saved on a network boot server by way of an earlier ./setup_install_server -b /boot_dir command, the -t option can be used.

example# cd /cdrom/cdrom0/s0/Solaris_10/Tools
example# ./setup_install_server -t /boot_dir /export/install

Example 11 Using setup_install_server with WANboot Option

The following setup_install_server command creates an image of the WANboot miniroot file systemand stores it in the file /wanboot_dir/miniroot.

example# cd /cdrom/cdrom0/s0/Solaris_10/Tools
example# ./setup_install_server -w /wanboot_dir /export/install

Example 12 x86: Specifying a Serial Console to Use During a Network Installation (from Installation Media)

The following example illustrates how to add an x86 install client to an install server and specify a serial console to use during the installation. This example sets up the install client in the following manner:

install server# cd /export/boot/Solaris_10/Tools
install server# ./add_install_client -d -e "00:07:e9:04:4a:bf" \
     -b "input-device=ttya" -b "output-device=ttya" \
     i86pc

For a complete description of the boot property variables and values you can use with the -b option, see eeprom(1M).

Example 13 Specifying a Boot Device to Use During a Network Installation (from Installation Media)

The following example illustrates how to add an x86 install client to an install server and specify a boot device to use during the installation. If you specify the boot device when you set up the install client, you are not prompted for this information by the Device Configuration Assistant during the installation.

This example sets up the install client in the following manner:

install server# cd /export/boot/Solaris_10/Tools
install server# ./add_install_client -d -e "00:07:e9:04:4a:bf" \
     -b "input-device=ttya" -b "output-device=ttya" \
     -b "bootpath=/pci@0,0/pci108e,16a8@8" i86pc

For a complete description of the boot property variables and values you can use with the -b option, see eeprom(1M).

Exit Status

The following exit values are returned:

0

Successful completion.

1

An error has occurred.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
Solaris CD (Installation Media)

See Also

uname(1), eeprom(1M), bootparams(4), attributes(5)