From 157d1b63efaea4468e0dab6666727401cdf85f27 Mon Sep 17 00:00:00 2001 From: James Gu Date: Tue, 29 Sep 2020 16:08:11 -0700 Subject: Update Airship 1.8 deployment guide Change-Id: I808673423a35cf2ee03eeb8b50ffd28f31b0d14e Signed-off-by: James Gu --- .../installation/installation.instruction.rst | 53 ++++++++++++++++++++-- 1 file changed, 48 insertions(+), 5 deletions(-) diff --git a/docs/release/installation/installation.instruction.rst b/docs/release/installation/installation.instruction.rst index fddc31a..2edf77a 100644 --- a/docs/release/installation/installation.instruction.rst +++ b/docs/release/installation/installation.instruction.rst @@ -21,6 +21,9 @@ Version history | 2020-01-21 | 0.1.0 | James Gu | First draft based | | | | | on Wiki content | +--------------------+--------------------+--------------------+--------------------+ +| 2020-09-29 | 0.2.0 | James Gu | Airship 1.8 update | +| | | | | ++--------------------+--------------------+--------------------+--------------------+ Introduction ============ @@ -127,9 +130,50 @@ The `site-definition.yaml `_. + +In Intel POD 17, a CoreDNS service has been installed on the jump host using the following example +procedure: + +.. code-block:: console + + $ sudo -i + $ mkdir /root/coredns + $ cp {cloned_airship_repo_location}/site/intel-pod17/tools/files/Corefile-intel-pod17 /root/coredns + $ cp {cloned_airship_repo_location}/site/intel-pod17/tools/files/intel-pod17.db /root/coredns + $ docker run -d --name coredns --restart=always --volume=/root/coredns/:/root/coredns -p 53:53/udp coredns/coredns -conf /root/coredns/Corefile-intel-pod17 + +Update the external DNS server IP addresses and Airship MAAS and Ingress virtual IPS accordingly in +the `Corefile-intel-pod17` and `intel-pod17.db` files. + +Set up and install the genesis node following `Genenis node `_ +section in Airship Site Authoring and Deployment Guide. + +On the genesis node, ensure that Virtualization is enabled in BIOS, and PXE is set as first boot +device and the correct NIC is selected for PXE. + +The last step is to configure the Hugepages settings for OVS-DPDK by adding the following line in +`/etc/default/grub` on the genesis node: + +.. code-block:: console + + GRUB_CMDLINE_LINUX="hugepagesz=1G hugepages=12 transparent_hugepage=never default_hugepagesz=1G dpdk-socket-mem=4096,4096 iommu=pt intel_iommu=on amd_iommu=on cgroup_disable=hugetlb console=ttyS1,115200n8" + +Reboot the genesis node after GRUB setting change. + +Note that the Hugepages configuration values should match the ones in +`treasuremap/type/cruiserlite/profiles/host/cp-intel-s2600wt.yaml`. + Deployment ========== @@ -139,9 +183,8 @@ side is light. See `deploy.sh