Bare metal provisioning tasks and stages
This topic describes the workflows for installing and configuring all of the BMC Server Automation components for bare metal provisioning, and the workflow for setting up and executing a Provisioning Job.
The sections below describe the tasks involved in each workflow, and provide references to further details in BMC Server Automation technical documentation.
BMC Server Automation provisioning performs unattended installations of operating systems onto new machines (“bare metal” machines) or reprovisions existing machines. To provision higher layers of the server stack above the operating system, you can run jobs that configure server settings, deploy files, and install software.
Flowchart for bare metal provisioning
The flowchart illustrates the installation and execution tasks you perform during bare metal provisioning. Click the thumbnail below for a full-size image.
Provisioning installation workflow
This section describes the workflow for installing and configuring all of the BMC Server Automation components for bare metal provisioning. Usually, you need to perform these tasks only one time. The workflow assumes that:
- You are performing a fresh installation of the BMC Server Automation Application Server and provisioning
- You are setting up all provisioning environments (PXE, JumpStart, NIM, and Ignite).
To perform upgrades on existing BMC Server Automation components, see Upgrading. To see more detailed workflow descriptions for each of the provisioning environments (PXE, JumpStart, NIM, and Ignite), see the Provisioning basics.
The following procedure lists the tasks for the workflow in the approximate order that you should perform them. Click Read more for more information about a provisioning task, as well as references to details in BMC Server Automation documents.
Install the provisioning Application Server — To install the provisioning Application Server, you install an Application Server and select the option to enable provisioning.Read more.
- For Microsoft Windows platforms, see Installing the Application Server and Network Shell on Windows.
- For Linux and UNIX platforms, see Installing BMC Server Automation components.
Install the PXE and TFTP servers — The PXE server delivers instructions to servers being provisioned so they can download a bootstrap program. The TFTP server serves boot images required for a network-based installation of the operating system. (BMC Server Automation provisioning requires that the PXE server and the TFTP server reside on the same host computer.)
- Configure the PXE and TFTP servers — Configure the PXE and TFTP servers to communicate with the BMC Server Automation database and target servers being provisioned. To configure, you can use the PXE/TFTP Server Configuration tool. (To configure the PXE server for a multiple database provisioning environment, you must use this tool.) See Configuring the PXE and TFTP servers.
- Configure the DHCP server to support the provisioning process — The BMC Server Automation provisioning process requires a DHCP server, which assigns IP addresses to the devices being provisioned and (in a one database environment) configures the location of the Application Server. See Configuring the DHCP server.
Set up and share the data store — On the host computer for the data store, set up a directory structure to store the operating system installers required for provisioning.Read more.
To share the data store for provisioning Windows servers, if the data store server is:
- A Windows machine, configure Windows sharing.
- A Linux or Solaris machine, configure Samba.
To share the data store for provisioning Linux servers, if the data store server is:
- A Windows machine, configure Windows IIS.
- A Linux or Oracle Solaris machine, configure Apache.
See Setting up a data store.
- Stock the data store — Copy all required files into the data store, including operating system installers, files for Windows drivers, and files needed to install RSCD agents on the target devices. See Stocking the data store.
- Prepare agents for provisioning — Set up RSCD agents so that they can be installed on target devices as part of the provisioning process. See Preparing agents for provisioning.
- Set up the JumpStart environment — See Setting up the JumpStart environment for provisioning.
- Set up the NIM environment — See Setting up the NIM environment for provisioning.
- Set up the Ignite environment — See Setting up the Ignite environment for provisioning.
Provisioning execution workflow
This section describes the workflow for setting up and executing a Provision Job. A Provision Job performs the unattended installation of an operating system on target devices. The following procedure lists routine tasks for provisioning target devices, as opposed to one-time installation and setup tasks described in the previous section.
- Grant access to roles involved in provisioning — On the Application Server, use BMC Server Automation role-based access control (RBAC) to do the following:
Grant the appropriate level of access to the different roles involved in the provisioning process.Read more.
For example, expert users who design system packages might be assigned to a role that is granted complete authorization to all provisioning capabilities. Users who provision machines might be assigned to another role that is granted limited access. This role might only be granted the ability to execute Provision Jobs.
Grant access to devices and servers to appropriate roles.Read more.
For example, to see devices in the device selection list and add them to a Provision Job, a user needs
Device.Readaccess. To execute a Provision Job, a user needs additional device access and
Server.Createaccess. For a list of access requirements, see #Provisioning authorization requirements.
For more about RBAC, see Managing authorizations.”
- Configure the data store — Create a DataStore instance to define the location of the data store and other values used to access data sources for provisioning. See Configuring the data store.
- Create custom system package types (optional) — BMC Server Automation provides system package types you use to create system packages. You can also create your own custom system package type.
See Creating custom system package types.
- Configure the system package type — Edit the system package type to specify the location of the operating system installer and the RSCD agent. See Changing the location of installation files.
- Set up post-provisioning jobs — After a system package installs an operating system and the RSCD agent, the package can also run a job to perform additional configuration on the server and install software. See Including a Batch Job in a system package.
- Create boot image files — To provision Windows and Linux machines, you must create BMC Server Automation-specific boot image files and place them on the TFTP server. See:
- Configure boot image files (PXE environment) — Each image file has configuration settings, including a description and an indication of whether it is the default image file in your environment. You can review and adjust the settings. See Configuring boot image files.
- Create system packages — System packages are a consistent, logical way to represent the values passed to the operating system installer. Optionally, a system package can also run a job to further configure the server. You should set up a different system package for each type of server you plan to provision. See Creating a system package.
- Create a Provision Job — The Provision Job selects a system package and sets other job-specific information. In the See Creating a Provision Job.
- Add devices to a Provision Job and run the Job — You can edit a Provision Job to add or change the list of devices to provision, and then execute the job to provision the devices.
To provision from a local data store, the tasks are similar to those in the Provisioning Execution workflow but require settings specific to the local data store. See Provisioning Windows 2003 or 2008 servers from a local data store.
Provisioning authorization requirements
To perform provisioning installation and execution tasks, you must have the appropriate authorizations assigned to your user role and to the relevant system objects and resources. The following table lists the minimum authorizations required by each provisioning-related task.
Install the Application Server and enable it for provisioning
Install and configure the PXE and TFTP servers
Create data store instances
Create a system package
Modify a system package
Create a Provision Job
Edit a Provision Job
Import or add a device
Provision a device and other management activities
Execute a Provision Job
Cancel a Provision Job