diff options
author | Alexandru Nemes <alexandru.nemes@enea.com> | 2018-05-14 17:11:55 +0300 |
---|---|---|
committer | Alexandru Nemes <alexandru.nemes@enea.com> | 2018-05-14 17:11:55 +0300 |
commit | fad0dffabd6f3129aabf5400b2598d71aaa7527a (patch) | |
tree | f28c73be7d8b12e9f405ac9510f6118f42dbf994 /book-enea-nfv-core-installation-guide/doc/mixed_arch.xml | |
parent | 507c55968dea0780483f0de374253b384b9bbc98 (diff) | |
download | doc-enea-nfv-fad0dffabd6f3129aabf5400b2598d71aaa7527a.tar.gz |
Adding documentation content for mixed arch pod deployment in ENC
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
Diffstat (limited to 'book-enea-nfv-core-installation-guide/doc/mixed_arch.xml')
-rw-r--r-- | book-enea-nfv-core-installation-guide/doc/mixed_arch.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/book-enea-nfv-core-installation-guide/doc/mixed_arch.xml b/book-enea-nfv-core-installation-guide/doc/mixed_arch.xml new file mode 100644 index 0000000..d0666d8 --- /dev/null +++ b/book-enea-nfv-core-installation-guide/doc/mixed_arch.xml | |||
@@ -0,0 +1,62 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <chapter id="mixed_arch"> | ||
3 | <title>Mixed Arch Deployment</title> | ||
4 | |||
5 | <para>Mixed Arch deployment support allows a user to install Enea NFV Core | ||
6 | on a cluster containing a mixture of servers, with x86_64 and aarch64 CPU | ||
7 | families. The recommended topologies consist of deploying x86 Controllers | ||
8 | and aarch64 Compute nodes, or mixed x86_64 and aarch64 Compute nodes.</para> | ||
9 | |||
10 | <section id="launch_multiarch_env"> | ||
11 | <title>Launching Instances in a Mixed Arch environment</title> | ||
12 | |||
13 | <para>Before launching an instance, the user needs to ensure certain | ||
14 | prerequisites are present:</para> | ||
15 | |||
16 | <itemizedlist> | ||
17 | <listitem> | ||
18 | <para>Have OpenStack images installed for both architectures:</para> | ||
19 | |||
20 | <programlisting>#image for x86 | ||
21 | glance image-create --name dpdk-image-x86 --visibility public --disk-format raw \ | ||
22 | --container-format bare --file dpdk-image-x86-compiled | ||
23 | #image for ARM | ||
24 | glance image-create --name dpdk-image-arm --visibility public --disk-format raw \ | ||
25 | --container-format bare --file dpdk-image-arm-compiled | ||
26 | glance image-update [ID] --property hw_firmware_type=uefi</programlisting> | ||
27 | </listitem> | ||
28 | |||
29 | <listitem> | ||
30 | <para>Have Openstack configured with per-arch scheduling information. | ||
31 | The following is an example configuration:</para> | ||
32 | |||
33 | <orderedlist> | ||
34 | <listitem> | ||
35 | <para>Create a host aggregate:</para> | ||
36 | |||
37 | <programlisting>nova aggregate-create x86_64 | ||
38 | nova aggregate-set-metadata x86_64 arch=x86_64 | ||
39 | nova aggregate-add-host x86_64 node-6.domain.tld</programlisting> | ||
40 | </listitem> | ||
41 | |||
42 | <listitem> | ||
43 | <para>Create a flavor and tie it to the aggregate:</para> | ||
44 | |||
45 | <programlisting>openstack flavor create --ram 4096 --disk 4 --vcpus 4 dpdk-x86 | ||
46 | nova flavor-key dpdk-x86 set aggregate_instance_extra_specs:arch=x86_64 | ||
47 | nova flavor-key dpdk-x86 set hw:mem_page_size=any | ||
48 | openstack flavor set --property hw:cpu_policy=dedicated dpdk-x86</programlisting> | ||
49 | </listitem> | ||
50 | </orderedlist> | ||
51 | </listitem> | ||
52 | |||
53 | <listitem> | ||
54 | <para>Launch the VM:</para> | ||
55 | |||
56 | <programlisting>nova boot --image dpdk-image-x86 --flavor dpdk-x86 pktgen-x86</programlisting> | ||
57 | |||
58 | <para>It will be placed on the x86 hypervisor from node-6.</para> | ||
59 | </listitem> | ||
60 | </itemizedlist> | ||
61 | </section> | ||
62 | </chapter> \ No newline at end of file | ||