Puppet-managed physical instance
Create an instance
In order to create a puppet-managed physical instance you can follow the same steps as for creating a new Puppet-managed virtual node, i.e.
[aiadm]$ ai-bs \ --foreman-hostgroup playground/makowals \ --cc7 \ --nova-flavor p1.abc123 \ my-physical-instance
As the instance is managed by Puppet, it will take care of configuring access to the instance according to the manifest provided.
--nova-sshkey can be used in addition to establish a second access path.
Note: The use of the
cern-waitdns property is not supported when creating physical instances.
As soon as your instance is in
ACTIVE state, you can access it using the name you have provided in the previous step. Due to the network infrastructure limitations
openstack server show my-physical-instance will not show an IP address associated with your machine, but you can check it in the LanDB portal.
Delete an instance
For deleting an instance you can follow the same steps as for deleting a Puppet-managed virtual node, i.e.
[aiadm]$ ai-kill my-physical-instance
This command will delete your instance from the physical node and erase its hard drives so the machine is ready to be used with a new instance in the future.