Table of Contents
Ironic is one of the projects of OpenStack that caters bare metal machines against the virtual machines. Ironic can be used as a standalone service or it can also be used as a part of OpenStack Cloud. Ironic also interacts with several components of OpenStack like Identity (Keystone), Computer (Nova), Network (Neutron), Image (Glance) and also with Object (swift).
Once the Bare Metal service is properly set up with services like Compute and Network, then it is possible to cater both the physical as well as virtual machines by using the REST API of Compute services. Despite that, the group of actions illustrated is limited, and they emerge from various features of the physical servers and from the switched hardware like it is not possible to perform a live migration on a bare metal event.
For covering the vast range of hardware, the reference drivers are managed by the community. These reference drivers control the PXE and IPMI like open source technologies. If the community drivers fail to provide improved performance then the pluggable driver architecture of Ironic will permit the hardware vendors to write as well as supply drives which can lead to improved performance.
Consider the following used cases for provisioning bare metal in the OpenStack cloud:
Following is the conceptual architecture view which represents the relationships and also explains how all the OpenStack services become operational throughout the provisioning of the Bare Metal.
Preboot Execution Environment is a part of Wfm which stands for Wired for Management description established by the Microsoft and Intel. The network interface card i.e. NIC and also the BIOS of the system are enabled by the Preboot Execution Environment for bootstrapping a computer over the network instead of a disk. Bootstrapping a computer is a process using which a computer system loads up the operating system into the local memory of the system thereby OS can be run by the processor.
This ability to enable the system to boot a computer over the network makes the installation of server simple and also simplifies the server management for the administrators.
2. DHCP i.e. Dynamic Host Configuration Protocol:
All of you may already know that DHCP is a uniform networking protocol which is mostly used on IP i.e. Internet Protocol networks for distributing the network configuration parameters dynamically like IP addresses for the services. With the help of Preboot Execution Environment, the system BIOS uses DHCP for obtaining IP addresses for the network interfaces and for locating the server which saves the NBP i.e. Network Bootstrap Program.
3. NBP or Network Bootstrap Program:
The Network Bootstrap Program is identical to loaders like Grand Unified Bootloader i.e. GRUB or Linux Loader i.e. LILO that are conventionally used in normal booting. Similar to the boot program inside an environment of hard drive, the Network Bootstrap program is also accountable for loading up the Operating System kernel into local memory whereby the operating system could be bootstrapped across a network.
4. TFTP i.e. Trivial File Transfer Protocol:
The Trivial File Transfer Protocol is a normal file transfer protocol which is simply used for automatic transfer of the setup or the boot files between the machines present in the local environment. In the Preboot Execution Environment, Trivial File Transfer Protocol is required for downloading the Network Bootstrap Program throughout the network with the help of the information obtained from the Dynamic Host Configuration Protocol or DHCP server.
5. IPMI i.e. Intelligent Platform Management Interface:
The system administrators who manage the outside of defined computer systems as well as monitor the operations of those computer systems with the help of Intelligent Platform Management Interface. Because Intelligent Platform Management Interface is a conventional computer systems interface. The above method for managing the computer systems might be switched off because of just a network connection to the hardware instead of a network connection to an operating system.
Following pre-requisites should be completed before starting the process of deployment:
In this section, we are describing how to deploy a general ironic node with the help of PXE and the ironic Python Agent (IPA). On the basis of the ironic driver interface used, few of the deployment steps may be slightly different despite that many of those steps will still remain the same.
Important Note
At the time of bare metal deployment, there are 2 power cycles; for the first time, the node is powered-on when ramdisk is booted, and for the second time once the image is deployed.
Following diagram describes the above process of deployment of ironic node:
That’s all for today! Thank you for reading the blog! Please do not forget to leave a comment in the comment section below!
Due to growing digitalization, Email Communication has become the backbone of professional interactions. Yet, surprisingly, many professionals struggle to craft…
As the digital landscape continues to evolve, securing your website has never been more crucial. SSL, or Secure Sockets Layer,…
As a web designer and web developer your experience must have reached to new height, right? Further, you need to…
In today's digital landscape, timing is everything. Whether you're a social media manager, business owner, or content creator, the success…
Are you a website owner? Maintaining the website is the prime concern for any website owner. Yes, it’s equally important…