Table of Contents
{{:Design Warning}}
Overview
This is the mini-design of supporting internet/local official distribution repository for other packages installation on the ubuntu compute node. The Ubuntu iso only contains the basic packages which used for OS installation(657MB), it can not satisfy the otherpkg installtion on compute node. Ubuntu has many official distribution repository mirrors on the internet, so compute node can use the official distribution repository mirror for the other pakcages installation.
If want to use ospkglist file method to install packages, before adding package name into this file, should ensure the package is contained in the ubuntu iso. All packages that does not contained in the ubuntu iso should use otherpkg method to install.
problems
- where specify the internet repository?
- If the compute node can not access the internet, how to use the official distribution repository?
Interface
specify the repository
Use the otherpkgdir attribute in linuximage table to save the internet repository URL, so xCAT should support multiple otherpkgdirs (currently only on ubuntu), and repository direcotries are splited by ','.
-
modify the otherpkgdir attribute for osimage object.
chdef -t osimage <osimage name> otherpkgdir="/install/ubuntu12.04.1/x86_64/,http://us.archive.ubuntu.com/ubuntu/ precise main"
The first directory is a repository on MN, the method of creating local repository on management node will be introduced in the Ubuntu quick start document. The second one is a official mirror URL on the internet. the precise means the suite for the ubuntu version. the main means the base component which will be used.
-
create an otherpkglist file, /install/custom/install/ubuntu/compute.otherpkgs.pkglist. Add the packages' name into thist file. And modify the otherpkglist attribute for osimage object.
chdef -t osimage <osimage name> otherpkglist=/install/custom/install/ubuntu/compute.otherpkgs.pkglist
compute node can not access internet
There are 2 scenarios:
1. The management node can access the internet
a. Install the Squit on management node, and configure the proxy server. (introduced in the quick start)
b. add the aptproxy script to the postscript(a new script), it can configure the apt to use proxy when downloading packages.
2. The management node can not access the internet either
a. If the packages installed on the compute node change frequently,
i. use "apt-mirror" to create a local mirror.
ii. add this local mirror to the otherpkgdir attribute, apt on the compute node can download packages from this local mirror.
b. else
i. use "apt-rdepends" to find out all dependent packages' name.
ii. use "apt-get install <packages' name> -d" to download all needed packages
iii. copy these packages to management node, use "dpkg-scanpackages" to create a repository on the management node. (introduced in the quick start)
Internal Implementation
Only the internet distribution mirror includes some code modification, the local repository on the management node use the current process.
stateful
- otherpkgs script
All repositories which used for other packages installation are saved in "/etc/apt/sources.list.d/xCAT-otherpkgs.list". When parse the $OTHERPKGDIR, and the os belongs to ubuntu,
a. split the $OTHERPKGDIR by ','
b. if the repo started by http, add it into the xCAT-otherpkgs.list directly.
c. if the repo does not started by http, should did some modification to the repo address, and append to the xCAT-otherpkgs.lis.
- aptproxy script
add a file /etc/apt/apt.conf.d/proxy, append a line to specify this proxy server.
stateless
-
genimage
a. add the otherpkgdir into the /<rootimagedir>/etc/apt/sources.list.d/xCAT-otherpkgs.list, similar with the stateful scenario. b. backup the /<rootimagedir>/etc/hosts and resolv.conf in the stateless root image. c. copy the management node's /etc/hosts and /etc/resolv.conf to the /<rootimagedir>, it can access the internet after chroot d. install other packages into the root image. e. recover the /<rootimagedir>/etc/hosts and resolv.conf
-
genimage.pm
a. the value of --otherpkgdir should be embraced by ".
Other Design Considerations
- Required reviewers: Bruce, Gao Ling, Li Guang Cheng, Jin Jie Hua
- Required approvers: Bruce Potter
- Database schema changes: N/A
- Affect on other components: N/A
- External interface changes, documentation, and usability issues: the ubuntu quick start document
- Packaging, installation, dependencies: N/A
- Portability and platforms (HW/SW) supported: N/A
- Performance and scaling considerations: N/A
- Migration and coexistence: N/A
- Serviceability: N/A
- Security: N/A
- NLS and accessibility: N/A
- Invention protection: N/A
News
- Apr 22, 2016: xCAT 2.11.1 released.
- Mar 11, 2016: xCAT 2.9.3 (AIX only) released.
- Dec 11, 2015: xCAT 2.11 released.
- Nov 11, 2015: xCAT 2.9.2 (AIX only) released.
- Jul 30, 2015: xCAT 2.10 released.
- Jul 30, 2015: xCAT migrates from sourceforge to github
- Jun 26, 2015: xCAT 2.7.9 released.
- Mar 20, 2015: xCAT 2.9.1 released.
- Dec 12, 2014: xCAT 2.9 released.
- Sep 5, 2014: xCAT 2.8.5 released.
- May 23, 2014: xCAT 2.8.4 released.
- Jan 24, 2014: xCAT 2.7.8 released.
- Nov 15, 2013: xCAT 2.8.3 released.
- Jun 26, 2013: xCAT 2.8.2 released.
- May 17, 2013: xCAT 2.7.7 released.
- May 10, 2013: xCAT 2.8.1 released.
- Feb 28, 2013: xCAT 2.8 released.
- Nov 30, 2012: xCAT 2.7.6 released.
- Oct 29, 2012: xCAT 2.7.5 released.
- Aug 27, 2012: xCAT 2.7.4 released.
- Jun 22, 2012: xCAT 2.7.3 released.
- May 25, 2012: xCAT 2.7.2 released.
- Apr 20, 2012: xCAT 2.7.1 released.
- Mar 19, 2012: xCAT 2.7 released.
- Mar 15, 2012: xCAT 2.6.11 released.
- Jan 23, 2012: xCAT 2.6.10 released.
- Nov 15, 2011: xCAT 2.6.9 released.
- Sep 30, 2011: xCAT 2.6.8 released.
- Aug 26, 2011: xCAT 2.6.6 released.
- May 20, 2011: xCAT 2.6 released.
- Feb 14, 2011: Watson plays on Jeopardy and is managed by xCAT!
- xCAT Release Notes Summary
- xCAT OS And Hw Support Matrix
- xCAT Test Environment Summary
History
- Oct 22, 2010: xCAT 2.5 released.
- Apr 30, 2010: xCAT 2.4 is released.
- Oct 31, 2009: xCAT 2.3 released.
xCAT's 10 year anniversary! - Apr 16, 2009: xCAT 2.2 released.
- Oct 31, 2008: xCAT 2.1 released.
- Sep 12, 2008: Support for xCAT 2
can now be purchased! - June 9, 2008: xCAT breaths life into
(at the time) the fastest
supercomputer on the planet - May 30, 2008: xCAT 2.0 for Linux
officially released! - Oct 31, 2007: IBM open sources
xCAT 2.0 to allow collaboration
among all of the xCAT users. - Oct 31, 1999: xCAT 1.0 is born!
xCAT started out as a project in
IBM developed by Egan Ford. It
was quickly adopted by customers
and IBM manufacturing sites to
rapidly deploy clusters.