2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-11 15:50:11 +00:00

The yum_common and zypper_common files are not needed. The content is

rolled into the prepare_mgmt_node file since each subdirectory contains
specific instructions for that OS
This commit is contained in:
Victor Hu
2015-08-14 09:04:06 -04:00
parent 67cbb37cdf
commit 1cb6ceaff0
8 changed files with 73 additions and 170 deletions

View File

@ -6,4 +6,4 @@ For the list of currently supported Ubuntu LTS operatin systems, see :ref:`ubunt
.. toctree::
:maxdepth: 2
../common/prepare_mgmt_node.rst
prepare_mgmt_node.rst

View File

@ -0,0 +1,26 @@
Prepare the Management Node
===========================
These steps prepare the Management Node or xCAT Installation
Install an OS on the Management Node
------------------------------------
Install one of the supported operating systems :ref:`ubuntu-os-support-label` on to your target management node
.. include:: ../common/install_guide.rst
:start-after: BEGIN_install_os_mgmt_node
:end-before: END_install_os_mgmt_node
Configure the Base OS Repository
--------------------------------
**TODO**
Set up Network
--------------
The management node IP address should be set to a **static** ip address.
Modify the ``ifcfg-<nic>`` file under ``/etc/sysconfig/network-scripts`` and configure a static IP address.

View File

@ -1,76 +0,0 @@
Prepare the Management Node for xCAT Installation
=================================================
These steps prepare the Management Node or xCAT Installation
Install an OS on the Management Node
------------------------------------
The hardware requirements for your xCAT management node largely depends on the size of the cluster you plan to manage and the type of provisioning being used (diskful, diskless, system clones, etc). The majority of system load comes during cluster provisioning.
**Memory Recommendations:**
+--------------+-------------+
| Cluster size | Memory (GB) |
+==============+=============+
| small (< 16) | 4-6 |
+--------------+-------------+
| medium | 6-8 |
+--------------+-------------+
| large | > 16 |
+--------------+-------------+
Install any flavor of the supported operating system onto the management node.
The xCAT software RPMs will attempt to automatially install any base software provided by the Operating System if they are not already installed onto the machine. In order for this to succeed, the node must have a repository set up providing the base operating system packages.
Configure the Base OS Repository
--------------------------------
xCAT uses Linux Package Managers (yum, zypper, apt, etc) to install and resolve dependency packages provded by the base operating system. Follow this section to create the repository for the base operating system on the management node
#. Copy the dvd .iso file onto the management node: ::
mkdir -p /tmp/iso
scp <user>@<server>:/images/iso/rhels7.1/ppc64le/RHEL-LE-7.1-20150219.1-Server-ppc64le-dvd1.iso /tmp/iso
#. Mount the dvd iso to a directory on the management node. ::
#
# [rhel] mounting at /mnt/iso/rhels7.1
#
mkdir -p /mnt/iso/rhels7.1
mount -o loop /tmp/iso/RHEL-LE-7.1-20150219.1-Server-ppc64le-dvd1.iso /mnt/iso/rhels7.1
#
# [sles] mounting at /mnt/iso/sles12
#
mkdir -p /mnt/iso/sles12
mount -o loop /tmp/iso/SLE-12-Server-DVD-ppc64le-GM-DVD1.iso /mnt/iso/sles12
#. Create the local repository configuration file pointing to mounted iso image. ::
#
# [rhel]
#
vi /etc/yum/yum.repos.d/rhels71-base.repo
#
# [sles]
#
vi /etc/zypp/repos.d/sles12-base.repo
# Setting up OS Repository on Mgmt Node
Disable system services
-----------------------
Disable the Firewall
* Set up Network
* Configure Network Interface Cards (NICs)
* Install the Management Node OS
* Supported OS and Hardware

View File

@ -15,9 +15,29 @@ Install one of the supported operating systems :ref:`rhels-os-support-label` on
Configure the Base OS Repository
--------------------------------
.. include:: yum_common.rst
:start-after: BEGIN_configure_base_os_repository
:end-before: END_configure_base_os_repository
xCAT uses the yum package manager on RHEL Linux distributions to install and resolve dependency packages provded by the base operating system. Follow this section to create the repository for the base operating system on the management node
#. Copy the dvd .iso file onto the management node: ::
mkdir -p /tmp/iso
scp <user>@<server>:/images/iso/rhels7.1/ppc64le/RHEL-LE-7.1-20150219.1-Server-ppc64le-dvd1.iso /tmp/iso
#. Mount the dvd iso to a directory on the management node. ::
#
# Assuming we are mounting at /mnt/iso/rhels7.1
#
mkdir -p /mnt/iso/rhels7.1
mount -o loop /tmp/iso/RHEL-LE-7.1-20150219.1-Server-ppc64le-dvd1.iso /mnt/iso/rhels7.1
#. Create the local repository configuration file pointing to mounted iso image. ::
cat /etc/yum/yum.repos.d/rhels71-base.repo
[rhel-7-server]
name=RHEL 7 SERVER packages
baseurl=file:///mnt/iso/rhels71/Server
enabled=1
gpgcheck=1
Set up Network

View File

@ -1,42 +0,0 @@
.. BEGIN_configure_base_os_repository
xCAT uses the yum package manager on RHEL Linux distributions to install and resolve dependency packages provded by the base operating system. Follow this section to create the repository for the base operating system on the management node
#. Copy the dvd .iso file onto the management node: ::
mkdir -p /tmp/iso
scp <user>@<server>:/images/iso/rhels7.1/ppc64le/RHEL-LE-7.1-20150219.1-Server-ppc64le-dvd1.iso /tmp/iso
#. Mount the dvd iso to a directory on the management node. ::
#
# Assuming we are mounting at /mnt/iso/rhels7.1
#
mkdir -p /mnt/iso/rhels7.1
mount -o loop /tmp/iso/RHEL-LE-7.1-20150219.1-Server-ppc64le-dvd1.iso /mnt/iso/rhels7.1
#. Create the local repository configuration file pointing to mounted iso image. ::
cat /etc/yum/yum.repos.d/rhels71-base.repo
[rhel-7-server]
name=RHEL 7 SERVER packages
baseurl=file:///mnt/iso/rhels71/Server
enabled=1
gpgcheck=1
.. END_configure_base_os_repository
.. BEGIN_disable_firewall
.. DEPRECATED: Firewall instructions is not applicable after xCAT 2.8
The management node provides many services to the cluster nodes. Running a firewall on the management node can interfere with these services.
If your cluster is running on a secure network, the easiest thing to do is disable the firewall on the management node::
service iptables stop
service ip6tables stop
.. END_disable_firewall

View File

@ -15,9 +15,29 @@ Install one of the supported operating systems :ref:`sles-os-support-label` on t
Configure the Base OS Repository
--------------------------------
.. include:: zypper_common.rst
:start-after: BEGIN_configure_base_os_repository
:end-before: END_configure_base_os_repository
xCAT uses the zypper package manager on SLES Linux distributions to install and resolve dependency packages provded by the base operating system. Follow this section to create the repository for the base operating system on the management node
#. Copy the dvd .iso file onto the management node: ::
mkdir -p /tmp/iso
scp <user>@<server>:/images/iso/sles12/ppc64le/SLE-12-Server-DVD-ppc64le-GM-DVD1.iso /tmp/iso
#. Mount the dvd iso to a directory on the management node. ::
#
# Assuming we are mounting at /mnt/iso/sles12
#
mkdir -p /mnt/iso/sles12
mount -o loop /tmp/iso/SLE-12-Server-DVD-ppc64le-GM-DVD1.iso /mnt/iso/sles12
#. Create the local repository configuration file pointing to mounted iso image. ::
cat /etc/zypp/repos.d/sles12le-base.repo
[sles-12-le-server]
name=SLES 12 ppc64le Server Packages
baseurl=file:///mnt/iso/sles12/suse
enabled=1
gpgcheck=1
Set up Network

View File

@ -1,2 +0,0 @@
SLES 11
SLES 12 LE

View File

@ -1,43 +0,0 @@
.. BEGIN_configure_base_os_repository
xCAT uses the zypper package manager on SLES Linux distributions to install and resolve dependency packages provded by the base operating system. Follow this section to create the repository for the base operating system on the management node
#. Copy the dvd .iso file onto the management node: ::
mkdir -p /tmp/iso
scp <user>@<server>:/images/iso/sles12/ppc64le/SLE-12-Server-DVD-ppc64le-GM-DVD1.iso /tmp/iso
#. Mount the dvd iso to a directory on the management node. ::
#
# Assuming we are mounting at /mnt/iso/sles12
#
mkdir -p /mnt/iso/sles12
mount -o loop /tmp/iso/SLE-12-Server-DVD-ppc64le-GM-DVD1.iso /mnt/iso/sles12
#. Create the local repository configuration file pointing to mounted iso image. ::
cat /etc/zypp/repos.d/sles12le-base.repo
[sles-12-le-server]
name=SLES 12 ppc64le Server Packages
baseurl=file:///mnt/iso/sles12/suse
enabled=1
gpgcheck=1
.. END_configure_base_os_repository
.. BEGIN_disable_firewall
.. DEPRECATED: Firewall instructions is not applicable after xCAT 2.8
The management node provides many services to the cluster nodes. Running a firewall on the management node can interfere with these services.
If your cluster is running on a secure network, the easiest thing to do is disable the firewall on the management node::
service iptables stop
service ip6tables stop
.. END_disable_firewall