From 2069e674e8d9d40baecd2ca1331b5365ea1ae0dc Mon Sep 17 00:00:00 2001 From: Andrew Feierabend Date: Mon, 16 Dec 2019 10:42:45 -0500 Subject: [PATCH] Revert "DOCS-13256 add SLES15 support" This reverts commit b21534b97e47fe941e296031551bf67cb30691d2. --- source/administration/production-notes.txt | 6 +-- .../extracts-install-mongodb-manually.yaml | 13 ++--- source/includes/fact-platform-x86_64.rst | 6 --- source/includes/note-suse-ulimit.rst | 10 ++++ ...ps-install-mongodb-enterprise-on-suse.yaml | 49 +++++++---------- .../steps-install-mongodb-on-suse.yaml | 54 ++++++++----------- source/reference/ulimit.txt | 5 ++ .../install-mongodb-enterprise-on-suse.txt | 13 +++-- source/tutorial/install-mongodb-on-suse.txt | 8 ++- 9 files changed, 75 insertions(+), 89 deletions(-) create mode 100644 source/includes/note-suse-ulimit.rst diff --git a/source/administration/production-notes.txt b/source/administration/production-notes.txt index b535a92f779..b13b6314618 100644 --- a/source/administration/production-notes.txt +++ b/source/administration/production-notes.txt @@ -36,8 +36,8 @@ x86_64 .. include:: /includes/fact-platform-x86_64.rst -.. [#oracle-linux] - +.. [#oracle-linux] + MongoDB only supports Oracle Linux running the Red Hat Compatible Kernel (RHCK). MongoDB does **not** support the Unbreakable Enterprise Kernel (UEK). @@ -70,7 +70,7 @@ systems are recommended for production use: - Amazon Linux - Debian 8 and 9 - RHEL / CentOS 6 and 7 -- SLES 12 and 15 +- SLES 12 - Ubuntu LTS 16.04 - Windows Server 2016 diff --git a/source/includes/extracts-install-mongodb-manually.yaml b/source/includes/extracts-install-mongodb-manually.yaml index dad6cec7f92..daf976c1da6 100644 --- a/source/includes/extracts-install-mongodb-manually.yaml +++ b/source/includes/extracts-install-mongodb-manually.yaml @@ -12,17 +12,10 @@ content: | --- ref: install-mongodb-enterprise-manually-suse content: | - Version 12 - .. class:: copyable-code - .. code-block:: sh - - sudo zypper install cyrus-sasl cyrus-sasl-plain cyrus-sasl-gssapi krb5 libcurl4 libldap-2_4-2 libopenssl1_0_0 libsensors4 libsnmp30 libpcap1 libwrap0 rpm - - Version 15 - .. class:: copyable-code - .. code-block:: sh + .. class:: copyable-code + .. code-block:: sh - sudo zypper install cyrus-sasl cyrus-sasl-plain cyrus-sasl-gssapi krb5 libcurl4 libldap-2_4-2 libopenssl1_1 libsensors4 libsnmp30 libpcap1 libwrap0 + zypper install cyrus-sasl cyrus-sasl-plain cyrus-sasl-gssapi krb5 libcurl4 libldap-2_4-2 libopenssl1_0_0 libsensors4 libsnmp30 libpcap1 libwrap0 rpm --- ref: install-mongodb-enterprise-manually-debian content: | diff --git a/source/includes/fact-platform-x86_64.rst b/source/includes/fact-platform-x86_64.rst index 9deb47156ae..dd39ce1ba19 100644 --- a/source/includes/fact-platform-x86_64.rst +++ b/source/includes/fact-platform-x86_64.rst @@ -55,12 +55,6 @@ - |checkmark| - |checkmark| - - - * - SLES 15 - - 3.6.16+ - - - - - * - Solaris 11 64-bit - - Community only diff --git a/source/includes/note-suse-ulimit.rst b/source/includes/note-suse-ulimit.rst new file mode 100644 index 00000000000..77c659213dc --- /dev/null +++ b/source/includes/note-suse-ulimit.rst @@ -0,0 +1,10 @@ +SUSE Linux Enterprise Server and potentially other SUSE distributions ship +with virtual memory address space limited to 8 GB by default. You *must* +adjust this in order to prevent virtual memory allocation failures as the +database grows. + +The SLES packages for MongoDB automatically adjust these limits in +their default init script. If you are starting MongoDB manually without +the provided init script, are using your own custom init script, or +are using the TGZ tarball release, you must make these changes +yourself. diff --git a/source/includes/steps-install-mongodb-enterprise-on-suse.yaml b/source/includes/steps-install-mongodb-enterprise-on-suse.yaml index c9b13d04bbe..c8ffa41d42d 100644 --- a/source/includes/steps-install-mongodb-enterprise-on-suse.yaml +++ b/source/includes/steps-install-mongodb-enterprise-on-suse.yaml @@ -3,43 +3,30 @@ source: file: steps-install-mongodb-on-suse.yaml ref: import-key --- -title: Add the MongoDB repository. +title: Configure the package management system (``zypper``). stepnum: 2 ref: config-zypper pre: | - Add the repository so that you can install MongoDB. Use the command - appropriate for your version of SUSE: - - .. note:: - - SUSE 15 support was added with MongoDB v3.6.16. - -content: | - .. tabs:: - - .. tab:: SUSE 15 - :tabid: suse-15 - - .. code-block:: sh - - sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/15/mongodb-enterprise/{+package-branch+}/x86_64/" mongodb - - .. tab:: SUSE 12 - :tabid: suse-12 - - .. code-block:: sh - - sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/{+package-branch+}/x86_64/" mongodb - - If you'd like to install MongoDB packages from a previous - :ref:`release series ` such as 3.4, you can - specify the release series in the repository configuration. For - example, to restrict your SUSE 12 system to the 3.4 release series, - use the following command: + Add the repository so that you can install MongoDB using ``zypper``. +action: + - pre: | + Run the command appropriate for your version of SUSE: + SUSE 12 + .. class:: copyable-code .. code-block:: sh - sudo zypper addrepo --no-gpgcheck "https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/3.4/x86_64/" mongodb + sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/3.6/x86_64/" mongodb + - pre: | + If you'd like to install MongoDB packages from a previous :ref:`release + series ` such as 3.4, you can + specify the release series in the repository configuration. For + example, to restrict your SUSE 12 system to the 3.4 release series, + use the following command: + copyable: true + language: sh + code: | + sudo zypper addrepo --no-gpgcheck https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/3.4/x86_64/ mongodb --- title: Install the MongoDB packages. stepnum: 3 diff --git a/source/includes/steps-install-mongodb-on-suse.yaml b/source/includes/steps-install-mongodb-on-suse.yaml index 45367198efd..15f1e5f5708 100644 --- a/source/includes/steps-install-mongodb-on-suse.yaml +++ b/source/includes/steps-install-mongodb-on-suse.yaml @@ -1,4 +1,4 @@ -title: Import the MongoDB public key. +title: Import the MongoDB public key stepnum: 1 ref: import-key action: @@ -6,49 +6,39 @@ action: code: | sudo rpm --import https://www.mongodb.org/static/pgp/server-3.6.asc --- -title: Add the MongoDB repository. +title: Configure the package management system (``zypper``). stepnum: 2 ref: config-zypper pre: | - Add the repository so that you can install MongoDB. - + Add the repository so that you can install MongoDB using ``zypper``. + .. versionchanged:: 3.0 .. include:: /includes/extracts/fact-3.0-linux-package-repo-tutorial.rst - Use the command appropriate for your version of SUSE: - - .. note:: - - SUSE 15 support was added with MongoDB v3.6.16. - -content: | - .. tabs:: - - .. tab:: SUSE 15 - :tabid: suse-15 - - .. code-block:: sh - - sudo zypper addrepo --gpgcheck "https://repo.mongodb.org/zypper/suse/15/mongodb-org/{+package-branch+}/x86_64/" mongodb - - .. tab:: SUSE 12 - :tabid: suse-12 +action: + - heading: For MongoDB 3.6 + pre: | + Run the command appropriate for your version of SUSE: + SUSE 12 + .. class:: copyable-code .. code-block:: sh - sudo zypper addrepo --gpgcheck "https://repo.mongodb.org/zypper/suse/12/mongodb-org/{+package-branch+}/x86_64/" mongodb + sudo zypper addrepo --gpgcheck "https://repo.mongodb.org/zypper/suse/12/mongodb-org/3.6/x86_64/" mongodb - To install MongoDB packages from a previous :ref:`release - series ` such as 3.4, you can - specify the release series in the repository configuration. + - heading: For versions of MongoDB *earlier* than 3.6 + pre: | + To install MongoDB packages from a previous :ref:`release + series ` such as 3.4, you can + specify the release series in the repository configuration. - For example, to restrict your SUSE 12 system to the 3.4 release - series, use the following command: - - .. code-block:: sh - - sudo zypper addrepo --no-gpgcheck "https://repo.mongodb.org/zypper/suse/12/mongodb-org/3.4/x86_64/" mongodb + For example, to restrict your SUSE 12 system to the 3.4 release + series, use the following command: + copyable: true + language: sh + code: | + sudo zypper addrepo --no-gpgcheck https://repo.mongodb.org/zypper/suse/12/mongodb-org/3.4/x86_64/ mongodb --- title: Install the MongoDB packages. stepnum: 3 diff --git a/source/reference/ulimit.txt b/source/reference/ulimit.txt index 02df9025aaf..3be09008f1f 100644 --- a/source/reference/ulimit.txt +++ b/source/reference/ulimit.txt @@ -154,6 +154,11 @@ change to system limits made using ``ulimit`` may revert following a system restart. Check your distribution and operating system documentation for more information. +SUSE Linux Enterprise Server +```````````````````````````` + +.. include:: /includes/note-suse-ulimit.rst + Red Hat Linux Enterprise Server and CentOS `````````````````````````````````````````` diff --git a/source/tutorial/install-mongodb-enterprise-on-suse.txt b/source/tutorial/install-mongodb-enterprise-on-suse.txt index 2e4c8096504..fd39af1aa4a 100644 --- a/source/tutorial/install-mongodb-enterprise-on-suse.txt +++ b/source/tutorial/install-mongodb-enterprise-on-suse.txt @@ -14,10 +14,9 @@ Overview -------- Use this tutorial to install :products:`MongoDB Enterprise -` on SUSE Linux Enterprise -Server (SLES) 12 and 15. MongoDB Enterprise is available on select -platforms and contains support for several features related to security -and monitoring. +` on SUSE Linux Enterprise Linux +12. MongoDB Enterprise is available on select platforms and contains +support for several features related to security and monitoring. .. admonition:: Platform Support @@ -29,10 +28,14 @@ Considerations -------------- MongoDB only provides Enterprise packages for 64-bit builds of SUSE -Linux Enterprise Server (SLES) version 12 and 15. +Enterprise Linux version 12. .. include:: /includes/fact-use-distribution-package.rst +.. note:: + + .. include:: /includes/note-suse-ulimit.rst + Install MongoDB Enterprise -------------------------- diff --git a/source/tutorial/install-mongodb-on-suse.txt b/source/tutorial/install-mongodb-on-suse.txt index 07716c23abf..0356d01aab5 100644 --- a/source/tutorial/install-mongodb-on-suse.txt +++ b/source/tutorial/install-mongodb-on-suse.txt @@ -13,8 +13,8 @@ Install MongoDB Community Edition on SUSE Overview -------- -Use this tutorial to install MongoDB Community Edition on SUSE Linux -Enterprise Server (SLES) 12 and 15 using ``.rpm`` packages. +Use this tutorial to install MongoDB Community Edition on SUSE Enterprise +Linux 12 using ``.rpm`` packages. .. admonition:: Platform Support @@ -30,6 +30,10 @@ These packages conflict with the ``mongodb``, ``mongodb-server``, and .. include:: /includes/fact-installation-bind-ip-default-in-config.rst +.. note:: + + .. include:: /includes/note-suse-ulimit.rst + Install MongoDB Community Edition ---------------------------------