2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Add hierarchy doc phrase 2

Delete ubuntu ppc64le section in the diskfull installation
document.
This commit is contained in:
chenglch 2015-09-17 22:55:14 -04:00
parent 57c7dca6da
commit be9ca503fe
3 changed files with 51 additions and 73 deletions

View File

@ -83,7 +83,7 @@ rhsn. lsdef cn4 | grep servicenode. ::
servicenode=service1,rhsn
f a service node is offline ( e.g. service1), then you will see errors on
If a service node is offline ( e.g. service1), then you will see errors on
your xdcp command, and yet if rhsn is online then the xdcp will actually
work. This may be a little confusing. For example, here service1 is offline,
but we are able to use rhsn to complete the xdcp. ::

View File

@ -45,7 +45,7 @@ appropriate for SNs. Display the list of osimages and choose one with
lsdef -t osimage
For this example, let's assume you chose the stateful osimage definition for
rhels 6.3: rhels6.3-x86_64-install-service . If you want to modify any of the
rhels 7: rhels7-x86_64-install-service . If you want to modify any of the
osimage attributes (e.g. ``kickstart/autoyast`` template, pkglist, etc),
make a copy of the osimage definition and also copy to ``/install/custom``
any files it points to that you are modifying.
@ -53,12 +53,12 @@ any files it points to that you are modifying.
Now set some of the common attributes for the SNs at the group level: ::
chdef -t group service arch=x86_64 \
os=rhels6.3 \
os=rhels7 \
nodetype=osi
profile=service \
netboot=xnba installnic=mac \
primarynic=mac \
provmethod=rhels6.3-x86_64-install-service
provmethod=rhels7-x86_64-install-service
Add Service Nodes to the servicenode Table
------------------------------------------
@ -305,7 +305,7 @@ the keyword. Here is an example:
The ipforward attribute should be enabled on all the xcatmaster nodes that
will be acting as default gateways. You can set ipforward to 1 in the
servicenode table or add the line "net.ipv4.ip_forward = 1" in file
``/etc/sysctl``.conf and then run "sysctl -p /etc/sysctl.conf" manually to
``/etc/sysctl.conf`` and then run "sysctl -p /etc/sysctl.conf" manually to
enable the ipforwarding.
Note:If using service node pools, the networks table dhcpserver attribute can
@ -339,7 +339,7 @@ ethernet network adapters connected to the HW service VLAN be configured.
Configuring Secondary Adapters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
o configure secondary adapters, see `Configuring_Secondary_Adapters
To configure secondary adapters, see `Configuring_Secondary_Adapters
<http://localhost/fake_todo>`_

View File

