Operating systems

Setting up Jumpstart clients: Create a profile

July 17, 2008, 03:38 PM — 

Configuration of Jumpstart clients requires creating a profile as well as adding the client's hostname, IP address and MAC address to the appropriate files on the
jumpstart server. A client profile can include the type of installation being performed (e.g., an upgrade or initial install), the system type (standalone or server), partitioning information, the particular cluster you want installed (e.g., the entire distribution or end user support) and particular packages that you want to omit or include beyond the specified cluster. Profiles can be extremely skimpy or can include a lot of detail.

Only the install_type is required for Solaris 10 jumpstart installations, plus the root_device specification if the system contains more than one root file system (e.g., if you have an alternate root you can boot from and want both upgraded).

Profiles are simple text files created with your favorite text editor. In the example shown below, we are requesting an initial install using the default partitioning. We are installing the developer cluster, but omitting man pages.

install_type            initial_install
system_type             standalone
partitioning            default
filesys                 any 1024 swap
cluster                 SUNWCprog
package                 SUNWman delete

You can start with the sample_profile provided with the jumpstart setup if you wish. It will look something like this:

install_type    initial_install
cluster         SUNWCXall
partitioning    explicit
filesys         c0t0d0s0 14000 /
filesys         c0t0d0s1 4096 swap
system_type     standalone

Note that this default profile specifies a specific layout of the file systems.

Client profiles can also include patches, though many sysadmins install patches in scripts that are run following the basic installation. Patches are specified with the patch keyword. In this example, the patch is obtained from another system.

patch 118855-33 nfs 10.2.10.1:/jumpstart/patches

The layput_constraint keyword specifies limits you want to place on auto-layout. For example, you can specify a minimal size for file systems as shown in this example in which two file systems must be allocated at least 2 GB each:

layout_constraint c0t0d0s4 changable 2000
layout_constraint c0t0d0s5 changable 2000

Profiles must be referenced in your rules file to tell jumpstart when to use then. In this example, we are telling jumpstart to use the profile boson_profile for the client boson and fermion_profile for fermion. You do not not need to build a profile for every system you are going to jumpstart. If a number of systems are to be installed identically, you can use the same profile for all of them.

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Comments

Make sure you turn off any

Make sure you turn off any traffic going to the box you are upgrading or else you will be in for a long night (or day). Network traffic routed to your upgrade box WILL confuse JumpStart and cause the upgrade to fail (or hang indefinitely which I consider a failure).
| reply

Hello, Might be usefull to

Hello,

Might be usefull to replace ">" by ">>" in all but the first line of echo when constituting the resolv.conf file.

Nice article by the way.

P.S. Sorry being late at reading it :-)
Rgds Eric
| reply
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Sidekick: The Good News & the Bad News
Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace