JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Booting and Shutting Down Oracle Solaris on SPARC Platforms     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

Preface

1.  Booting and Shutting Down a SPARC Based System (Overview)

2.  Booting a SPARC Based System to a Specified State (Tasks)

3.  Shutting Down a System (Tasks)

4.  Rebooting a SPARC Based System (Tasks)

5.  Booting a SPARC Based System From the Network (Tasks)

Booting a SPARC Based System From the Network (Task Map)

Booting a SPARC Based System From the Network

SPARC Network Boot Processes

Requirements for Booting a SPARC Based System From the Network

Setting Network Boot Arguments in the OpenBoot PROM

How to Specify Network Boot Arguments in the OpenBoot PROM

Setting Up an NVRAM Alias to Automatically Boot by Using DHCP

How to Boot a SPARC Based System From the Network

6.  Modifying Boot Parameters on a SPARC Based System (Tasks)

7.  Creating, Administering, and Booting From ZFS Boot Environments on SPARC Platforms (Tasks)

8.  Keeping a SPARC Based System Bootable (Tasks)

9.  Troubleshooting Booting a SPARC Based System (Tasks)

Index

Booting a SPARC Based System From the Network

You might need to boot a system from the network for the following reasons:

The network configuration boot strategy that is used in Oracle Solaris is the Dynamic Host Configuration Protocol (DHCP).

For general information about how DHCP works in this Oracle Solaris release and specific information about setting up a DHCP server, see Part II, DHCP, in Oracle Solaris Administration: IP Services.

SPARC Network Boot Processes

For network devices, the process of booting over a local area network (LAN) and booting over a WAN is slightly different. In both network boot scenarios, the PROM downloads the booter from a boot server or an install server, which is inetboot in this case.

When booting over a LAN, the firmware uses DHCP to discover either the boot server or the install server. The Trivial File Transfer Protocol (TFTP) is then used to download the booter, which is inetboot in this case.

When you are booting over a WAN, the firmware uses either DHCP or NVRAM properties to discover the install server, the router, and the proxies that are required for the system to boot from the network. The protocol that is used to download the booter is HTTP. In addition, the booter's signature might be checked with a predefined private key.

Requirements for Booting a SPARC Based System From the Network

Any system can boot from the network, if a boot server is available. You might need to boot a stand-alone system from the network for recovery purposes, if the system cannot boot from the local disk.

Setting Network Boot Arguments in the OpenBoot PROM

The network-boot-arguments parameter of the eeprom utility enables you to set configuration parameters to be used by the PROM when you perform a WAN boot. Setting network boot arguments in the PROM takes precedence over any default values. If you are using DHCP, these arguments also take precedence over configuration information that is provided by the DHCP server for the given parameter.

If you are manually configuring an Oracle Solaris system to boot from the network, you must provide the client system with all of the necessary information for the system to boot.

Information that is required by the PROM includes the following:

In addition, you might be required to provide the subnet mask and IP address of the default router to be used.

The syntax to use for network booting is as follows:

[protocol,] [key=value,]*
protocol

Specifies the address discovery protocol that is to be used.

key=value

Specifies configuration parameters as attribute pairs.

The following table lists the configuration parameters that you can specify for the network-boot-arguments parameter.

Parameter
Description
tftp-server
IP address of the TFTP server
file
File to download by using TFTP or URL for WAN boot
host-ip
IP address of the client (in dotted-decimal notation)
router-ip
IP address of the default router (in dotted-decimal notation)
subnet-mask
Subnet mask (in dotted-decimal notation)
client-id
DHCP client identifier
hostname
Host name to use in the DHCP transaction
http-proxy
HTTP proxy server specification (IPADDR[:PORT])
tftp-retries
Maximum number of TFTP retries
dhcp-retries
Maximum number of DHCP retries

How to Specify Network Boot Arguments in the OpenBoot PROM

Before You Begin

Complete any preliminary tasks that are required for booting a system from the network. For more information, see Requirements for Booting a SPARC Based System From the Network.

  1. On the system that is to be booted from the network, become the root role.
  2. Specify the appropriate values for the network-boot-arguments parameter.
    # eeprom network-boot-arguments="protocol,hostname=hostname"

    For example, to use DHCP as the boot protocol and a host name of mysystem.example.com, you would set the values for the network-boot-arguments parameter as follows:

    # eeprom network-boot-arguments="DHCP,hostname=mysystem.example.com"
  3. Bring the system to the ok PROM prompt.
    # init 0
  4. Boot the system from the network.
    ok boot net

    Note - When you specify the network-boot-arguments parameter in this way, there is no need to specify the arguments from the PROM command line. Doing so will ignore any other values set for the network-boot-arguments parameter that you have might have specified.


Setting Up an NVRAM Alias to Automatically Boot by Using DHCP

In Oracle Solaris 11, DHCP is the network configuration boot strategy that is used when booting from the network to install Oracle Solaris. To boot a system from the network with DHCP, a DHCP boot server must be available on your network.

You can specify that a SPARC based system boot by using the DHCP protocol when you run the boot command. Or, you can save the information across system reboots at the PROM level by setting up an NVRAM alias.

The following example uses the nvalias command to set up a network device alias for booting with DHCP by default:

ok nvalias net /pci@1f,4000/network@1,1:dhcp

As a result, when you type boot net, the system boots by using DHCP.


Caution

Caution - Do not use the nvalias command to modify the NVRAMRC file unless you are very familiar with the syntax of this command and also the nvunalias command.


How to Boot a SPARC Based System From the Network

Before You Begin

  1. Become the root role.
  2. If necessary, bring the system to the ok PROM prompt.
    # init 0
  3. Boot the system from the network without using the ”install ”flag.
    ok boot net:dhcp

    Note - If you have changed the PROM setting to boot with DHCP by default, you only have to specify boot net, as shown here:

    ok boot net