Provisioning with Razor
Razor is a provisioning application that deploys bare-metal systems.
Policy-based provisioning lets you use characteristics of the hardware as well as user-provided data to make provisioning decisions. You can automatically discover bare-metal hardware, dynamically configure operating systems and hypervisors, and hand off nodes to Razor for workload configuration.
Automated provisioning makes Razor ideal for big installation jobs, like setting up a new selection of servers in a server farm. You can also use Razor to regularly wipe and re-provision test machines.
-
How Razor works
There are five key steps for provisioning nodes with Razor. -
Setting up a Razor environment
Razor relies on a PXE environment to boot the Razor microkernel. You must set up your PXE environment before you can successfully provision with Razor. -
Installing Razor
After you set up a Razor environment, you're ready to install Razor. -
Using the Razor client
There are three ways to communicate with the Razor server. -
Protecting existing nodes
In brownfield environments – those in which you already have machines installed that PXE boot against the Razor server – you must take extra precautions to protect existing nodes. Failure to adequately protect existing nodes can result in data loss. -
Provisioning a *nix node
Provisioning deploys and installs your chosen operating system to target nodes. -
Provisioning a Windows node
Provisioning deploys and installs your chosen operating system to target nodes. -
Provisioning with custom facts
You can use a microkernel extension to provision nodes based on hardware info or metadata that isn’t available by default in Facter. -
Working with Razor objects
Provisioning with Razor requires certain objects that define how nodes are provisioned. -
Using the Razor API
The Razor API is REST-based. -
Upgrading Razor
If you used Razor in a previous Puppet Enterprise environment, upgrade Razor to keep your Puppet Enterprise and Razor versions synched. -
Uninstalling Razor
If you're permanently done provisioning nodes, you can uninstall Razor.