Anuket Project

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Introduction


Assumptions

  1. All the hardware are Uniform
    1. Same number of NICs with same PCI ids
    2. Same number of disks with same addresses.
  2. Everything is named and their names are used for reference - In Airship, the name if the filename is not important, but the name in the 'schema' (found in schema/metadata/name) is important.

Profiles

There are two important categories of profiles that the user should create to match their environment:

  1. Hardware ( site/<site_name>/profiles/hardware/<profile_name>.yaml)
  2. Host site/<site_name>/profiles/host/<profile_name(s)>.yaml

Hardware Profile

Under the hardware profile, user can provide details about the server, and few device (n/w and disk) aliases. User can contact the administrator to obtain this information - else, one has to obtain this information from the 'lshw' command.  For example: sudo lshw -c network -businfo  - to know the NIC names and PCI Ids. Once the user has the hardware information, it can be configure following parameters:

Server:

ParameterDescriptionExample-Value
vendorVendor of the server chassisIntel
generationGeneration of the chassis model'4'
hw_versionVersion of the chassis model within its generation'3'
bios_versionThe certified version of the chassis BIOS'SE5C ....
boot_modeMode of the default boot of hardware - bios, uefibios
bootstrap_protocolProtocol of boot of the hardware - pxe, usb, hdd'pxe
pxe_interfaceWhich interface to use for network booting within the OOB manager, not OS device0

Device-Aliases:

NICs:

User can categorize the NICs in the hardware as control-plane nics or dataplane nics. In each category he can have one or more NICs.  For example, he can define ctrl_nic1, ctrl_nic2, ctrl_nic3, and data_nic1, data_nic2, data_nic3, etc.  It is better to use names that are self-explanatory - for example, if you have a separate NIC for PXE, name it as pxe_nic. This categorization will be referred in the host-profiles.  For every NIC defined, the below information can be configured. 


ParameterDescriptionExample Value
addressThe PCI address of the NIC0000:04:00.0
dev_typeDescription of the NIC'I350 Gigabit Network Connection'
bus_typeThe bus supported'pci'

Disks:

The Disks can be either bootdisk or datadisk(s). Similar to NICs, the self-explanatory names should be choosen. For example, cephjournal1 can be the name for one of the disks use as one the ceph journals.

For every disk defined, the below information can be configured:


ParameterDescriptionExample Value
addressThe bus address of the Disk0:2.0.0
dev_type

Description of the disk.

'INTEL SSDSC2BB48'
bus_typeThe bus supported'scsi'


Host Profiles

The host profiles Following things are covered:

  1. Mapping NICs of the host the Networks it would belong to. NOTE: For definition of network please refer to Networks section below.
  2. How the Bootdisk is partitioned.
  3. What all software components are enabled on the particular host.
  4. What hardware profile that host is using.
  5. Platform specific configuration for the host.

For majority of the cases, you only need two host profiles - Dataplane and Control Plane. Of course, the user can create more than 2 and use it accordingly. The below table summarizes the configurable parameters for the host profiles.



Parameter CategorySub-Category-1Sub-Category-2DescriptionExample Value
hardware_profileNANAThe hardware profile used by the hostintel_2600.yaml
InterfacesNameNA






















Nodes



Networks



Software



PKI-Catalog


Secrets


Actions

  • No labels