Install and update xCAT Software

Source: Internet
Author: User

Install and update xCAT Software

Next to the previous articles on xCAT, let's take a look at how to install and upgrade the xCAT software. We will install and update the release package and the non-release package.

  1. Online installation of xCAT on CentOS 6.x
  2. XCAT offline installation on CentOS 6.x
  3. XCAT deploy the physical machine operating system
  4. XCAT error Unable to dispatch hierarchical sub-command to NORESOLUTION: 3001.
  5. XCAT installation Kit
  6. XCAT installation (Liunx High Performance Blade Cluster Management Software)

First, run the lsdef command to view the osimage information, such

Lsdef-t osimage centos6.6-x86_64-install-compute
...
Pkgdir =/install/centos6.6/x86_64
Pkglist =/opt/xcat/share/xcat/install/centos/compute. centos6.pkglist
Otherpkgdir =/install/custom/centos6.6/x86_64/
Otherpkglist =/install/custom/centos6.6/x86_64/mypkgs. pkglist
...

Note the attributes listed above.
* Pkgdir defines the location of the release package
* Pkglist defines the list of release packages to be installed.
* Otherpkgdir defines the location of a non-release package
* Otherpkglist defines the list of non-release packages to be installed.
If a property is missing, it is not specified during definition.

Install and update the release package

1. to install or update the package in the release, you only need to add the package to be installed or updated to the file defined by pkglist.
2. Run the "updatenode <noderange>-S" command.

Install and update non-release packages

1. Create a directory to store additional software packages, such

Mkdir-p/install/custom/centos6.6/x86_64/

2. Then copy the additional rpm package to this directory, for example, using the helloworld-1.0.0-1.el6.x86_64.rpm package generated in my previous blog

Cp helloworld-1.0.0-1.el6.x86_64.rpm/install/custom/centos6.6/x86_64/

3. Run "createrepo" in this directory to create a local repository.

Cd/install/custom/centos6.6/x86_64/
Createrepo.

4. Create a package installation list file, such as "/install/custom/centos6.6/x86_64/mypkgs. pkglist". The content is as follows:


Helloworld

5. Modify the otherpkgdir and otherpkglist attributes of osimage

Chdef-t osimage centos6.6-x86_64-install-compute \
Otherpkgdir =/install/custom/centos6.6/x86_64 /\
Otherpkglist =/install/custom/centos6.6/x86_64/mypkgs. pkglist

6. Run the "updatenode <noderange>-S" command to install the new package.

7. to update the software package, place the new rpm package in the/install/custom/centos6.6/x86_64/directory, and run the "updatenode <noderange>-S" command again.

Reference

Http://sourceforge.net/p/xcat/wiki/Using_Updatenode/

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.