summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToma Bilius <toma.bilius@enea.com>2021-06-09 15:07:38 +0300
committerMiruna Paun <mrpa@enea.se>2021-06-11 00:57:43 +0100
commit068fba5c491196290632280936ac95412b623015 (patch)
tree84cb7d711484937741d657b616b020bb231893a8
parent0bc82389b36fbdb6f9a4df4d44ea1379e440ca99 (diff)
downloadnfv-access-documentation-068fba5c491196290632280936ac95412b623015.tar.gz
ELCCR-1702 Add documentation to the Enea Getting Started Manual
- Add documentation for NFVi Backup Change-Id: I782d4946def16b23864419369b885a42c69124ab Signed-off-by: Toma Bilius <toma.bilius@enea.com>
-rw-r--r--doc/book-enea-edge-getting-started/doc/advanced_configurations.xml220
1 files changed, 173 insertions, 47 deletions
diff --git a/doc/book-enea-edge-getting-started/doc/advanced_configurations.xml b/doc/book-enea-edge-getting-started/doc/advanced_configurations.xml
index 3366a43..cc6ea9d 100644
--- a/doc/book-enea-edge-getting-started/doc/advanced_configurations.xml
+++ b/doc/book-enea-edge-getting-started/doc/advanced_configurations.xml
@@ -414,62 +414,186 @@ node0.1048576kB = 3 </programlisting>
414 <section id="create_certificate"> 414 <section id="create_certificate">
415 <title>Tomcat Certificate Generation</title> 415 <title>Tomcat Certificate Generation</title>
416 416
417 <para>The self-signed Tomcat Certificate the Enea Edge 417 <para>The self-signed Tomcat Certificate the Enea Edge Management
418 Management application uses is generated at installation time. It can 418 application uses is generated at installation time. It can be regenerated
419 be regenerated anytime after installation by using the 419 anytime after installation by using the
420 <filename>createCertificate.sh</filename> script.</para> 420 <filename>createCertificate.sh</filename> script.</para>
421 421
422 <para>On the CentOS 7 server open a terminal, log into a bash shell with 422 <para>On the CentOS 7 server open a terminal, log into a bash shell with
423 the root account and perform the following:</para> 423 the root account and perform the following:</para>
424 424
425 <orderedlist> 425 <orderedlist>
426 <listitem>
427 <para>Extract
428 <literal>Enea_Edge_Management_&lt;version&gt;-build&lt;build_number&gt;.tar.gz</literal></para>
429
430 <para>The directory in which the archive has been unpacked will be
431 denoted as: <literal>&lt;uCPEM-installerdir&gt;</literal>.</para>
432 </listitem>
433
434 <listitem>
435 <para>Enter <literal>&lt;uCPEM-installerdir&gt;/dist</literal>.</para>
436 </listitem>
437
438 <listitem>
439 <para>Run the following command and change <literal>/opt/ems</literal>
440 to the location where the Enea Edge Management application is
441 installed:</para>
442
443 <programlisting>./createCertificate.sh ucpemanager &lt;IP_or_domain&gt; \
444 /opt/ems [&lt;service_username&gt;]</programlisting>
445
446 <para>Where the following need to be included:</para>
447
448 <itemizedlist>
449 <listitem>
450 <para>The IP or domain name of the server the Enea Edge Management
451 application is running on.</para>
452 </listitem>
453
454 <listitem>
455 <para>The service username, which is the one set when installing
456 the Enea Edge Management application. For more details see <olink
457 targetdoc="book_enea_edge_getting_started"
458 targetptr="fresh_ucpemg_install">Fresh Installation of the Enea
459 Edge Management application in the <ns:include
460 href="../../s_docbuild/olinkdb/pardoc-names.xml"
461 xmlns:ns="http://www.w3.org/2001/XInclude"
462 xpointer="element(book_enea_edge_getting_started/1)" /></olink>
463 Manual. Providing the service username is optional. If it is not
464 provided, the default value will be used.</para>
465 </listitem>
466 </itemizedlist>
467 </listitem>
468
469 <listitem>
470 <para>Restart the Enea Edge Management service:</para>
471
472 <programlisting>service ucpemanager restart</programlisting>
473 </listitem>
474 </orderedlist>
475 </section>
476
477 <section id="nfvi_backup">
478 <title>NFV Infrastructure Backup Operations</title>
479
480 <para>In the following sections are described the operations that can be
481 performed in order to backup and restore the NFV Infrastructure (NFVi)
482 configuration. This allows for recovery from unintended configuration
483 errors.</para>
484
485 <section id="nfvi_snapshot">
486 <title>NFVi Snapshotting</title>
487
488 <para>To perform a snapshot (a backup of the current state) of the NFVi,
489 perform the following steps in the Enea Edge Management application:</para>
490
491 <orderedlist>
426 <listitem> 492 <listitem>
427 <para>Extract <literal>Enea_Edge_Management_&lt;version&gt;-build&lt;build_number&gt;.tar.gz</literal></para> 493 <para>Select the uCPE device, access the <emphasis
494 role="bold">Configuration</emphasis> menu, and select <emphasis
495 role="bold">NFVI Backup</emphasis>. The <emphasis
496 role="bold">NFVI Config Archive Table</emphasis> will be
497 shown.</para>
498 </listitem>
428 499
429 <para>The directory in which the archive has been unpacked will be 500 <listitem>
430 denoted as: <literal>&lt;uCPEM-installerdir&gt;</literal>.</para> 501 <para>Press the <emphasis role="bold">Create</emphasis>
502 button.</para>
431 </listitem> 503 </listitem>
432 504
433 <listitem> 505 <listitem>
434 <para>Enter <literal>&lt;uCPEM-installerdir&gt;/dist</literal>.</para> 506 <para>Edit the default file name, if needed, and press the <emphasis
507 role="bold">Create</emphasis> button. The current window will
508 close and the success message <emphasis role="bold">Created
509 successfully</emphasis> will be shown.</para>
435 </listitem> 510 </listitem>
511 </orderedlist>
436 512
513 <para>A new entry will be added in the <emphasis role="bold">NFVI
514 Config Archive Table</emphasis> and the <emphasis
515 role="bold">BackupArchiveCreated</emphasis> event can be seen by acessing
516 the <emphasis role="bold">Fault</emphasis> menu and triggering the
517 <emphasis role="bold">Events</emphasis> window. The backup
518 file will be created on the uCPE device in the
519 <literal>/var/odm/backup/</literal> folder.</para>
520 </section>
521
522 <section id="restore_nfvi_backup">
523 <title>Restoring an NFVi backup</title>
524
525 <para>When needed, an NFVi backup can be restored in the following
526 way:</para>
527
528 <orderedlist>
437 <listitem> 529 <listitem>
438 <para>Run the following command and change <literal>/opt/ems</literal> 530 <para>Select the uCPE device, access the <emphasis
439 to the location where the Enea Edge Management application is installed:</para> 531 role="bold">Configuration</emphasis> menu and select <emphasis
532 role="bold">NFVI Backup</emphasis>. The <emphasis
533 role="bold">NFVI Config Archive Table</emphasis> will be
534 shown.</para>
535 </listitem>
440 536
441 <programlisting>./createCertificate.sh ucpemanager &lt;IP_or_domain&gt; \ 537 <listitem>
442 /opt/ems [&lt;service_username&gt;]</programlisting> 538 <para>Select an existing backup from the NFVI Config Archive
539 Table.</para>
540 </listitem>
443 541
444 <para>Where the following need to be included:</para> 542 <listitem>
543 <para>Press the <emphasis role="bold">Restore</emphasis> button
544 and <emphasis role="bold">Confirm</emphasis> the action.</para>
545 </listitem>
546 </orderedlist>
445 547
446 <itemizedlist> 548 <para>A success message will be shown in the same window: <emphasis
447 <listitem> 549 role="bold">Restored NFVI configuration</emphasis>. Two events will
448 <para>The IP or domain name of the server the Enea Edge 550 appear in the <emphasis role="bold">Events</emphasis> window (accesible
449 Management application is running on.</para> 551 through the <emphasis role="bold">Fault</emphasis> menu):
450 </listitem> 552 <emphasis role="bold">Restore started</emphasis> and
553 <emphasis role="bold">Restore complete</emphasis>.</para>
451 554
452 <listitem> 555 <note>
453 <para>The service username, which is the one set when installing the 556 <para>When restoring an NFVi backup, connectivity with the uCPE device
454 Enea Edge Management application. For more details 557 may be lost for a period of time. After a successful restoration the
455 see <olink targetdoc="book_enea_edge_getting_started" 558 connection with the device will be restored. Any saved custom scripts
456 targetptr="fresh_ucpemg_install">Fresh Installation of the Enea 559 of type <filename>once-before-startup</filename> or
457 Edge Management application in the <ns:include 560 <filename>once-after-startup</filename> will be re-executed as part
458 href="../../s_docbuild/olinkdb/pardoc-names.xml" 561 of the NFVi restore process.</para>
459 xmlns:ns="http://www.w3.org/2001/XInclude" 562 </note>
460 xpointer="element(book_enea_edge_getting_started/1)" /></olink> Manual. 563 </section>
461 Providing the service username is optional. If it is not provided, the default 564
462 value will be used.</para> 565 <section id="delete_nfvi_backup">
463 </listitem> 566 <title>Deleting an NFVi backup</title>
464 </itemizedlist> 567
568 <para>Deleting an older NFVi backup can be performed in the following
569 way:</para>
570
571 <orderedlist>
572 <listitem>
573 <para>Select the uCPE device, access the
574 <emphasis role="bold">Configuration</emphasis> menu, and select
575 <emphasis role="bold">NFVI Backup</emphasis>. The <emphasis
576 role="bold">NFVI Config Archive Table</emphasis> will be
577 shown.</para>
465 </listitem> 578 </listitem>
466 579
467 <listitem> 580 <listitem>
468 <para>Restart the Enea Edge Management service:</para> 581 <para>Select an existing backup from the NFVI Config Archive
582 Table.</para>
583 </listitem>
469 584
470 <programlisting>service ucpemanager restart</programlisting> 585 <listitem>
586 <para>Press the <emphasis role="bold">Delete</emphasis>
587 button.</para>
471 </listitem> 588 </listitem>
472 </orderedlist> 589 </orderedlist>
590
591 <para>A success message will be shown in the same window: <emphasis
592 role="bold">NFVI configuration backup deleted</emphasis>. The backup
593 file will be deleted from the uCPE device (from the
594 <literal>/var/odm/backup/</literal> folder), and the table will be
595 updated.</para>
596 </section>
473 </section> 597 </section>
474 598
475 <section condition="hidden" id="high_availability_ig"> 599 <section condition="hidden" id="high_availability_ig">
@@ -520,8 +644,8 @@ node0.1048576kB = 3 </programlisting>
520 Limitations</emphasis></para> 644 Limitations</emphasis></para>
521 645
522 <para>Enea's solution for Edge Management High-Availability is designed to 646 <para>Enea's solution for Edge Management High-Availability is designed to
523 maximize resiliency of the management function. However, the current design 647 maximize resiliency of the management function. However, the current
524 does not provide guaranteed consistency across all Enea Edge 648 design does not provide guaranteed consistency across all Enea Edge
525 Management instances, i.e. some information might become out-of-sync in 649 Management instances, i.e. some information might become out-of-sync in
526 certain conditions.</para> 650 certain conditions.</para>
527 651
@@ -541,7 +665,7 @@ node0.1048576kB = 3 </programlisting>
541 and filesystem have been synchronized. If a Backup instance becomes the 665 and filesystem have been synchronized. If a Backup instance becomes the
542 active one before synchronization takes place, this would result in an 666 active one before synchronization takes place, this would result in an
543 out-of-sync state.</para> 667 out-of-sync state.</para>
544 668
545 <section id="ha_reqs"> 669 <section id="ha_reqs">
546 <title>Requirements for High Availability</title> 670 <title>Requirements for High Availability</title>
547 671
@@ -1043,17 +1167,19 @@ Configuration complete.</programlisting>
1043 role="bold">System</emphasis> and select <emphasis role="bold">Cluster 1167 role="bold">System</emphasis> and select <emphasis role="bold">Cluster
1044 View</emphasis>. The list of Enea Edge Management servers should be 1168 View</emphasis>. The list of Enea Edge Management servers should be
1045 displayed, with one listed as Primary and the rest as Backup.</para> 1169 displayed, with one listed as Primary and the rest as Backup.</para>
1046 1170
1047 <note><para>To avoid split-brain (network-partitioning) scenarios, it is possible 1171 <note>
1048 for the user to specify an IP:port tuple for a system that acts as an 1172 <para>To avoid split-brain (network-partitioning) scenarios, it is
1049 Arbiter. In case both Primary and Backup servers cannot reach the Arbiter, 1173 possible for the user to specify an IP:port tuple for a system that
1050 there will be no Primary system to connect to and the management services 1174 acts as an Arbiter. In case both Primary and Backup servers cannot
1051 will be unavailable.</para> 1175 reach the Arbiter, there will be no Primary system to connect to and
1052 1176 the management services will be unavailable.</para>
1053 <para>This can be manually remedied by either fixing the network situation 1177
1054 that caused the partitioning or modifying Arbiter information in the 1178 <para>This can be manually remedied by either fixing the network
1055 configuration file on the server that the user decides should be the 1179 situation that caused the partitioning or modifying Arbiter
1056 (one and only) Primary server.</para></note> 1180 information in the configuration file on the server that the user
1181 decides should be the (one and only) Primary server.</para>
1182 </note>
1057 1183
1058 <para><remark>ELCCR-907</remark>At times the VIP address is not 1184 <para><remark>ELCCR-907</remark>At times the VIP address is not
1059 acquired by any of the backup nodes if a power failure happens on 1185 acquired by any of the backup nodes if a power failure happens on
@@ -1164,4 +1290,4 @@ Configuration complete.</programlisting>
1164 </orderedlist> 1290 </orderedlist>
1165 </section> 1291 </section>
1166 </section> 1292 </section>
1167</chapter> 1293</chapter> \ No newline at end of file