Registering Your Solaris Software by Using an Automatic Registration Profile

When you register a Solaris system, you can create an autoregistration profile and an Auto Registration ID that you can use to register your other Solaris systems. Your Auto Registration ID is associated with your Sun Online Account and is valid for one year. You can display, renew, or invalidate your Auto Registration ID on the Support / Services page on My Sun Connection at . For information about how to perform administration tasks for your Auto Registration ID, see the FAQ on the My Sun Connection Support / Services page.

You can use the registration profile and ID to register other systems by using one of the following installation methods:

Note

The steps to install using the above methods are not detailed in this document. For detailed instructions about how to use the above installation methods, see the Solaris Software Release and Installation Collection documentation on docs.sun.com.

The registration ID is valid for one year. You can reissue or invalidate your registration ID on the Sun Connection portal at .

How to Create an Autoregistration Profile

To use the Autoregistration feature, become a superuser, use the Solaris Registration Wizard to register a Solaris system, and select the Enable Auto Registration option during registration. When you complete your registration, a autoRegistrationProfile.xml file is created in the /usr/lib/breg/data/ directory.

  1. Determine the registration options and the Solaris software version that you want to use for your profile.

    See Solaris Software Registration (Overview) for the registration options.

  2. Register a Solaris system with the configuration options that you want.

    Register your system by using one of the following procedures. Be sure to click the Enable Auto Registration checkbox before you click Finish to complete your system registration.

    • How to Register Your Solaris Software to Automatically Manage Updates: Solaris Express 3/06

    • How to Register Your Solaris Software to Manually Manage Updates: Express 3/06

    • How to Register Your Solaris Software Without Choosing an Update Option: Solaris Express 3/06

    • How to Register Your Solaris Software to Automatically Manage Updates: Solaris Express 10/05

    • How to Register Your Solaris Software to Manually Manage Updates: Solaris Express 10/05

    Your registration options are saved in the autoRegistrationProfile.xml file in the /usr/lib/breg/data/ directory.

  3. Choose from one of the following installation methods to use the autoRegistrationProfile.xml file:

    • How to Autoregister by Using the Solaris JumpStart Software

    • How to Autoregister by Using the Solaris Flash Software

    • How to Autoregister by Using the Solaris WAN Boot Installation Method

    • How to Auto Register by Using a Diskless Client

How to Autoregister by Using the Solaris JumpStart Software

Solaris JumpStart software is a CLI that enables you to automatically install or upgrade several systems, based on profiles that you create. The profiles define specific software installation requirements. You can also incorporate shell scripts to include pre-installation and postinstallation tasks. You choose which profile and scripts to use for installation or upgrade. To automate your Solaris software installation or update, specify your configuration information in the sysidcfg file. For detailed instructions on using Solaris JumpStart software to install your Solaris OS, see the Solaris Express Installation Guide: Custom JumpStart and Advanced Installations .

  1. Register a Solaris system to create an automatic registration profile.

    See How to Create an Autoregistration Profile for the steps to create a profile.

  2. Determine your system groups and prepare your Solaris JumpStart software profile and scripts, as described in the Solaris Express Installation Guide: Custom JumpStart and Advanced Installations .

  3. Copy the autoRegistrationProfile.xml file from the /usr/lib/breg/data/ directory on the system you registered and save it in your JumpStart directory.

  4. Complete the steps to prepare for and execute a JumpStart installation, as described in the Solaris Express Installation Guide: Custom JumpStart and Advanced Installations .

How to Autoregister by Using the Solaris Flash Software

The Solaris Flash software enables you to create a single reference installation of the Solaris OS on a system, which is called the master system. You can replicate the master system installation on a number of systems, which are called clone systems. See the Solaris Express Installation Guide: Solaris Flash Archives (Creation and Installation) for detailed instructions on using a Solaris Flash archive.

Note

You cannot use the Solaris Flash software installation to upgrade a system that is already running Solaris software. You can only use the Solaris Flash software to perform an initial installation.

  1. Prepare the systems at your site from which and on which you intend to install the Solaris software.

  2. Register the master system to create an automatic registration profile.

    See How to Create an Autoregistration Profile for the steps to create a profile.

  3. Create a Solaris Flash archive that contains the autoRegistrationProfile.xml file in the /usr/lib/breg/data/ directory.

    See the Solaris Express Installation Guide: Solaris Flash Archives (Creation and Installation) for detailed instructions on creating a Solaris Flash archive.

  4. Install the Solaris Flash archive on clone systems.

    When you install the Solaris Flash archive on a system, all of the files in the archive are copied to that system. The newly installed system (clone system) has the same installation configuration as the original master system.

How to Autoregister by Using the Solaris WAN Boot Installation Method

The WAN boot installation method enables you to boot and install software over a wide area network (WAN) by using HTTP. By using WAN boot, you can install the Solaris OS on SPARC based systems that are located in geographically remote areas or over a large public network where the network infrastructure might be untrustworthy. You might want to use WAN boot to install remote servers or clients that are accessible only over a public network. If you want to install systems that are located on your local area network (LAN), the WAN boot installation method might require more configuration and administration than necessary.

  1. Register a Solaris system to create a registration profile.

    See How to Create an Autoregistration Profile for the steps to create a profile.

  2. Create an installation server, create a boot server (if necessary), and set up the systems to be installed from the network.

    See the Solaris Express Installation Guide: Network-Based Installations to get detailed instructions about performing a secure WAN boot installation.

  3. Create a Solaris Flash archive that contains the autoRegistrationProfile.xml file in the /usr/lib/breg/data/ directory.

    See the Solaris Express Installation Guide: Solaris Flash Archives (Creation and Installation) to get detailed instructions about creating a Solaris Flash archive.

  4. Install the Solaris Flash archive on clone systems. When you install the Solaris Flash archive on a system, all of the files in the archive are copied to that system. The newly installed system (clone system) has the same installation configuration as the original master system.

How to Auto Register by Using a Diskless Client

For information about preparing for managing diskless clients and the procedures to add diskless clients, go to Chapter 7, Managing Diskless Clients (Tasks).

  1. Register a Solaris system to create a registration profile.

    See How to Create an Autoregistration Profile for the steps to create a profile.

  2. Change to the /usr/lib/breg/data/ directory on the system that you just registered and copy the autoRegistrationProfile.xml file.

  3. Add your diskless client.

    Go to How to Add a Diskless Client in the Solaris 10 OS or How to Add a Diskless Client in the GRUB Based Boot Environment for the steps to add a diskless client.

  4. Create a /export/root/client-name/usr/lib/breg/data/ directory on the system that you want to register, and save the autoRegistrationProfile.xml file in that directory.

  5. Reboot the system to be registered, and log in as superuser.