Name Service, Domain Name, and Name Server Keywords

The following keywords are related to the name service you will be using:

name_service=<value> 

This keyword is assigned one of five values that specify the name service to be used: NIS, NIS+, LDAP, DNS, NONE. For example, if you are using NIS, specify the following:

name_service=NIS 

For the NIS and NIS+ values, additional keywords are specified:

domain_name=<value> 

Here, the <value> is the domain name, such as pyramid.com.

name_server=<value> 

Here, the <value> is the hostname or IP address for the name server. For the name_server <value>, you can specify up to three IP addresses for the name_server. For example:

name_server=192.168.0.1,192.168.0.2,192.168.0.3 

If the DNS keyword is specified for the name_service <value>, as follows:

name_service=DNS 

Then you’ll need to specify the following additional dependent keywords:

domain_name=<value> 

Enter the domain name for the domain_name <value>. For example, if the domain name is example.com, specify it as domain_name=example.com.

name_server=<value> 

For the name_server <value>, you can specify up to three IP addresses for the name_server. For example:

name_server=192.168.0.1,192.168.0.2,192.168.0.3 

search=<value> 

<value> is the search entry, which cannot exceed 250 characters. Here’s a sample DNS search entry:

search=example.com,east. example.com,west. example.com 

If the LDAP keyword is specified for the name_service <value>, as follows:

name_service=LDAP 

Then you’ll need to specify the following additional dependent keywords:

domain_name=<value> 

Enter the domain name for the domain_name <value>. For example, if the domain name is example.com, specify it as domain_name=example.com.

profile=<value> 

Here, <value> is the profile name.

profile_server=<value> 

Here, <value> is the IP address of the profile server.

Here’s a sample LDAP entry with its dependent keywords:

name_service_LDAP 
{domain_name=west.example.com 
profile=default 
profile_server=192.168.0.100} 

Network-Related Keywords

The following are network related keywords to specify the network interface and DHCP parameters.

network_interface=<value> 

Specify a <value> of none or primary as follows:

network_interface=primary 

The following dependent keywords apply as follows:

If you are not using DHCP, the dependent keywords for PRIMARY are as follows:

hostname=<hostname> 
ip_address=<ip_address> 
netmask=<netmask value> 
protocol_ipv6=<yes or no> 

For example, if your primary network interface is named le0, here’s a sample sysidcfg file:

network_interface=le0 
{hostname=client1 
ip_address=192.168.0.10 
netmask=255.255.255.0 
protocol_ipv6=no} 

If you are using DHCP, the only keywords available will be as follows:

dhcp protocol_ipv6=<yes or no> 

Here’s a sample entry:

network_interface=primary 
{dhcp protocol_ipv6=no} 

Whether using DHCP or not, the protocol_ipv6 keyword is optional.

Setting the Root Password

The root password keyword is as follows:

root_password=<encrypted passwd> 

The value for <encrypted passwd> is taken from the /etc/shadow file. For example, an entry might look like this:

root_password=XbcjeAgl8jLeI 

The following is the security-related keyword:

Security_policy=<value> 

Here, <value> is either KERBEROS or NONE

When specifying the KERBEROS value, you’ll need to also specify the following dependent keywords:

default_realm=<fully qualified domain name> 

admin_server=<fully qualified domain name> 

kdc=<value> 

Here, <value> can list a maximum of three key distribution centers (KDCs) for a security_policy keyword. At least one is required. Here’s an example using the security_policy keyword:

security_policy=kerberos 
{default_realm=example.com 
admin_server=krbadmin.example.com 
kdc=kdc1.example.com,kdc2.example.com} 

Setting the System Locale, Terminal, Time Zone, and Time Server

The keyword to set the system locale is as follows:

system_locale=<value> 

Here, <value> is an entry from the /usr/lib/locale directory. The following example sets the value to English:

system_locale=en_US 

The keyword to set the terminal type is as follows:

terminal=<terminal_type> 

Here, <terminal_type> is an entry from the /usr/share/lib/erminfo database. The following example sets the terminal type to vt100:

terminal=vt100 

The keyword to set the time zone is as follows:

timezone=<timezone> 

Here, <timezone> is an entry from the /usr/share/lib/zoneinfo directory. The following entry sets the time zone to Eastern Standard Time:

timezone=EST 

The keyword to set the time server is as follows:

timeserver=<value> 

Here, <value> can be LOCALHOST, HOSTNAME, or IP_ADDRESS. The following example sets the time server to be the local host:

timeserver=localhost 

The following rules apply to keywords in the sysidcfg file:

  • Keywords can be in any order.

  • Keywords are not case sensitive.

  • Keyword values can be optionally enclosed in single quotes (‘).

  • Only the first instance of a keyword is valid; if you specify the same keyword more than once, the first keyword specified will be used.

The following is a sample sysidcfg file, located in the configuration directory named /export/jumpstart:

system_locale=en_US 
timezone=EST 
timeserver=localhost 
terminal=vt100 
name_service=NONE 
security_policy=none 
root_password=XbcjeAgl8jLeI 
network_interface=primary {protocol_ipv6=no netmask=255.255.255.0} 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset