Preparing to Provision an OS

Searching Sun xVM Ops Center 2.0

home Home
Sun xVM Information Exchange
Sun xVM Ops Center 2.1 Documentation
Read Me First
Contact the Wiki Administrators


Get Going

Keep Going

What's Going On

Reference Material

Previous Releases

Index


back"alt="back OS Provisioning


Preparing to Provision an OS

Using Sun xVM Ops Center to provision operating systems requires some preparation, including:

Discovering Target Systems

If the system you intend to use as a target for OS provisioning has not been discovered by Sun xVM Ops Center, use Custom Discovery to discover the system. For example:

  1. Select Gear from the Navigation pane, then All Gear in the list of gear.
  2. Select Custom Discovery from the Actions pane.
    The Custom Gear Discovery panel is displayed.
  3. In the Custom Gear Discovery panel, click the New Criteria button.
    The Discovery Criteria panel is displayed. Fields in the Discovery Criteria panel allow you to specify how you want Sun xVM Ops Center to discover gear.
  4. Check Save Criteria for Future Use and Save Password.
  5. Enter a name for this set of discovery criteria in the Discovery Criteria Name field.
  6. Enter the IP address of a system or a system's service processor in the Comma-separated IP Address(es) Range or Subnet field.
  7. In the Search For Type list, select the type of search (protocol) that matches the features of the target systems that you want to discover.
    Protocol-related fields are displayed.
  8. Enter the appropriate authentication information for the system that you want to discover.
  9. Click Save.
    The named set of discovery criteria is displayed in the Custom Gear Criteria Table.
  10. Select the discovery criteria that you just created, and click Discover Gear.
    A status message indicates that the discovery job has started.
  11. Click OK to dismiss the status message.

You can use the Jobs listings in the Navigation pane to view the list of jobs and the status of your discovery job.

Disabling System Monitoring

It is recommended that you disable monitoring of systems on which you wish to provision an OS, and that Sun xVM Ops Center is currently monitoring.

  1. Select Gear from the Navigation panel. The All Managed Gear list in the Managed Gear tab shows the list of currently managed gear.
  2. From the All Managed Gear list, select the managed OS instance that is currently installed on the system that you intend to use as a target for OS provisioning. Selecting the managed OS allows you to uninstall the Sun xVM Ops Center agent that is currently installed.
  3. Click the Unmanage/Delete Gear icon. The Introduction panel of the Unmanage and Delete Gear wizard is displayed.
  4. Click Next. The Enter Server Credential panel is displayed.
  5. In the Enter Server Credential panel, enter the SSH user name and associated password for the root or privileged user on the target system. Select one of the two options that control how the credentials that you enter apply to the listed gear:
    • Use the Same SSH Username and Password for All Gear Listed Below
    • Use Different SSH Username and Password for All Gear Listed Below
  6. Click Next. The Unmanage/Delete panel is displayed.
  7. In the Unmanage/Delete panel, verify that the correct system to unmanage is listed.
  8. Click Next, the Summary panel is displayed.
  9. Click Unmanage/Delete Gear to submit the job to unmanage and delete the selected gear.

Configuring DHCP Services

OS provisioning in Sun xVM Ops Center requires DHCP services to be enabled on the Proxy Controllers that will perform OS provisioning operations. In a typical Sun xVM Ops Center installation, you configure one Proxy Controller in every network where you want to provision operating systems. The Proxy Controller must be in the same subnet as the target hosts for OS provisioning to work.

The Proxy Controller that is attached to a particular network provides the DHCP services and OS provisioning services that the target systems on that network require. DHCP services provided by Proxy Controllers support the netboot or PXE boot operations of target systems.

OS provisioning in Sun xVM Ops Center requires only the basic DHCP services that the DHCP Config action configures on Proxy Controllers. You may configure additional DHCP services using the Subnets action. As an alternative to the DHCP Config and Subnets actions, you may configure an external DHCP server using the External DHCP Servers action. These DHCP configuration actions are described here:

You can configure the basic DHCP services that OS provisioning require by using either the Sun xVM Ops Center BUI, or by using the proxyadm command. To configure DHCP services on a Proxy Controller, you must specify the network interface that you want to use for OS provisioning traffic.

Identifying Available Ethernet Interfaces

To show the list of network interfaces on a Proxy Controller, you can use the ifconfig command. For example:

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 172.20.25.230 netmask fffffc00 broadcast 172.20.27.255
        ether 8:0:20:e9:35:b9 
qfe0: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0 
        ether 8:0:20:e9:35:b9 
qfe1: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 4
        inet 0.0.0.0 netmask 0 
        ether 8:0:20:e9:35:b9 
qfe2: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 0.0.0.0 netmask 0 
        ether 8:0:20:e9:35:b9 
qfe3: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 6
        inet 0.0.0.0 netmask 0 
        ether 8:0:20:e9:35:b9 
# 

This example lists five external ethernet interfaces, hme0, qfe0, qfe1, qfe2, and qfe3. The loopback interface lo0 is not used for DHCP or OS provisioning services. Choose the ethernet interface that is attached to the network that you want to use for OS provisioning operations.

To Configure DHCP Services by Using the BUI

To use the Sun xVM Ops Center BUI to configure DHCP services on a Proxy Controller, perform the steps described in the DHCP Configuration procedure.

This is the preferred method of configuring DHCP services.

To Configure DHCP Services by Using the proxyadm Command

You can use the proxyadm command to manually configure DHCP services on a Sun xVM Ops Center Proxy Controller. The proxyadm command resides in the /opt/SUNWxvmoc/bin directory on Solaris systems, and in the /opt/sun/xvmoc/bin directory on RHEL 5.0 systems. The example below from a Solaris system uses the following options:

configure – initiates a configuration operation on the Proxy Controller.
-D – Specify either isc or solaris to implement either the Internet Standards Consortium (ISC) reference DHCP server, or the Solaris native DHCP server. The ISC server is generally preferred.
-I – Specify the device name of the ethernet interface that the Proxy Controller will use for OS provisioning traffic.

Stop the Proxy Controller services before you configure DHCP services, then start the Proxy Controller services again. For example:

# /opt/SUNWxvmoc/bin/proxyadm stop -w
# /opt/SUNWxvmoc/bin/proxyadm configure -D isc -I hme0
# /opt/SUNWxvmoc/bin/proxyadm start -w

Troubleshooting Known Solaris DHCP Issues

Refer to Troubleshooting for information about troubleshooting a known issue with the Solaris default DHCP server and Sun xVM Ops Center.


Where to Go From Here
Review OS Provisioning for a Single System to learn the procedure used to provision an operating system on a single system.
For More Information
See Unmanaging and Deleting Gear for more information about disabling system monitoring.

Labels

wip wip Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact