-
before deployment, administrator needs to setup
-
enroll baremetal nodes to ironic
- register node specs (CPU number, memory size, etc...)
- register mac address as a port
- register a driver and enroll bmc access information
-
create flavors for baremetal deployment (user requests a baremetal node by selecting a flavor)
-
create disk images for baremetal
- deployment image (only used for deployment)
- bm-deploy-kernel and bm-deploy-ramdisk
- user os image
- user-image, user-image-vmlinuz and user-image-initrd
- deployment image (only used for deployment)
- ironic powers on a baremetal node using a driver
- the baremetal node gets a deployment image
- the deployment image configures iscsi target
- ironic copies a user os image to the baremetal node
- ironic reboots the baremetal node
- the baremetal is booted by the user image
- multi tenancy
- attach virtual volumes (cinder integration)
- security groups
- etc...
- network isolation is a must
- requires some configuration to physical switches
- network configuration also needs to be done automatically
- isolate network simply adopting vlan
- but all baremetal have to download user os image from ironic node
- each tenant has their own ironic node
- not practical because it consumes too many nodes
- one ironic manages multiple tenants
- two types of vlan
- deployment vlan
- created by administrator as a neutron network
- ironic compute node is connected to this vlan
- each baremetal node connects to this vlan only when deployment
- tenant vlan
- created by tenant user as a neutron network
- baremetal nodes in a tenant connect to this type of vlan after deployment
- deployment vlan
- switch vlan types before and after deployment