mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Merge pull request #1021 from whowutwut/postgres
small doc clenaup - simplify install of postgres instructions, change Redhat->RedHat
This commit is contained in:
commit
28fb5b8b2c
@ -18,8 +18,8 @@ The MySQL database is supported by xCAT since xCAT 2.1. MariaDB is a fork of th
|
||||
MySQL/MariaDB packages are shipped as part of most Linux Distributions.
|
||||
|
||||
|
||||
Redhat Enterprise Linux
|
||||
-----------------------
|
||||
Red Hat Enterprise Linux
|
||||
------------------------
|
||||
|
||||
* MySQL - Using ``yum``, ensure that the following packages are installed on the management node: ::
|
||||
|
||||
|
@ -4,12 +4,12 @@ Install PostgreSQL
|
||||
PostgreSQL packages are shipped as part of most Linux Distributions.
|
||||
|
||||
|
||||
Redhat Enterprise Linux
|
||||
-----------------------
|
||||
Red Hat Enterprise Linux
|
||||
------------------------
|
||||
|
||||
Using yum, install the following rpms: ::
|
||||
|
||||
yum install postgresql-libs-* postgresql-server-* postgresql-*
|
||||
yum install postgresql-*
|
||||
yum install perl-DBD-Pg*
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ Suse Linux Enterprise Server
|
||||
|
||||
Using zyppr, install the following rpms: ::
|
||||
|
||||
zyppr install postgresql-libs-* postgresql-server-* postgresql-*
|
||||
zyppr install postgresql-*
|
||||
zyppr install perl-DBD-Pg*
|
||||
|
||||
|
||||
|
@ -36,7 +36,7 @@ Adding Multiple Versions of the Same Kit Component to an OS Image Definition
|
||||
|
||||
xCAT allows to have multiple versions/releases of a product software kit available in the cluster. Typically, different OS image definitions corresponding to the different versions/releases of a product software stack. However, in some instances, may need mulitple versions/releases of the same product available within a single OS image. This is only feasible if the software product supports the install of multiple versions or releases of its product within an OS image.
|
||||
|
||||
Currently, it is not possible to install multiple versions of a product into an OS image using xCAT commands. xCAT uses yum on Redhat and zypper on SLES to install product rpms. These package managers do not provide an interface to install different versions of the same package, and will always force an upgrade of the package. We are investigating different ways to accomplish this function for future xCAT releases.
|
||||
Currently, it is not possible to install multiple versions of a product into an OS image using xCAT commands. xCAT uses yum on RedHat and zypper on SLES to install product rpms. These package managers do not provide an interface to install different versions of the same package, and will always force an upgrade of the package. We are investigating different ways to accomplish this function for future xCAT releases.
|
||||
|
||||
Some software products have designed their packaging to leave previous versions of the software installed in an OS image even when the product is upgraded. This is done by using different package names for each version/release, so that the package manager does not see the new version as an upgrade, but rather as a new package install. In this case, it is possible to use xCAT to install multiple versions of the product into the same image.
|
||||
|
||||
|
@ -12,7 +12,7 @@ The paralell compression tool ``pigz`` can be enabled by installing ``pigz`` pac
|
||||
|
||||
* **[RHEL]**
|
||||
|
||||
The package ``pigz`` is shipped in Extra Packages for Enterprise Linux (or EPEL) instead of Redhat iso, this involves some complexity.
|
||||
The package ``pigz`` is shipped in Extra Packages for Enterprise Linux (or EPEL) instead of RedHat iso, this involves some complexity.
|
||||
|
||||
Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL).
|
||||
|
||||
|
@ -6,7 +6,7 @@ By default, xCAT will install the operating system on the first disk and with de
|
||||
|
||||
- 'Partition definition file' way can be used for RedHat, SLES and Ubuntu.
|
||||
- 'partition definition script' way was tested only for RedHat and Ubuntu, use this feature on SLES at your own risk.
|
||||
- Because disk configuration for ubuntu is different from Redhat, there maybe some section special for ubuntu.
|
||||
- Because disk configuration for ubuntu is different from RedHat, there maybe some section special for ubuntu.
|
||||
|
||||
.. END_Overview
|
||||
|
||||
@ -356,7 +356,7 @@ Run the following commands to associate the partition with the osimage: ::
|
||||
chdef -t osimage <osimagename> partitionfile=/install/custom/my-partitions
|
||||
nodeset <nodename> osimage=<osimage>
|
||||
|
||||
- For Redhat, when nodeset runs and generates the /install/autoinst file for a node, it will replace the #XCAT_PARTITION_START#...#XCAT_PARTITION_END# directives from your osimage template with the contents of your custom partitionfile.
|
||||
- For RedHat, when nodeset runs and generates the /install/autoinst file for a node, it will replace the #XCAT_PARTITION_START#...#XCAT_PARTITION_END# directives from your osimage template with the contents of your custom partitionfile.
|
||||
|
||||
- For Ubuntu, when nodeset runs and generates the /install/autoinst file for a node, it will generate a script to write the partition configuration to /tmp/partitionfile, this script will replace the #XCA_PARTMAN_RECIPE_SCRIPT# directive in /install/autoinst/<node>.pre.
|
||||
|
||||
@ -365,7 +365,7 @@ Run the following commands to associate the partition with the osimage: ::
|
||||
|
||||
.. BEGIN_Partition_Definition_Script_overview
|
||||
|
||||
Create a shell script that will be run on the node during the install process to dynamically create the disk partitioning definition. This script will be run during the OS installer %pre script on Redhat or preseed/early_command on Unbuntu execution and must write the correct partitioning definition into the file /tmp/partitionfile on the node
|
||||
Create a shell script that will be run on the node during the install process to dynamically create the disk partitioning definition. This script will be run during the OS installer %pre script on RedHat or preseed/early_command on Unbuntu execution and must write the correct partitioning definition into the file /tmp/partitionfile on the node
|
||||
|
||||
.. END_Partition_Definition_Script_overview
|
||||
|
||||
@ -379,7 +379,7 @@ The purpose of the partition script is to create the /tmp/partionfile that will
|
||||
|
||||
.. BEGIN_Partition_Definition_Script_Create_partition_script_example_redhat_sles
|
||||
|
||||
Here is an example of the partition script on Redhat and SLES, the partitioning script is ``/install/custom/my-partitions.sh``: ::
|
||||
Here is an example of the partition script on RedHat and SLES, the partitioning script is ``/install/custom/my-partitions.sh``: ::
|
||||
|
||||
instdisk="/dev/sda"
|
||||
|
||||
@ -448,7 +448,7 @@ Run below commands to associate partition script with osimage: ::
|
||||
nodeset <nodename> osimage=<osimage>
|
||||
|
||||
- The "s:" preceding the filename tells nodeset that this is a script.
|
||||
- For Redhat, when nodeset runs and generates the /install/autoinst file for a node, it will add the execution of the contents of this script to the %pre section of that file. The nodeset command will then replace the #XCAT_PARTITION_START#...#XCAT_PARTITION_END# directives from the osimage template file with "%include /tmp/partitionfile" to dynamically include the tmp definition file your script created.
|
||||
- For RedHat, when nodeset runs and generates the /install/autoinst file for a node, it will add the execution of the contents of this script to the %pre section of that file. The nodeset command will then replace the #XCAT_PARTITION_START#...#XCAT_PARTITION_END# directives from the osimage template file with "%include /tmp/partitionfile" to dynamically include the tmp definition file your script created.
|
||||
- For Ubuntu, when nodeset runs and generates the /install/autoinst file for a node, it will replace the "#XCA_PARTMAN_RECIPE_SCRIPT#" directive and add the execution of the contents of this script to the /install/autoinst/<node>.pre, the /install/autoinst/<node>.pre script will be run in the preseed/early_command.
|
||||
|
||||
.. END_Partition_Definition_Script_Associate_partition_script_with_osimage_common
|
||||
|
Loading…
x
Reference in New Issue
Block a user