diff options
| -rw-r--r-- | doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml | 65 |
1 files changed, 37 insertions, 28 deletions
diff --git a/doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml b/doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml index e2a8a97..211de99 100644 --- a/doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml +++ b/doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml | |||
| @@ -109,24 +109,33 @@ | |||
| 109 | openjdk version "11.0.3" 2019-04-16 LTS | 109 | openjdk version "11.0.3" 2019-04-16 LTS |
| 110 | OpenJDK Runtime Environment 18.9 (build 11.0.3+7-LTS) | 110 | OpenJDK Runtime Environment 18.9 (build 11.0.3+7-LTS) |
| 111 | OpenJDK 64-Bit Server VM 18.9 (build 11.0.3+7-LTS, mixed mode, sharing)</programlisting> | 111 | OpenJDK 64-Bit Server VM 18.9 (build 11.0.3+7-LTS, mixed mode, sharing)</programlisting> |
| 112 | |||
| 113 | <note> | ||
| 114 | <para>If there are multiple java versions installed, switch | ||
| 115 | between them using the following command:</para> | ||
| 116 | |||
| 117 | <programlisting>alternatives --config java</programlisting> | ||
| 118 | |||
| 119 | <para>Optionally, the user can switch between the javac versions using: | ||
| 120 | <literal>alternatives --config javac</literal>.</para> | ||
| 121 | </note> | ||
| 112 | </listitem> | 122 | </listitem> |
| 113 | 123 | ||
| 114 | <listitem> | 124 | <listitem> |
| 115 | <para>The following system variables need to point to the | 125 | <para>The following system variables need to point to the |
| 116 | OpenJDK 11 installation:</para> | 126 | OpenJDK 11 installation:</para> |
| 117 | 127 | ||
| 118 | <programlisting>export JAVA_HOME=$(dirname $(dirname $(readlink $(readlink $(which javac))))) | 128 | <programlisting>export JAVA_HOME=$(dirname $(dirname $(readlink $(readlink $(which java))))) |
| 119 | export PATH=$PATH:$JAVA_HOME/bin | 129 | export PATH=$PATH:$JAVA_HOME/bin |
| 120 | export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar</programlisting> | 130 | export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar</programlisting> |
| 131 | |||
| 132 | <note> | ||
| 133 | <para>In order to make these system variables persistent, the commands given above | ||
| 134 | should be added to a script in the <literal>/etc/profile.d/</literal> folder. | ||
| 135 | <emphasis role="bold">Sudo</emphasis> access is needed for this operation.</para> | ||
| 136 | </note> | ||
| 121 | </listitem> | 137 | </listitem> |
| 122 | </orderedlist> | 138 | </orderedlist> |
| 123 | |||
| 124 | <note> | ||
| 125 | <para>If there are multiple java versions installed, switch | ||
| 126 | between them using the following command:</para> | ||
| 127 | |||
| 128 | <programlisting>alternatives --config java</programlisting> | ||
| 129 | </note> | ||
| 130 | </listitem> | 139 | </listitem> |
| 131 | 140 | ||
| 132 | <listitem> | 141 | <listitem> |
| @@ -162,39 +171,39 @@ userdel postgres</programlisting> | |||
| 162 | <literal>/opt/ems</literal>. Everything will be installed under a | 171 | <literal>/opt/ems</literal>. Everything will be installed under a |
| 163 | folder called <literal>ucpemanager</literal> within the target | 172 | folder called <literal>ucpemanager</literal> within the target |
| 164 | installation folder.</para> | 173 | installation folder.</para> |
| 174 | |||
| 175 | <para>The application files will be installed in the | ||
| 176 | <literal>/opt/ems/ucpemanager/application</literal> folder, while the database | ||
| 177 | will be installed in the <literal>/opt/ems/ucpemanager/database</literal> folder.</para> | ||
| 165 | </listitem> | 178 | </listitem> |
| 166 | </orderedlist> | 179 | </orderedlist> |
| 167 | 180 | ||
| 168 | <para>The application files will be installed in | ||
| 169 | <literal>/opt/ems/ucpemanager/application</literal>. The database will | ||
| 170 | be installed in <literal>/opt/ems/ucpemanager/database</literal>.</para> | ||
| 171 | |||
| 172 | <note> | 181 | <note> |
| 173 | <para>If you have multiple spindles, it is recommended to let the | 182 | <para>If you have multiple spindles, it is recommended to let the |
| 174 | application run off one and the database off the other. This will | 183 | application run off one and the database off the other. This will |
| 175 | result in optimum performance. It is also recommended that the swap | 184 | result in optimum performance. It is also recommended that the swap |
| 176 | disk be the same as the one used for the application.</para> | 185 | disk be the same as the one used for the application.</para> |
| 177 | </note> | ||
| 178 | 186 | ||
| 179 | <para>Assuming another spindle is used (<literal>/drive2</literal>) do | 187 | <para>Assuming another spindle is used (<literal>/drive2</literal>) do |
| 180 | the following:</para> | 188 | the following:</para> |
| 181 | 189 | ||
| 182 | <itemizedlist> | 190 | <orderedlist> |
| 183 | <listitem> | 191 | <listitem> |
| 184 | <para>Create a folder which will host the database (e.g. | 192 | <para>Create a folder which will host the database (e.g. |
| 185 | <literal>emsDatabase</literal>).</para> | 193 | <literal>emsDatabase</literal>).</para> |
| 186 | </listitem> | 194 | </listitem> |
| 187 | 195 | ||
| 188 | <listitem> | 196 | <listitem> |
| 189 | <para>Create a soft-link that will point to this folder:</para> | 197 | <para>Create a soft-link that will point to this folder:</para> |
| 190 | 198 | ||
| 191 | <programlisting>ln -s /opt/ems/elementcenter/database /drive2/emsDatabase</programlisting> | 199 | <programlisting>ln -s /opt/ems/elementcenter/database /drive2/emsDatabase</programlisting> |
| 192 | </listitem> | 200 | </listitem> |
| 193 | 201 | ||
| 194 | <listitem> | 202 | <listitem> |
| 195 | <para>Follow the installation process as described below.</para> | 203 | <para>Follow the installation process as described below.</para> |
| 196 | </listitem> | 204 | </listitem> |
| 197 | </itemizedlist> | 205 | </orderedlist> |
| 206 | </note> | ||
| 198 | </section> | 207 | </section> |
| 199 | 208 | ||
| 200 | <section id="installing_ucpe_mg"> | 209 | <section id="installing_ucpe_mg"> |