@ -17,15 +17,15 @@ xCAT Management Node**. Copy the files to the Management Node (MN) and untar
them in the appropriate sub-directory of ``/install/post/otherpkgs``
**Note for the appropriate directory below, check the
``otherpkgdir=/install/post/otherpkgs/rhels6.4/ppc64`` attribute of the
``otherpkgdir=/install/post/otherpkgs/rhels7/x86_64`` attribute of the
osimage defined for the servicenode.**
For example ubuntu14.04.1-ppc64el-install-service **** ::
For example, for osimage rhels7-x86_64-install-service ::
mkdir -p /install/post/otherpkgs/ubuntu14.04.1/ppc64el/
cd /install/post/otherpkgs/ubuntu14.04.1/ppc64el/
tar jxvf core-rpms-snap.tar.bz2
tar jxvf xcat-dep-ubuntu*.tar.bz2
mkdir -p /install/post/otherpkgs/**rhels7**/x86_64/xcat
cd /install/post/otherpkgs/**rhels7**/x86_64/xcat
tar jxvf core-rpms-snap.tar.bz2
tar jxvf xcat-dep-*.tar.bz2
Next, add rpm names into your own version of
service.<osver>.<arch>.otherpkgs.pkglist file. In most cases, you can find an
@ -33,38 +33,19 @@ initial copy of this file under /opt/xcat/share/xcat/install/<platform> . If
not, copy one from a similar platform.
::
mkdir -p /install/custom/install/ubuntu/
cp /opt/xcat/share/xcat/install/ubuntu/service.ubuntu.otherpkgs.pkglist/\
install/custom/install/ubuntu/service.ubuntu.otherpkgs.pkglist
vi /install/custom/install/ubuntu/service.ubuntu.otherpkgs.pkglist
mkdir -p /install/custom/install/rh
cp /opt/xcat/share/xcat/install/rh/service.rhels7.x86_64.otherpkgs.pkglist \
/install/custom/install/rh
vi /install/custom/install/rh/service.rhels7.x86_64.otherpkgs.pkglist
Make sure the following entries are included in the
``/install/custom/install/ubuntu/service.ubuntu.otherpkgs.pkglist``:
/install/custom/install/rh/service.rhels7.x86_64.otherpkgs.pkglist:
::
mariadb-client
mariadb-common
xcatsn
xCATsn
conserver-xcat
The "pkgdir" should include the online/local ubuntu official mirror with the
following command:
::
chdef -t osimage -o ubuntu14.04.1-ppc64el-install-service \
-p pkgdir="http://ports.ubuntu.com/ubuntu-ports trusty main, \
http://ports.ubuntu.com/ubuntu-ports trusty-updates main, \
http://ports.ubuntu.com/ubuntu-ports trusty universe, \
http://ports.ubuntu.com/ubuntu-ports trusty-updates universe"
plus the "otherpkgdir" should include the mirror under otherpkgdir on MN, this
can be done with: ::
chdef -t osimage -o ubuntu14.04.1-ppc64el-install-service -p \
otherpkgdir="http:// < Name or ip of Management Node > \
/install/post/otherpkgs/ubuntu14.04.1/ppc64el/xcat-core/ \
trusty main, http://< Name or ip of Management Node > \
/install/post/otherpkgs/ubuntu14.04.1/ppc64el/xcat-dep/ trusty main"
perl-Net-Telnet
perl-Expect
**Note: you will be installing the xCAT Service Node rpm xCATsn meta-package
on the Service Node, not the xCAT Management Node meta-package. Do not install
@ -72,45 +53,41 @@ both.**
Update the rhels6 RPM repository (rhels6 only)
----------------------------------------------
* This section could be removed after the powerpc-utils-1.2.2-18.el6.ppc64.rpm
is built in the base rhels6 ISO.
* The direct rpm download link is:
ftp://linuxpatch.ncsa.uiuc.edu/PERCS/powerpc-utils-1.2.2-18.el6.ppc64.rpm
* The update steps are as following: ::
``ftp://linuxpatch.ncsa.uiuc.edu/PERCS/powerpc-utils-1.2.2-18.el6.ppc64.rpm``
* The update steps are as following:
- put the new rpm in the base OS packages
::
put the new rpm in the base OS packages
cd /install/rhels6/ppc64/Server/Packages
mv powerpc-utils-1.2.2-17.el6.ppc64.rpm /tmp
cp /tmp/powerpc-utils-1.2.2-18.el6.ppc64.rpm
# make sure that the rpm is be readable by other users
chmod +r powerpc-utils-1.2.2-18.el6.ppc64.rpm
cd /install/rhels6/ppc64/Server/Packages
mv powerpc-utils-1.2.2-17.el6.ppc64.rpm /tmp
cp /tmp/powerpc-utils-1.2.2-18.el6.ppc64.rpm .
# make sure that the rpm is be readable by other users
chmod +r powerpc-utils-1.2.2-18.el6.ppc64.rpm
* create the repodata ::
cd /install/rhels6/ppc64/Server
ls -al repodata/
total 14316
dr-xr-xr-x 2 root root 4096 Jul 20 09:34 .
dr-xr-xr-x 3 root root 4096 Jul 20 09:34 ..
-r--r--r-- 1 root root 1305862 Sep 22 2010 20dfb74c144014854d3b16313907ebcf30c9ef63346d632369a19a4add8388e7-other.sqlite.bz2
-r--r--r-- 1 root root 1521372 Sep 22 2010 57b3c81512224bbb5cebbfcb6c7fd1f7eb99cca746c6c6a76fb64c64f47de102-primary.xml.gz
-r--r--r-- 1 root root 2823613 Sep 22 2010 5f664ea798d1714d67f66910a6c92777ecbbe0bf3068d3026e6e90cc646153e4-primary.sqlite.bz2
-r--r--r-- 1 root root 1418180 Sep 22 2010 7cec82d8ed95b8b60b3e1254f14ee8e0a479df002f98bb557c6ccad5724ae2c8-other.xml.gz
-r--r--r-- 1 root root 194113 Sep 22 2010 90cbb67096e81821a2150d2b0a4f3776ab1a0161b54072a0bd33d5cadd1c234a-comps-rhel6-Server.xml.gz
**-r--r--r-- 1 root root 1054944 Sep 22 2010 98462d05248098ef1724eddb2c0a127954aade64d4bb7d4e693cff32ab1e463c-comps-rhel6-Server.xml**
-r--r--r-- 1 root root 3341671 Sep 22 2010 bb3456b3482596ec3aa34d517affc42543e2db3f4f2856c0827d88477073aa45-filelists.sqlite.bz2
-r--r--r-- 1 root root 2965960 Sep 22 2010 eb991fd2bb9af16a24a066d840ce76365d396b364d3cdc81577e4cf6e03a15ae-filelists.xml.gz
-r--r--r-- 1 root root 3829 Sep 22 2010 repomd.xml
-r--r--r-- 1 root root 2581 Sep 22 2010 TRANS.TBL
createrepo \
-g repodata /98462d05248098ef1724eddb2c0a127954aade64d4bb7d4e693cff32ab1e463c-comps-rhel6-Server.xml
* create the repodata
::
cd /install/rhels6/ppc64/Server
ls -al repodata/
total 14316
dr-xr-xr-x 2 root root 4096 Jul 20 09:34 .
dr-xr-xr-x 3 root root 4096 Jul 20 09:34 ..
-r--r--r-- 1 root root 1305862 Sep 22 2010 20dfb74c144014854d3b16313907ebcf30c9ef63346d632369a19a4add8388e7-other.sqlite.bz2
-r--r--r-- 1 root root 1521372 Sep 22 2010 57b3c81512224bbb5cebbfcb6c7fd1f7eb99cca746c6c6a76fb64c64f47de102-primary.xml.gz
-r--r--r-- 1 root root 2823613 Sep 22 2010 5f664ea798d1714d67f66910a6c92777ecbbe0bf3068d3026e6e90cc646153e4-primary.sqlite.bz2
-r--r--r-- 1 root root 1418180 Sep 22 2010 7cec82d8ed95b8b60b3e1254f14ee8e0a479df002f98bb557c6ccad5724ae2c8-other.xml.gz
-r--r--r-- 1 root root 194113 Sep 22 2010 90cbb67096e81821a2150d2b0a4f3776ab1a0161b54072a0bd33d5cadd1c234a-comps-rhel6-Server.xml.gz
**-r--r--r-- 1 root root 1054944 Sep 22 2010 98462d05248098ef1724eddb2c0a127954aade64d4bb7d4e693cff32ab1e463c-comps-rhel6-Server.xml**
-r--r--r-- 1 root root 3341671 Sep 22 2010 bb3456b3482596ec3aa34d517affc42543e2db3f4f2856c0827d88477073aa45-filelists.sqlite.bz2
-r--r--r-- 1 root root 2965960 Sep 22 2010 eb991fd2bb9af16a24a066d840ce76365d396b364d3cdc81577e4cf6e03a15ae-filelists.xml.gz
-r--r--r-- 1 root root 3829 Sep 22 2010 repomd.xml
-r--r--r-- 1 root root 2581 Sep 22 2010 TRANS.TBL
createrepo -g repodata \
/98462d05248098ef1724eddb2c0a127954aade64d4bb7d4e693cff32ab1e463c-comps-rhel6-Server.xml
Note: you should use comps-rhel6-Server.xml with its key as the group file.
**Note:** you should use comps-rhel6-Server.xml with its key as the group file.
Set the node status to ready for installation
---------------------------------------------
@ -122,14 +99,15 @@ service node. ::
For example ::
nodeset service osimage="ubuntu14.04.1-ppc64el-install-service"
nodeset <service_node> osimage="rhels7-x86_64-install-service"
Initialize network boot to install Service Nodes
------------------------------------------------
::
rnetboot service
rsetboot <service_node> net
rpower <service_node> boot
Monitor the Installation
------------------------