diff options
Diffstat (limited to 'doc/book-enea-edge-getting-started/doc/advanced_configurations.xml')
-rw-r--r-- | doc/book-enea-edge-getting-started/doc/advanced_configurations.xml | 418 |
1 files changed, 355 insertions, 63 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 c596735..5f20c7f 100644 --- a/doc/book-enea-edge-getting-started/doc/advanced_configurations.xml +++ b/doc/book-enea-edge-getting-started/doc/advanced_configurations.xml | |||
@@ -120,14 +120,14 @@ | |||
120 | <listitem> | 120 | <listitem> |
121 | <para><literal>prompt_user</literal> (optional). If the parameter | 121 | <para><literal>prompt_user</literal> (optional). If the parameter |
122 | is set to "yes", the installer will ask for confirmation before | 122 | is set to "yes", the installer will ask for confirmation before |
123 | formatting and partitioning the drive. The default behaviour is to | 123 | formatting and partitioning the drive. The default behavior is to |
124 | proceed automatically without any user interaction.</para> | 124 | proceed automatically without any user interaction.</para> |
125 | </listitem> | 125 | </listitem> |
126 | </itemizedlist> | 126 | </itemizedlist> |
127 | 127 | ||
128 | <para>Installation Configuration File Example:</para> | 128 | <para>Installation Configuration File Example:</para> |
129 | 129 | ||
130 | <programlisting>image_url = http://192.168.1.100/enea-nfv-access-xeon-d.hddimg.gz | 130 | <programlisting>image_url = http://192.168.1.100/enea-edge-runtime-xeon-d.hddimg.gz |
131 | install_drive = /dev/sda</programlisting> | 131 | install_drive = /dev/sda</programlisting> |
132 | 132 | ||
133 | <note> | 133 | <note> |
@@ -144,9 +144,9 @@ install_drive = /dev/sda</programlisting> | |||
144 | <literal>/var/lib/tftpboot/pxelinux.cfg/default</literal>). The PXE | 144 | <literal>/var/lib/tftpboot/pxelinux.cfg/default</literal>). The PXE |
145 | entry should have the following settings:</para> | 145 | entry should have the following settings:</para> |
146 | 146 | ||
147 | <programlisting>default nfv_access | 147 | <programlisting>default enea_edge_runtime |
148 | label nfv_access | 148 | label enea_edge_runtime |
149 | menu label ^NFV_ACCESS_INSTALLER | 149 | menu label ^ENEA_EDGE_INSTALLER |
150 | kernel <Path to kernel> | 150 | kernel <Path to kernel> |
151 | append root=/dev/ram0 initrd=<Path to initramfs> LABEL=pxe-installer \ | 151 | append root=/dev/ram0 initrd=<Path to initramfs> LABEL=pxe-installer \ |
152 | INSTALL_CFG=http://<Server IP>/<Path to install config file> \ | 152 | INSTALL_CFG=http://<Server IP>/<Path to install config file> \ |
@@ -300,7 +300,7 @@ ipmitool -U <user> -P <password> -H <uCPE device IPMI IP address& | |||
300 | <title>Customizing Automatic Hugepage Reservation</title> | 300 | <title>Customizing Automatic Hugepage Reservation</title> |
301 | 301 | ||
302 | <para>Configuration of Hugepage reservation is done in | 302 | <para>Configuration of Hugepage reservation is done in |
303 | <literal>/etc/enea-nfv-access/hugepages.cfg</literal>.</para> | 303 | <literal>/etc/enea/hugepages.cfg</literal>.</para> |
304 | 304 | ||
305 | <para><emphasis role="bold">Parameters used by the automatic algorithm: | 305 | <para><emphasis role="bold">Parameters used by the automatic algorithm: |
306 | </emphasis></para> | 306 | </emphasis></para> |
@@ -414,61 +414,351 @@ 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_<version>-build<build_number>.tar.gz</literal></para> | ||
429 | |||
430 | <para>The directory in which the archive has been unpacked will be | ||
431 | denoted as: <literal><EEMg-installerdir></literal>.</para> | ||
432 | </listitem> | ||
433 | |||
434 | <listitem> | ||
435 | <para>Enter <literal><EEMg-installerdir>/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 EneaEdgeManagement <IP_or_domain> \ | ||
444 | /opt/ems [<service_username>]</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 | ||
490 | application:</para> | ||
491 | |||
492 | <orderedlist> | ||
426 | <listitem> | 493 | <listitem> |
427 | <para>Extract <literal>Enea_Edge_Management_<version>-build<build_number>.tar.gz</literal></para> | 494 | <para>Select the uCPE device, access the <emphasis |
495 | role="bold">Configuration</emphasis> menu, and select <emphasis | ||
496 | role="bold">NFVI Backup</emphasis>. The <emphasis role="bold">NFVI | ||
497 | Config Archive Table</emphasis> will be 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><uCPEM-installerdir></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><uCPEM-installerdir>/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 close | ||
508 | and the success message <emphasis role="bold">Created | ||
509 | successfully</emphasis> will be shown.</para> | ||
435 | </listitem> | 510 | </listitem> |
511 | </orderedlist> | ||
512 | |||
513 | <para>A new entry will be added in the <emphasis role="bold">NFVI Config | ||
514 | Archive Table</emphasis> and the <emphasis | ||
515 | role="bold">BackupArchiveCreated</emphasis> event can be seen by | ||
516 | accessing the <emphasis role="bold">Fault</emphasis> menu and triggering | ||
517 | the <emphasis role="bold">Events</emphasis> window. The backup file will | ||
518 | be created on the uCPE device.</para> | ||
519 | </section> | ||
520 | |||
521 | <section id="restore_nfvi_backup"> | ||
522 | <title>Restoring an NFVi backup</title> | ||
523 | |||
524 | <para>When needed, an NFVi backup can be restored in the following | ||
525 | way:</para> | ||
436 | 526 | ||
527 | <orderedlist> | ||
437 | <listitem> | 528 | <listitem> |
438 | <para>Run the following command:</para> | 529 | <para>Select the uCPE device, access the <emphasis |
530 | role="bold">Configuration</emphasis> menu and select <emphasis | ||
531 | role="bold">NFVI Backup</emphasis>. The <emphasis role="bold">NFVI | ||
532 | Config Archive Table</emphasis> will be shown.</para> | ||
533 | </listitem> | ||
439 | 534 | ||
440 | <programlisting>./createCertificate.sh ucpemanager <IP_or_domain> \ | 535 | <listitem> |
441 | /opt/ems [<service_username>]</programlisting> | 536 | <para>Select an existing backup from the NFVI Config Archive |
537 | Table.</para> | ||
538 | </listitem> | ||
442 | 539 | ||
443 | <para>Where the following need to be included:</para> | 540 | <listitem> |
541 | <para>Press the <emphasis role="bold">Restore</emphasis> button and | ||
542 | <emphasis role="bold">Confirm</emphasis> the action.</para> | ||
543 | </listitem> | ||
544 | </orderedlist> | ||
444 | 545 | ||
445 | <itemizedlist> | 546 | <para>A success message will be shown in the same window: <emphasis |
446 | <listitem> | 547 | role="bold">Restored NFVI configuration</emphasis>. Two events will |
447 | <para>The IP or domain name of the server the Enea Edge | 548 | appear in the <emphasis role="bold">Events</emphasis> window (accessible |
448 | Management application is running on.</para> | 549 | through the <emphasis role="bold">Fault</emphasis> menu): <emphasis |
449 | </listitem> | 550 | role="bold">Restore started</emphasis> and <emphasis role="bold">Restore |
551 | complete</emphasis>.</para> | ||
450 | 552 | ||
451 | <listitem> | 553 | <note> |
452 | <para>The service username, which is the one set when installing the | 554 | <para>When restoring an NFVi backup, connectivity with the uCPE device |
453 | Enea Edge Management application. For more details | 555 | may be lost for a period of time. After a successful restoration the |
454 | see <olink targetdoc="book_enea_edge_getting_started" | 556 | connection with the device will be restored. Any saved custom scripts |
455 | targetptr="fresh_ucpemg_install">Fresh Installation of the Enea | 557 | of type <filename>once-before-startup</filename> or |
456 | Edge Management application in the <ns:include | 558 | <filename>once-after-startup</filename> will be re-executed as part of |
457 | href="../../s_docbuild/olinkdb/pardoc-names.xml" | 559 | the NFVi restore process.</para> |
458 | xmlns:ns="http://www.w3.org/2001/XInclude" | 560 | </note> |
459 | xpointer="element(book_enea_edge_getting_started/1)" /></olink> Manual. | 561 | |
460 | Providing the service username is optional. If it is not provided, the default | 562 | <para>When restoring an NFVi backup all VNF instances will be removed. |
461 | value will be used.</para> | 563 | Instances that were present at the moment the backup was taken will be |
462 | </listitem> | 564 | restored to their initial state, as if newly created. All snapshots |
463 | </itemizedlist> | 565 | associated with previously instantiated VNFs will be deleted.</para> |
566 | |||
567 | <note> | ||
568 | <para>VNF instances will not be recreated if their associated VNF | ||
569 | descriptor has been deleted prior to restoring the NFVi backup.</para> | ||
570 | </note> | ||
571 | </section> | ||
572 | |||
573 | <section id="delete_nfvi_backup"> | ||
574 | <title>Deleting an NFVi backup</title> | ||
575 | |||
576 | <para>Deleting an older NFVi backup can be performed in the following | ||
577 | way:</para> | ||
578 | |||
579 | <orderedlist> | ||
580 | <listitem> | ||
581 | <para>Select the uCPE device, access the <emphasis | ||
582 | role="bold">Configuration</emphasis> menu, and select <emphasis | ||
583 | role="bold">NFVI Backup</emphasis>. The <emphasis role="bold">NFVI | ||
584 | Config Archive Table</emphasis> will be shown.</para> | ||
464 | </listitem> | 585 | </listitem> |
465 | 586 | ||
466 | <listitem> | 587 | <listitem> |
467 | <para>Restart the Enea Edge Management service:</para> | 588 | <para>Select an existing backup from the NFVI Config Archive |
589 | Table.</para> | ||
590 | </listitem> | ||
468 | 591 | ||
469 | <programlisting>service ucpemanager restart</programlisting> | 592 | <listitem> |
593 | <para>Press the <emphasis role="bold">Delete</emphasis> | ||
594 | button.</para> | ||
470 | </listitem> | 595 | </listitem> |
471 | </orderedlist> | 596 | </orderedlist> |
597 | |||
598 | <para>A success message will be shown in the same window: <emphasis | ||
599 | role="bold">NFVI configuration backup deleted</emphasis>. The backup | ||
600 | file will be deleted from the uCPE device and the table will be | ||
601 | updated.</para> | ||
602 | </section> | ||
603 | </section> | ||
604 | |||
605 | <section id="mgmt_db_backup"> | ||
606 | <title>Database backup for the Enea Edge Management application</title> | ||
607 | |||
608 | <para>The following handles advanced configuration for a database backup. | ||
609 | A backup can be used to restore the database in case of corruption.</para> | ||
610 | |||
611 | <section id="db_backup_once"> | ||
612 | <title>One-time backup of the database</title> | ||
613 | |||
614 | <para>The following steps are used to perform a database backup from the | ||
615 | Enea Edge Management application:</para> | ||
616 | |||
617 | <orderedlist> | ||
618 | <listitem> | ||
619 | <para>In the <emphasis role="bold">System Backup</emphasis> window, | ||
620 | select the <emphasis role="bold">Backups</emphasis> tab.</para> | ||
621 | </listitem> | ||
622 | |||
623 | <listitem> | ||
624 | <para>Press the <emphasis role="bold">Backup Now</emphasis> button | ||
625 | in the <emphasis role="bold">Backups</emphasis> tab.</para> | ||
626 | </listitem> | ||
627 | |||
628 | <listitem> | ||
629 | <para>In the new window select the <emphasis role="bold">Database | ||
630 | Export</emphasis> option from the <emphasis role="bold">Backup | ||
631 | Type</emphasis> drop-down.</para> | ||
632 | </listitem> | ||
633 | |||
634 | <listitem> | ||
635 | <para>Set the <emphasis role="bold">Execution</emphasis> option to | ||
636 | <emphasis role="bold">Now</emphasis>.</para> | ||
637 | </listitem> | ||
638 | |||
639 | <listitem> | ||
640 | <para>Press the <emphasis role="bold">Execute</emphasis> button and | ||
641 | wait until the Status message shows: <emphasis role="bold">System | ||
642 | Backup Completed</emphasis>.</para> | ||
643 | </listitem> | ||
644 | </orderedlist> | ||
645 | |||
646 | <para>Once the backup is successfully executed it will be visible in the | ||
647 | <emphasis role="bold">System Backup</emphasis> window with a name that | ||
648 | respects the following format: | ||
649 | <literal>DatabaseExport_[date]_[timestamp].zip</literal>.</para> | ||
650 | </section> | ||
651 | |||
652 | <section id="db_backup_restore"> | ||
653 | <title>Restoring the database from a backup</title> | ||
654 | |||
655 | <para>The following steps are used to perform a database restore from | ||
656 | the Enea Edge Management application:</para> | ||
657 | |||
658 | <orderedlist> | ||
659 | <listitem> | ||
660 | <para>In the <emphasis role="bold">System Backup</emphasis> window, | ||
661 | select the <emphasis role="bold">Backups</emphasis> tab.</para> | ||
662 | </listitem> | ||
663 | |||
664 | <listitem> | ||
665 | <para>Select the backup you want to restore from the list.</para> | ||
666 | |||
667 | <note> | ||
668 | <para>Database backups follow the naming convention: | ||
669 | <literal>DatabaseExport_[date]_[timestamp].zip</literal>.</para> | ||
670 | </note> | ||
671 | </listitem> | ||
672 | |||
673 | <listitem> | ||
674 | <para>Click the <emphasis role="bold">Restore</emphasis> | ||
675 | button.</para> | ||
676 | </listitem> | ||
677 | |||
678 | <listitem> | ||
679 | <para>In the window that appears, click <emphasis | ||
680 | role="bold">OK</emphasis> to proceed with the restore | ||
681 | operation.</para> | ||
682 | </listitem> | ||
683 | |||
684 | <listitem> | ||
685 | <para>Follow the instructions in the pop-up window to restart the | ||
686 | server using the CentOS 7 command:</para> | ||
687 | |||
688 | <programlisting>sudo systemctl restart ucpemanager.service</programlisting> | ||
689 | </listitem> | ||
690 | </orderedlist> | ||
691 | </section> | ||
692 | |||
693 | <section id="db_scheduled_backup"> | ||
694 | <title>Scheduled backup of the database</title> | ||
695 | |||
696 | <para>The following steps are used to perform a scheduled database | ||
697 | backup from the Enea Edge Management application:</para> | ||
698 | |||
699 | <orderedlist> | ||
700 | <listitem> | ||
701 | <para>In the <emphasis role="bold">System Backup</emphasis> window, | ||
702 | select the <emphasis role="bold">Backups</emphasis> tab.</para> | ||
703 | </listitem> | ||
704 | |||
705 | <listitem> | ||
706 | <para>Press the <emphasis role="bold">Backup Now</emphasis> button | ||
707 | in the <emphasis role="bold">Backups</emphasis> tab.</para> | ||
708 | </listitem> | ||
709 | |||
710 | <listitem> | ||
711 | <para>In the new window select the <emphasis role="bold">Database | ||
712 | Export</emphasis> option from the <emphasis role="bold">Backup | ||
713 | Type</emphasis> drop-down.</para> | ||
714 | </listitem> | ||
715 | |||
716 | <listitem> | ||
717 | <para>Set the <emphasis role="bold">Execution</emphasis> option to | ||
718 | <emphasis role="bold">Scheduled</emphasis>.</para> | ||
719 | </listitem> | ||
720 | |||
721 | <listitem> | ||
722 | <para>Fill in the <emphasis role="bold">Description</emphasis> | ||
723 | field.</para> | ||
724 | </listitem> | ||
725 | |||
726 | <listitem> | ||
727 | <para>Set the <emphasis role="bold">Begin Date</emphasis>.</para> | ||
728 | </listitem> | ||
729 | |||
730 | <listitem> | ||
731 | <para>Fill in the non-mandatory fields accordingly.</para> | ||
732 | |||
733 | <note> | ||
734 | <para>The <emphasis role="bold">End Date</emphasis> field becomes | ||
735 | available once the <emphasis role="bold">Periodicity</emphasis> | ||
736 | option is set to something other than <emphasis | ||
737 | role="bold">Once</emphasis>.</para> | ||
738 | </note> | ||
739 | </listitem> | ||
740 | |||
741 | <listitem> | ||
742 | <para>Click the <emphasis role="bold">Schedule</emphasis> button to | ||
743 | schedule the backup.</para> | ||
744 | </listitem> | ||
745 | </orderedlist> | ||
746 | |||
747 | <figure> | ||
748 | <title>Scheduled Backup Configuration Example</title> | ||
749 | |||
750 | <mediaobject> | ||
751 | <imageobject> | ||
752 | <imagedata align="center" contentwidth="615" | ||
753 | fileref="images/scheduled_backup.png" /> | ||
754 | </imageobject> | ||
755 | </mediaobject> | ||
756 | </figure> | ||
757 | |||
758 | <para>The backups created will be visible in the <emphasis | ||
759 | role="bold">System Backup</emphasis> window with a name following the | ||
760 | format: <literal>DatabaseExport_[date]_[timestamp].zip</literal>.</para> | ||
761 | </section> | ||
472 | </section> | 762 | </section> |
473 | 763 | ||
474 | <section condition="hidden" id="high_availability_ig"> | 764 | <section condition="hidden" id="high_availability_ig"> |
@@ -476,7 +766,7 @@ node0.1048576kB = 3 </programlisting> | |||
476 | Availability Mode</title> | 766 | Availability Mode</title> |
477 | 767 | ||
478 | <para>The following describes the setup needed for running the Enea Edge | 768 | <para>The following describes the setup needed for running the Enea Edge |
479 | Management application in High Availabilty (HA) mode, with a MariaDB | 769 | Management application in High Availability (HA) mode, with a MariaDB |
480 | database cluster. A setup example is illustrated in the diagram | 770 | database cluster. A setup example is illustrated in the diagram |
481 | below.</para> | 771 | below.</para> |
482 | 772 | ||
@@ -500,7 +790,7 @@ node0.1048576kB = 3 </programlisting> | |||
500 | single Virtual IP (VIP). The cluster can be reached either from the | 790 | single Virtual IP (VIP). The cluster can be reached either from the |
501 | primary server IP or via VIP (recommended), since the VIP interface is | 791 | primary server IP or via VIP (recommended), since the VIP interface is |
502 | spawned on the primary server. In case of a primary failure, a newly | 792 | spawned on the primary server. In case of a primary failure, a newly |
503 | elected primary (from one of the backups) will respawn the VIP interface. | 793 | elected primary (from one of the backups) will re-spawn the VIP interface. |
504 | The firewall in this scenario will allocate a public IP for the outside | 794 | The firewall in this scenario will allocate a public IP for the outside |
505 | world that will be translated into the VIP. Also in this example, the | 795 | world that will be translated into the VIP. Also in this example, the |
506 | traffic towards the cluster from outside the firewall is done through | 796 | traffic towards the cluster from outside the firewall is done through |
@@ -519,8 +809,8 @@ node0.1048576kB = 3 </programlisting> | |||
519 | Limitations</emphasis></para> | 809 | Limitations</emphasis></para> |
520 | 810 | ||
521 | <para>Enea's solution for Edge Management High-Availability is designed to | 811 | <para>Enea's solution for Edge Management High-Availability is designed to |
522 | maximize resiliency of the management function. However, the current design | 812 | maximize resiliency of the management function. However, the current |
523 | does not provide guaranteed consistency across all Enea Edge | 813 | design does not provide guaranteed consistency across all Enea Edge |
524 | Management instances, i.e. some information might become out-of-sync in | 814 | Management instances, i.e. some information might become out-of-sync in |
525 | certain conditions.</para> | 815 | certain conditions.</para> |
526 | 816 | ||
@@ -540,7 +830,7 @@ node0.1048576kB = 3 </programlisting> | |||
540 | and filesystem have been synchronized. If a Backup instance becomes the | 830 | and filesystem have been synchronized. If a Backup instance becomes the |
541 | active one before synchronization takes place, this would result in an | 831 | active one before synchronization takes place, this would result in an |
542 | out-of-sync state.</para> | 832 | out-of-sync state.</para> |
543 | 833 | ||
544 | <section id="ha_reqs"> | 834 | <section id="ha_reqs"> |
545 | <title>Requirements for High Availability</title> | 835 | <title>Requirements for High Availability</title> |
546 | 836 | ||
@@ -840,7 +1130,7 @@ galera-4-26.4.6-1.el7.centos.x86_64</programlisting> | |||
840 | #wsrep_provider_options= | 1130 | #wsrep_provider_options= |
841 | 1131 | ||
842 | # Logical cluster name. Should be the same for all nodes. | 1132 | # Logical cluster name. Should be the same for all nodes. |
843 | <emphasis role="bold">wsrep_cluster_name="ucpemanager"</emphasis> | 1133 | <emphasis role="bold">wsrep_cluster_name="EneaEdgeManagement"</emphasis> |
844 | 1134 | ||
845 | # Group communication system handle | 1135 | # Group communication system handle |
846 | <emphasis role="bold">wsrep_cluster_address="gcomm://192.168.10.11,192.168.10.12,..,192.168.10.16"</emphasis> | 1136 | <emphasis role="bold">wsrep_cluster_address="gcomm://192.168.10.11,192.168.10.12,..,192.168.10.16"</emphasis> |
@@ -945,11 +1235,11 @@ Thanks for using MariaDB!</programlisting> | |||
945 | <para>Create the initial database and grant access to it:</para> | 1235 | <para>Create the initial database and grant access to it:</para> |
946 | 1236 | ||
947 | <programlisting>[root@localhost application]# mysql --host=localhost --user=root -p | 1237 | <programlisting>[root@localhost application]# mysql --host=localhost --user=root -p |
948 | MariaDB [(none)]> CREATE DATABASE ucpemanager CHARACTER SET='utf8' \ | 1238 | MariaDB [(none)]> CREATE DATABASE EneaEdgeManagement CHARACTER SET='utf8' \ |
949 | COLLATE='utf8_bin'; | 1239 | COLLATE='utf8_bin'; |
950 | Query OK, 1 row affected (0.004 sec) | 1240 | Query OK, 1 row affected (0.004 sec) |
951 | 1241 | ||
952 | MariaDB [(none)]> GRANT ALL PRIVILEGES ON ucpemanager.* \ | 1242 | MariaDB [(none)]> GRANT ALL PRIVILEGES ON EneaEdgeManagement.* \ |
953 | TO 'enea'@'%' IDENTIFIED BY 'somepassword' WITH GRANT OPTION;</programlisting> | 1243 | TO 'enea'@'%' IDENTIFIED BY 'somepassword' WITH GRANT OPTION;</programlisting> |
954 | </listitem> | 1244 | </listitem> |
955 | </orderedlist> | 1245 | </orderedlist> |
@@ -978,7 +1268,7 @@ TO 'enea'@'%' IDENTIFIED BY 'somepassword' WITH GRANT OPTION;</programlisting> | |||
978 | 1268 | ||
979 | <section id="ha_ucpe_mg"> | 1269 | <section id="ha_ucpe_mg"> |
980 | <title>Installing the Enea Edge Management application in High | 1270 | <title>Installing the Enea Edge Management application in High |
981 | Availabilty mode</title> | 1271 | Availability mode</title> |
982 | 1272 | ||
983 | <para>These steps must be taken on each of the CentOS 7 machines that | 1273 | <para>These steps must be taken on each of the CentOS 7 machines that |
984 | will host the Enea Edge Management application. It will be installed | 1274 | will host the Enea Edge Management application. It will be installed |
@@ -989,7 +1279,7 @@ TO 'enea'@'%' IDENTIFIED BY 'somepassword' WITH GRANT OPTION;</programlisting> | |||
989 | Management application, and run:</para> | 1279 | Management application, and run:</para> |
990 | 1280 | ||
991 | <programlisting>[root@localhost distro]#./install.sh /opt/ \ | 1281 | <programlisting>[root@localhost distro]#./install.sh /opt/ \ |
992 | Enea_NFV_Access_uCPEManager_2.3.0-build23.tar.gz | 1282 | Enea_Edge_Management_<version>-build<build_number>.tar.gz |
993 | This will install the Enea Edge Management application into the /opt/ucpemanager folder. | 1283 | This will install the Enea Edge Management application into the /opt/ucpemanager folder. |
994 | Select the following options, while asked by the installation script: | 1284 | Select the following options, while asked by the installation script: |
995 | Are you using the embedded PostgreSQL database? [Y/N]: <emphasis role="bold">N</emphasis> | 1285 | Are you using the embedded PostgreSQL database? [Y/N]: <emphasis role="bold">N</emphasis> |
@@ -1008,12 +1298,12 @@ Creating database configuration file \ | |||
1008 | Done . | 1298 | Done . |
1009 | … | 1299 | … |
1010 | Installing ucpemanager service .. | 1300 | Installing ucpemanager service .. |
1011 | Specify service username [ucpemanager]: | 1301 | Specify service username [EneaEdgeManagement]: |
1012 | Specify service password [ucpemanager]: somepassword | 1302 | Specify service password [EneaEdgeManagement]: somepassword |
1013 | … | 1303 | … |
1014 | Specify the IP address of the local interface: <emphasis role="bold">192.168.10.11</emphasis> | 1304 | Specify the IP address of the local interface: <emphasis role="bold">192.168.10.11</emphasis> |
1015 | Is this server part of a cluster? [Y/N]: <emphasis role="bold">Y</emphasis> | 1305 | Is this server part of a cluster? [Y/N]: <emphasis role="bold">Y</emphasis> |
1016 | Specify the name of the cluster [ucpemanager]: | 1306 | Specify the name of the cluster [EneaEdgeManagement]: |
1017 | Specify the shared (virtual) cluster IP address: <emphasis role="bold">192.168.10.10</emphasis> | 1307 | Specify the shared (virtual) cluster IP address: <emphasis role="bold">192.168.10.10</emphasis> |
1018 | Specify the netmask for the cluster IP address [255.255.255.0]: | 1308 | Specify the netmask for the cluster IP address [255.255.255.0]: |
1019 | Specify the IP address of the (optional) arbiter: <emphasis role="bold">192.168.10.13</emphasis> | 1309 | Specify the IP address of the (optional) arbiter: <emphasis role="bold">192.168.10.13</emphasis> |
@@ -1042,17 +1332,19 @@ Configuration complete.</programlisting> | |||
1042 | role="bold">System</emphasis> and select <emphasis role="bold">Cluster | 1332 | role="bold">System</emphasis> and select <emphasis role="bold">Cluster |
1043 | View</emphasis>. The list of Enea Edge Management servers should be | 1333 | View</emphasis>. The list of Enea Edge Management servers should be |
1044 | displayed, with one listed as Primary and the rest as Backup.</para> | 1334 | displayed, with one listed as Primary and the rest as Backup.</para> |
1045 | 1335 | ||
1046 | <note><para>To avoid split-brain (network-partitioning) scenarios, it is possible | 1336 | <note> |
1047 | for the user to specify an IP:port tuple for a system that acts as an | 1337 | <para>To avoid split-brain (network-partitioning) scenarios, it is |
1048 | Arbiter. In case both Primary and Backup servers cannot reach the Arbiter, | 1338 | possible for the user to specify an IP:port tuple for a system that |
1049 | there will be no Primary system to connect to and the management services | 1339 | acts as an Arbiter. In case both Primary and Backup servers cannot |
1050 | will be unavailable.</para> | 1340 | reach the Arbiter, there will be no Primary system to connect to and |
1051 | 1341 | the management services will be unavailable.</para> | |
1052 | <para>This can be manually remedied by either fixing the network situation | 1342 | |
1053 | that caused the partitioning or modifying Arbiter information in the | 1343 | <para>This can be manually remedied by either fixing the network |
1054 | configuration file on the server that the user decides should be the | 1344 | situation that caused the partitioning or modifying Arbiter |
1055 | (one and only) Primary server.</para></note> | 1345 | information in the configuration file on the server that the user |
1346 | decides should be the (one and only) Primary server.</para> | ||
1347 | </note> | ||
1056 | 1348 | ||
1057 | <para><remark>ELCCR-907</remark>At times the VIP address is not | 1349 | <para><remark>ELCCR-907</remark>At times the VIP address is not |
1058 | acquired by any of the backup nodes if a power failure happens on | 1350 | acquired by any of the backup nodes if a power failure happens on |
@@ -1070,7 +1362,7 @@ Configuration complete.</programlisting> | |||
1070 | <section id="ha_upgrade"> | 1362 | <section id="ha_upgrade"> |
1071 | <title>Upgrading a High Availability Deployment</title> | 1363 | <title>Upgrading a High Availability Deployment</title> |
1072 | 1364 | ||
1073 | <para>Upgrading a High Availabilty deployment is a highly complex, | 1365 | <para>Upgrading a High Availability deployment is a highly complex, |
1074 | multi-step process that requires care to ensure both consistency and | 1366 | multi-step process that requires care to ensure both consistency and |
1075 | high-availability. Some steps need to be done manually.</para> | 1367 | high-availability. Some steps need to be done manually.</para> |
1076 | 1368 | ||
@@ -1163,4 +1455,4 @@ Configuration complete.</programlisting> | |||
1163 | </orderedlist> | 1455 | </orderedlist> |
1164 | </section> | 1456 | </section> |
1165 | </section> | 1457 | </section> |
1166 | </chapter> | 1458 | </chapter> \ No newline at end of file |