diff options
| author | Toma Bilius <Toma.Bilius@enea.com> | 2021-02-22 11:22:00 +0100 |
|---|---|---|
| committer | Miruna Paun <mrpa@enea.se> | 2021-02-22 15:12:44 +0100 |
| commit | f20e8d562ed44b99a6c1efbce42b76ffa736f7e5 (patch) | |
| tree | 5b808a8dbfbf7969de983bf7f21c2684c6b8b834 /doc | |
| parent | e93798a04d73585db0107ed47a15780f88a5e91f (diff) | |
| download | nfv-access-documentation-f20e8d562ed44b99a6c1efbce42b76ffa736f7e5.tar.gz | |
USERDOCAP-639 Update High Availability setup section
Change-Id: I8bb01b6232f08c795a109b5d801d8eed2ca79188
Signed-off-by: Toma Bilius <Toma.Bilius@enea.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/book-enea-nfv-access-getting-started/doc/advanced_configurations.xml | 222 | ||||
| -rw-r--r-- | doc/book-enea-nfv-access-getting-started/doc/images/high_av_setup.png | bin | 436204 -> 100018 bytes | |||
| -rw-r--r-- | doc/book-enea-nfv-access-getting-started/doc/upgrade_ena.xml | 10 |
3 files changed, 116 insertions, 116 deletions
diff --git a/doc/book-enea-nfv-access-getting-started/doc/advanced_configurations.xml b/doc/book-enea-nfv-access-getting-started/doc/advanced_configurations.xml index 74ff1dd..c85f30d 100644 --- a/doc/book-enea-nfv-access-getting-started/doc/advanced_configurations.xml +++ b/doc/book-enea-nfv-access-getting-started/doc/advanced_configurations.xml | |||
| @@ -425,8 +425,8 @@ node0.1048576kB = 3 </programlisting> | |||
| 425 | <title>Installing the Enea uCPE Manager in High Availability Mode</title> | 425 | <title>Installing the Enea uCPE Manager in High Availability Mode</title> |
| 426 | 426 | ||
| 427 | <para>The following describes the setup needed for running the Enea uCPE | 427 | <para>The following describes the setup needed for running the Enea uCPE |
| 428 | Manager in High Availabilty (HA) mode, with a MariaDB database cluster. | 428 | Manager in High Availabilty (HA) mode, with a MariaDB database cluster. A |
| 429 | The desired setup is depicted in the following diagram:</para> | 429 | setup example is illustrated in the diagram below.</para> |
| 430 | 430 | ||
| 431 | <figure> | 431 | <figure> |
| 432 | <title>The High Availability setup</title> | 432 | <title>The High Availability setup</title> |
| @@ -439,10 +439,32 @@ node0.1048576kB = 3 </programlisting> | |||
| 439 | </mediaobject> | 439 | </mediaobject> |
| 440 | </figure> | 440 | </figure> |
| 441 | 441 | ||
| 442 | <para>The setup consists of two sub-clusters, placed in different | ||
| 443 | geographical locations. Each sub-cluster contains three MariaDB servers, | ||
| 444 | thus avoiding the split-brain problem. In this example, two of the | ||
| 445 | machines are running only MariaDB, while the rest are hosting a MariaDB | ||
| 446 | server and an Enea uCPE Manager instance. The entire network is hidden behind a | ||
| 447 | firewall that performs NAT. While in protection (cluster) mode, the | ||
| 448 | Enea uCPE Manager instances promote a Virtual IP (VIP) that represents the IP address of the | ||
| 449 | entire cluster. The firewall in this case will allocate a public IP for | ||
| 450 | the outside world that will be translated into the VIP. Also in this | ||
| 451 | example, the traffic towards the cluster from outside the firewall is done | ||
| 452 | through HTTPS, which will be translated to HTTP inside the private | ||
| 453 | network.</para> | ||
| 454 | |||
| 455 | <note> | ||
| 456 | <para>By default, communication to the Enea uCPE Manager is done with HTTPS. | ||
| 457 | To enable HTTP, go to <emphasis role="bold">System</emphasis>, <emphasis | ||
| 458 | role="bold">Configuration</emphasis>, click on the <emphasis | ||
| 459 | role="bold">Web Access</emphasis> tab and check the <emphasis | ||
| 460 | role="bold">Enable HTTP</emphasis> checkbox.</para> | ||
| 461 | </note> | ||
| 462 | |||
| 442 | <section id="ha_reqs"> | 463 | <section id="ha_reqs"> |
| 443 | <title>Requirements for High Availability</title> | 464 | <title>Requirements for High Availability</title> |
| 444 | 465 | ||
| 445 | <para>The following hardware is needed for deploying the base configuration:</para> | 466 | <para>The following hardware is needed for deploying the base |
| 467 | configuration:</para> | ||
| 446 | 468 | ||
| 447 | <itemizedlist> | 469 | <itemizedlist> |
| 448 | <listitem> | 470 | <listitem> |
| @@ -480,39 +502,19 @@ node0.1048576kB = 3 </programlisting> | |||
| 480 | </listitem> | 502 | </listitem> |
| 481 | </itemizedlist> | 503 | </itemizedlist> |
| 482 | </listitem> | 504 | </listitem> |
| 483 | |||
| 484 | <listitem> | ||
| 485 | <para>The Enea uCPE Manager machines should run CentOS 7, this is | ||
| 486 | the only currently supported version.</para> | ||
| 487 | </listitem> | ||
| 488 | |||
| 489 | <listitem> | ||
| 490 | <para>All machines should be on the same subnet. For geographically | ||
| 491 | distributed servers, a VPN can be used.</para> | ||
| 492 | </listitem> | ||
| 493 | |||
| 494 | <listitem> | ||
| 495 | <para>All VCPE devices will typically connect to the external IP | ||
| 496 | (WAN) address (exported by the Big-IP firewall).</para> | ||
| 497 | </listitem> | ||
| 498 | |||
| 499 | <listitem> | ||
| 500 | <para>WAN traffic will be HTTPS, whereas internal communication will | ||
| 501 | be through HTTP.</para> | ||
| 502 | </listitem> | ||
| 503 | |||
| 504 | <listitem> | ||
| 505 | <para>External clients (browsers using the GUI as well as clients | ||
| 506 | using the REST API) will connect to the external (WAN) | ||
| 507 | address.</para> | ||
| 508 | </listitem> | ||
| 509 | </itemizedlist> | 505 | </itemizedlist> |
| 510 | </section> | 506 | </section> |
| 511 | 507 | ||
| 512 | <section id="firewall_rules"> | 508 | <section id="firewall_rules"> |
| 513 | <title>Firewall Rules</title> | 509 | <title>Firewall Rules</title> |
| 514 | 510 | ||
| 515 | <para>The following firewall configuration is needed:</para> | 511 | <para>Please refer to <olink |
| 512 | targetdoc="book_enea_nfv_access_getting_started" | ||
| 513 | targetptr="firewall_config">Firewall Configuration in the | ||
| 514 | <ns:include href="../../s_docbuild/olinkdb/pardoc-names.xml" | ||
| 515 | xmlns:ns="http://www.w3.org/2001/XInclude" | ||
| 516 | xpointer="element(book_enea_nfv_access_getting_started/1)" /></olink> Manual. | ||
| 517 | In addition, the following configuration is needed:</para> | ||
| 516 | 518 | ||
| 517 | <orderedlist> | 519 | <orderedlist> |
| 518 | <listitem> | 520 | <listitem> |
| @@ -532,8 +534,8 @@ SELINUXTYPE=targeted</programlisting> | |||
| 532 | </orderedlist> | 534 | </orderedlist> |
| 533 | 535 | ||
| 534 | <para>The following ports should be opened in the local firewall (not | 536 | <para>The following ports should be opened in the local firewall (not |
| 535 | Big-IP), for each Enea uCPE Manager machine:</para> | 537 | the one doing NAT), for each Enea uCPE Manager machine:</para> |
| 536 | 538 | ||
| 537 | <table> | 539 | <table> |
| 538 | <title>Ports for Enea uCPE Manager Machines</title> | 540 | <title>Ports for Enea uCPE Manager Machines</title> |
| 539 | 541 | ||
| @@ -552,7 +554,7 @@ SELINUXTYPE=targeted</programlisting> | |||
| 552 | <row> | 554 | <row> |
| 553 | <entry>80 (TCP)</entry> | 555 | <entry>80 (TCP)</entry> |
| 554 | 556 | ||
| 555 | <entry>HTTP (used by Big-IP firewall)</entry> | 557 | <entry>HTTP</entry> |
| 556 | </row> | 558 | </row> |
| 557 | 559 | ||
| 558 | <row> | 560 | <row> |
| @@ -588,7 +590,8 @@ SELINUXTYPE=targeted</programlisting> | |||
| 588 | </tgroup> | 590 | </tgroup> |
| 589 | </table> | 591 | </table> |
| 590 | 592 | ||
| 591 | <para>For each MariaDB machine, the following firewall configuration is needed:</para> | 593 | <para>For MariaDB, the following ports must be opened (on each MariaDB |
| 594 | server, including the ones hosting the Enea uCPE Manager):</para> | ||
| 592 | 595 | ||
| 593 | <table> | 596 | <table> |
| 594 | <title>Ports for MariaDB Machines</title> | 597 | <title>Ports for MariaDB Machines</title> |
| @@ -633,7 +636,7 @@ SELINUXTYPE=targeted</programlisting> | |||
| 633 | </table> | 636 | </table> |
| 634 | 637 | ||
| 635 | <para>The following ports should be accessible externally and translated | 638 | <para>The following ports should be accessible externally and translated |
| 636 | to the Virtual IP side as shown below (by the Big-IP firewall):</para> | 639 | to the Virtual IP side as shown below:</para> |
| 637 | 640 | ||
| 638 | <table> | 641 | <table> |
| 639 | <title>Ports for Virtual IP</title> | 642 | <title>Ports for Virtual IP</title> |
| @@ -683,9 +686,9 @@ SELINUXTYPE=targeted</programlisting> | |||
| 683 | <section id="ha_installation"> | 686 | <section id="ha_installation"> |
| 684 | <title>Installing High Availability</title> | 687 | <title>Installing High Availability</title> |
| 685 | 688 | ||
| 686 | <para>The Enea uCPE Manager can be installed in High Availability mode with | 689 | <para>The Enea uCPE Manager can be installed in High Availability mode |
| 687 | a MariaDB database cluster by performing the following steps. The mandatory | 690 | with a MariaDB database cluster by performing the following steps. The |
| 688 | Java configuration is also detailed.</para> | 691 | mandatory Java configuration is also detailed.</para> |
| 689 | 692 | ||
| 690 | <section id="ha_mariadb"> | 693 | <section id="ha_mariadb"> |
| 691 | <title>Installing and configuring the MariaDB cluster</title> | 694 | <title>Installing and configuring the MariaDB cluster</title> |
| @@ -701,6 +704,27 @@ SELINUXTYPE=targeted</programlisting> | |||
| 701 | 704 | ||
| 702 | <orderedlist> | 705 | <orderedlist> |
| 703 | <listitem> | 706 | <listitem> |
| 707 | <para>Install the MariaDB official yum repository. Create a file | ||
| 708 | named <literal>mariadb.repo</literal> in | ||
| 709 | <literal>/etc/yum.repos.d/</literal> with the following | ||
| 710 | content:<programlisting># MariaDB 10.5 CentOS repository list - created 2021-02-16 08:46 UTC | ||
| 711 | # http://downloads.mariadb.org/mariadb/repositories/ | ||
| 712 | [mariadb] | ||
| 713 | name = MariaDB | ||
| 714 | baseurl = http://yum.mariadb.org/10.5/centos7-amd64 | ||
| 715 | gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB | ||
| 716 | gpgcheck=1 | ||
| 717 | </programlisting></para> | ||
| 718 | |||
| 719 | <note> | ||
| 720 | <para>For more information about setting the repository, | ||
| 721 | consult <ulink | ||
| 722 | url="https://downloads.mariadb.org/mariadb/repositories/#mirror=nxtHost">Downloads | ||
| 723 | - Setting up MariaDB Repositories</ulink>.</para> | ||
| 724 | </note> | ||
| 725 | </listitem> | ||
| 726 | |||
| 727 | <listitem> | ||
| 704 | <para>Make sure the following packages are installed:</para> | 728 | <para>Make sure the following packages are installed:</para> |
| 705 | 729 | ||
| 706 | <programlisting>MariaDB-compat-10.5.8-1.el7.centos.x86_64 | 730 | <programlisting>MariaDB-compat-10.5.8-1.el7.centos.x86_64 |
| @@ -716,43 +740,43 @@ galera-4-26.4.6-1.el7.centos.x86_64</programlisting> | |||
| 716 | <listitem> | 740 | <listitem> |
| 717 | <para>Copy the <literal>wsrep</literal> template:</para> | 741 | <para>Copy the <literal>wsrep</literal> template:</para> |
| 718 | 742 | ||
| 719 | <programlisting>[root@localhost ~]# cp /usr/share/mysql/wsrep.cnf /etc/my.cnf.d</programlisting> | 743 | <programlisting>[root@localhost ~]# cp /usr/share/mysql/wsrep.cnf /etc/my.cnf.d |
| 744 | </programlisting> | ||
| 720 | </listitem> | 745 | </listitem> |
| 721 | 746 | ||
| 722 | <listitem> | 747 | <listitem> |
| 723 | <para>Change the following configuration:</para> | 748 | <para>Change the following configuration in |
| 749 | <filename>/etc/my.cnf.d/wsrep.cnf</filename>:</para> | ||
| 724 | 750 | ||
| 725 | <programlisting># Full path to wsrep provider library or 'none' | 751 | <programlisting># Full path to wsrep provider library or 'none' |
| 726 | wsrep_provider=/usr/lib64/galera-4/libgalera_smm.so | 752 | <emphasis role="bold">wsrep_provider=/usr/lib64/galera-4/libgalera_smm.so</emphasis> |
| 727 | 753 | ||
| 728 | # Provider specific configuration options | 754 | # Provider specific configuration options |
| 729 | #wsrep_provider_options= | 755 | #wsrep_provider_options= |
| 730 | 756 | ||
| 731 | # Logical cluster name. Should be the same for all nodes. | 757 | # Logical cluster name. Should be the same for all nodes. |
| 732 | wsrep_cluster_name="ucpemanager" | 758 | <emphasis role="bold">wsrep_cluster_name="ucpemanager"</emphasis> |
| 733 | 759 | ||
| 734 | # Group communication system handle | 760 | # Group communication system handle |
| 735 | wsrep_cluster_address="gcomm://192.168.10.11,192.168.10.12,..,192.168.10.16" | 761 | <emphasis role="bold">wsrep_cluster_address="gcomm://192.168.10.11,192.168.10.12,..,192.168.10.16"</emphasis> |
| 736 | 762 | ||
| 737 | # Human-readable node name (non-unique). Hostname by default. | 763 | # Human-readable node name (non-unique). Hostname by default. |
| 738 | wsrep_node_name=Node1 | 764 | <emphasis role="bold">wsrep_node_name=Node1</emphasis> # current node's name. set node name for each server in the cluster |
| 739 | # current node's name. set node name for each server in the cluster | ||
| 740 | 765 | ||
| 741 | # Base replication <address|hostname>[:port] of the node. | 766 | # Base replication <address|hostname>[:port] of the node. |
| 742 | # The values supplied will be used as defaults for state transfer receiving, | 767 | # The values supplied will be used as defaults for state transfer receiving, |
| 743 | # listening ports and so on. Default: address of the first network interface. | 768 | # listening ports and so on. Default: address of the first network interface. |
| 744 | wsrep_node_address=192.168.10.11 | 769 | <emphasis role="bold">wsrep_node_address=192.168.10.11</emphasis> #current node's interface IP . must be set for each node in the cluster</programlisting> |
| 745 | #current node's interface IP . must be set for each node in the cluster</programlisting> | ||
| 746 | 770 | ||
| 747 | <note> | 771 | <note> |
| 748 | <para>Steps 2 and 3 must be performed for each MariaDB node in | 772 | <para>Steps 2, 3 and 4 must be performed for each MariaDB node |
| 749 | the cluster.</para> | 773 | in the cluster.</para> |
| 750 | </note> | 774 | </note> |
| 751 | </listitem> | 775 | </listitem> |
| 752 | 776 | ||
| 753 | <listitem> | 777 | <listitem> |
| 754 | <para>Bootstrap the first node in the cluster (identified by | 778 | <para>Bootstrap the first node in the cluster (referred to as |
| 755 | <literal>Node1</literal> for example), by running:</para> | 779 | <literal>Node1</literal> in this example), by running:</para> |
| 756 | 780 | ||
| 757 | <programlisting>[root@localhost ~]# galera_new_cluster</programlisting> | 781 | <programlisting>[root@localhost ~]# galera_new_cluster</programlisting> |
| 758 | 782 | ||
| @@ -796,30 +820,30 @@ MariaDB [(none)]> show status like 'wsrep_cluster_conf_%'; | |||
| 796 | 820 | ||
| 797 | <programlisting>[root@localhost ~]# mysql_secure_installation | 821 | <programlisting>[root@localhost ~]# mysql_secure_installation |
| 798 | 822 | ||
| 799 | Switch to unix_socket authentication [Y/n] Y | 823 | Switch to unix_socket authentication [Y/n] <emphasis role="bold">Y</emphasis> |
| 800 | Enabled successfully! | 824 | Enabled successfully! |
| 801 | Reloading privilege tables.. | 825 | Reloading privilege tables.. |
| 802 | ... Success! | 826 | ... Success! |
| 803 | … | 827 | … |
| 804 | Change the root password? [Y/n] Y | 828 | Change the root password? [Y/n] <emphasis role="bold">Y</emphasis> |
| 805 | New password: | 829 | New password: |
| 806 | Re-enter new password: | 830 | Re-enter new password: |
| 807 | Password updated successfully! | 831 | Password updated successfully! |
| 808 | Reloading privilege tables.. | 832 | Reloading privilege tables.. |
| 809 | ... Success! | 833 | ... Success! |
| 810 | … | 834 | … |
| 811 | Remove anonymous users? [Y/n] Y | 835 | Remove anonymous users? [Y/n] <emphasis role="bold">Y</emphasis> |
| 812 | ... Success! | 836 | ... Success! |
| 813 | … | 837 | … |
| 814 | Disallow root login remotely? [Y/n] Y | 838 | Disallow root login remotely? [Y/n] <emphasis role="bold">Y</emphasis> |
| 815 | ... Success! | 839 | ... Success! |
| 816 | … | 840 | … |
| 817 | Remove test database and access to it? [Y/n] Y (optional) | 841 | Remove test database and access to it? [Y/n] <emphasis role="bold">Y (optional)</emphasis> |
| 818 | - Dropping test database... | 842 | - Dropping test database... |
| 819 | ... Success! | 843 | ... Success! |
| 820 | - Removing privileges on test database... | 844 | - Removing privileges on test database... |
| 821 | ... Success! | 845 | ... Success! |
| 822 | Reload privilege tables now? [Y/n] Y | 846 | Reload privilege tables now? [Y/n] <emphasis role="bold">Y</emphasis> |
| 823 | ... Success! | 847 | ... Success! |
| 824 | 848 | ||
| 825 | Cleaning up... | 849 | Cleaning up... |
| @@ -847,54 +871,21 @@ TO 'enea'@'%' IDENTIFIED BY 'somepassword' WITH GRANT OPTION;</programlisting> | |||
| 847 | <section id="ha_java_sdk_install"> | 871 | <section id="ha_java_sdk_install"> |
| 848 | <title>Installing the Java SDK</title> | 872 | <title>Installing the Java SDK</title> |
| 849 | 873 | ||
| 850 | <para>The following steps describe the installation of Java 11 SDK on | 874 | <para>Please refer to <olink |
| 851 | the CentOS 7 machines that will run the Enea uCPE Manager | 875 | targetdoc="book_enea_nfv_access_getting_started" |
| 852 | installation:</para> | 876 | targetptr="openjdk_postgresql_config">Configuring OpenJDK and |
| 853 | 877 | PostgreSQL in the <ns:include | |
| 854 | <orderedlist> | 878 | href="../../s_docbuild/olinkdb/pardoc-names.xml" |
| 855 | <listitem> | 879 | xmlns:ns="http://www.w3.org/2001/XInclude" |
| 856 | <para>Install the following packages:</para> | 880 | xpointer="element(book_enea_nfv_access_getting_started/1)" /></olink> |
| 857 | 881 | Manual, for details on how to install and configure Java OpenJDK.</para> | |
| 858 | <programlisting>java-11-openjdk-devel-11.0.10.0.9-0.el7_9.x86_64 | 882 | |
| 859 | java-11-openjdk-11.0.10.0.9-0.el7_9.x86_64</programlisting> | 883 | <para>Make sure the <literal>JAVA_HOME</literal> variable points to the |
| 860 | </listitem> | 884 | OpenJDK 11 installation:</para> |
| 861 | 885 | ||
| 862 | <listitem> | 886 | <programlisting>[root@localhost ~]# echo $JAVA_HOME |
| 863 | <para>Check that java points to the current JRE:</para> | 887 | /usr/lib/jvm/java-11-openjdk-11.0.10.0.9-0.el7_9.x86_64 |
| 864 | 888 | </programlisting> | |
| 865 | <programlisting>root@localhost ~]# java -version | ||
| 866 | openjdk version "11.0.10" 2021-01-19 LTS | ||
| 867 | OpenJDK Runtime Environment 18.9 (build 11.0.10+9-LTS) | ||
| 868 | OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9-LTS, mixed mode, sharing)</programlisting> | ||
| 869 | |||
| 870 | <para>If it doesn't, then check the alternatives, and make sure | ||
| 871 | that java points to the JDK11 installation:</para> | ||
| 872 | |||
| 873 | <programlisting>[root@localhost ~]# alternatives --config java</programlisting> | ||
| 874 | </listitem> | ||
| 875 | |||
| 876 | <listitem> | ||
| 877 | <para>Set the <literal>JAVA_HOME</literal> environment variable | ||
| 878 | and update paths:</para> | ||
| 879 | |||
| 880 | <programlisting>export JAVA_HOME=$(dirname $(dirname $(readlink $(readlink $(which javac))))) | ||
| 881 | export PATH=$PATH:$JAVA_HOME/bin | ||
| 882 | export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar</programlisting> | ||
| 883 | |||
| 884 | <para>As an alternative, the variables can be written into the | ||
| 885 | <filename>.bashrc</filename> file, so that they load every time a | ||
| 886 | console is opened. To enable these settings for all users, add the | ||
| 887 | variables to <literal>/etc/environment</literal>.</para> | ||
| 888 | </listitem> | ||
| 889 | |||
| 890 | <listitem> | ||
| 891 | <para>The <literal>JAVA_HOME</literal> variable should point | ||
| 892 | to:</para> | ||
| 893 | |||
| 894 | <programlisting>[root@localhost ~]# echo $JAVA_HOME | ||
| 895 | /usr/lib/jvm/java-11-openjdk-11.0.10.0.9-0.el7_9.x86_64</programlisting> | ||
| 896 | </listitem> | ||
| 897 | </orderedlist> | ||
| 898 | </section> | 889 | </section> |
| 899 | 890 | ||
| 900 | <section id="ha_ucpe_mg"> | 891 | <section id="ha_ucpe_mg"> |
| @@ -902,7 +893,8 @@ export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar</p | |||
| 902 | mode</title> | 893 | mode</title> |
| 903 | 894 | ||
| 904 | <para>These steps must be taken on each of the CentOS 7 machines that | 895 | <para>These steps must be taken on each of the CentOS 7 machines that |
| 905 | will host the Enea uCPE Manager.</para> | 896 | will host the Enea uCPE Manager. The Enea uCPE Manager will be installed |
| 897 | and the setup for the external database cluster will be prepared.</para> | ||
| 906 | 898 | ||
| 907 | <para>As the root user, go to the distribution folder of the Enea uCPE | 899 | <para>As the root user, go to the distribution folder of the Enea uCPE |
| 908 | Manager, and run:</para> | 900 | Manager, and run:</para> |
| @@ -911,12 +903,12 @@ export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar</p | |||
| 911 | Enea_NFV_Access_uCPEManager_2.3.0-build23.tar.gz | 903 | Enea_NFV_Access_uCPEManager_2.3.0-build23.tar.gz |
| 912 | This will install uCPEManager into /opt/ucpemanager folder. | 904 | This will install uCPEManager into /opt/ucpemanager folder. |
| 913 | Select the following options, while asked by the installation script: | 905 | Select the following options, while asked by the installation script: |
| 914 | Are you using the embedded PostgreSQL database? [Y/N]: N | 906 | Are you using the embedded PostgreSQL database? [Y/N]: <emphasis role="bold">N</emphasis> |
| 915 | External database selected, getting user information ... | 907 | External database selected, getting user information ... |
| 916 | Press 1 for PostgreSQL, 2 for MariaDB, 3 for SQL Server, 4 for Oracle and 5 \ | 908 | Press 1 for PostgreSQL, 2 for MariaDB, 3 for SQL Server, 4 for Oracle and 5 \ |
| 917 | for MySQL: 2 | 909 | for MySQL: <emphasis role="bold">2</emphasis> |
| 918 | Specify database server name(s) or IP Address(es): \ | 910 | Specify database server name(s) or IP Address(es): \ |
| 919 | 192.168.10.11,192.168.10.12,…,192.168.10.16 *(see note) | 911 | <emphasis role="bold">192.168.10.11,192.168.10.12,…,192.168.10.16 *(see note)</emphasis> |
| 920 | Specify database ID (or name) [ucpemanager]: | 912 | Specify database ID (or name) [ucpemanager]: |
| 921 | Specify database server port [3306]: | 913 | Specify database server port [3306]: |
| 922 | Specify database user name [root]: enea | 914 | Specify database user name [root]: enea |
| @@ -930,10 +922,10 @@ Installing ucpemanager service .. | |||
| 930 | Specify service username [ucpemanager]: | 922 | Specify service username [ucpemanager]: |
| 931 | Specify service password [ucpemanager]: somepassword | 923 | Specify service password [ucpemanager]: somepassword |
| 932 | … | 924 | … |
| 933 | Specify the IP address of the local interface: 192.168.10.11 | 925 | Specify the IP address of the local interface: <emphasis role="bold">192.168.10.11</emphasis> |
| 934 | Is this server part of a cluster? [Y/N]: Y | 926 | Is this server part of a cluster? [Y/N]: <emphasis role="bold">Y</emphasis> |
| 935 | Specify the name of the cluster [ucpemanager]: | 927 | Specify the name of the cluster [ucpemanager]: |
| 936 | Specify the shared (virtual) cluster IP address: 192.168.10.10 | 928 | Specify the shared (virtual) cluster IP address: <emphasis role="bold">192.168.10.10</emphasis> |
| 937 | Specify the netmask for the cluster IP address [255.255.255.0]: | 929 | Specify the netmask for the cluster IP address [255.255.255.0]: |
| 938 | HA Configuration files modified successfully. | 930 | HA Configuration files modified successfully. |
| 939 | Configuration complete.</programlisting> | 931 | Configuration complete.</programlisting> |
| @@ -963,8 +955,8 @@ Configuration complete.</programlisting> | |||
| 963 | 955 | ||
| 964 | <orderedlist> | 956 | <orderedlist> |
| 965 | <listitem> | 957 | <listitem> |
| 966 | <para>We start with the assumption that | 958 | <para>We start with the assumption that <literal>ucpeManager-1 |
| 967 | <literal>ucpeManager-1</literal>is the "PRIMARY" server.</para> | 959 | </literal>is the "PRIMARY" server.</para> |
| 968 | </listitem> | 960 | </listitem> |
| 969 | 961 | ||
| 970 | <listitem> | 962 | <listitem> |
diff --git a/doc/book-enea-nfv-access-getting-started/doc/images/high_av_setup.png b/doc/book-enea-nfv-access-getting-started/doc/images/high_av_setup.png index e2edd67..23cc973 100644 --- a/doc/book-enea-nfv-access-getting-started/doc/images/high_av_setup.png +++ b/doc/book-enea-nfv-access-getting-started/doc/images/high_av_setup.png | |||
| Binary files differ | |||
diff --git a/doc/book-enea-nfv-access-getting-started/doc/upgrade_ena.xml b/doc/book-enea-nfv-access-getting-started/doc/upgrade_ena.xml index 2f5801c..1b714f2 100644 --- a/doc/book-enea-nfv-access-getting-started/doc/upgrade_ena.xml +++ b/doc/book-enea-nfv-access-getting-started/doc/upgrade_ena.xml | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | <?xml version="1.0" encoding="ISO-8859-1"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <chapter id="upgrade_ena"> | 2 | <chapter id="upgrade_ena"> |
| 3 | <title>Upgrading Enea NFV Access</title> | 3 | <title>Upgrading Enea NFV Access</title> |
| 4 | 4 | ||
| @@ -71,6 +71,14 @@ Enea_NFV_Access_uCPEManager_<version>-build<build_number>.tar.gz</pr | |||
| 71 | </listitem> | 71 | </listitem> |
| 72 | </itemizedlist> | 72 | </itemizedlist> |
| 73 | 73 | ||
| 74 | <para>For an example on how to upgrade an Enea uCPE Manager installation in a | ||
| 75 | High Availability setup, consult <olink | ||
| 76 | targetdoc="book_enea_nfv_access_getting_started" | ||
| 77 | targetptr="ha_upgrade">Upgrading a High Availability Deployment in the | ||
| 78 | <ns:include href="../../s_docbuild/olinkdb/pardoc-names.xml" | ||
| 79 | xpointer="element(book_enea_nfv_access_getting_started/1)" | ||
| 80 | xmlns:ns="http://www.w3.org/2001/XInclude" /></olink> Manual.</para> | ||
| 81 | |||
| 74 | <section id="restore_prev_ucpe_install"> | 82 | <section id="restore_prev_ucpe_install"> |
| 75 | <title>Restoring a previous Enea uCPE Manager Installation</title> | 83 | <title>Restoring a previous Enea uCPE Manager Installation</title> |
| 76 | 84 | ||
