New begrid cb

From Begrid Wiki
Jump to navigationJump to search

Upgrading the Centralised Begrid repository (e.g. CB4 to CB5)

Make pxe images

pxe-images-v1.tar

Create a new empty project repository in subversion (svn)

svnadmin create centralised-begrid-v5
chown -R apache.apache centralised-begrid-v5

Checkout the current repository (svn co) or export them as file

mkdir /tmp/struct
svn co /var/www/svn/centralised-begrid-v4/
svn export file:///var/www/svn/centralised-begrid-v4/

Delete the old repository

rm -Rf centralised-begrid-v4/
svn import . file:///var/www/svn/centralised-begrid-v5/ -m "Initial commit CB4 r766"

Copy the necessary RPMs

cd /var/www/html/begrid/install/apt/
mkdir RPMS.cb-v5_i386_sl5
cp RPMS.cb-v4_i386_sl5/perl-SINDES-* RPMS.cb-v5_i386_sl5
cp RPMS.cb-v4_i386_sl5/SINDES-* RPMS.cb-v5_i386_sl5
cp RPMS.cb-v4_i386_sl5/jdk-* RPMS.cb-v5_i386_sl5
cp ../../Central_BEGrid_Repository/i386_homebrew_el5/cb-client-* RPMS.cb-v5_i386_sl5/
[cp ../../../Central_BEGrid_Repository/i386_homebrew_el5/cb-client-*5.*rpm .
]
./make_repos.sh
ln -s /var/www/html/begrid/swrep/i386_dag_el5/ RPMS.dag_i386_el5
./make_repos.sh RPMS.dag_i386_el5/

Get the PXE image tarball

/var/www/html/begrid/install/
wget http://l-ce.iihe.ac.be/pxe-images-v1.tar
./make_repos.sh RPMS.cb-v5_i386_sl5
cd RPMS.cb-v5_i386_sl5/
cp ../../../Central_BEGrid_Repository/i386_homebrew_el5/cb-client-*5.*rpm .
cp -f ../../../Central_BEGrid_Repository/i386_homebrew_el5/aii*rpm .
/bin/cp -f ../../../Central_BEGrid_Repository/i386_homebrew_el5/aii*rpm .
/bin/cp -f ../../../Central_BEGrid_Repository/i386_homebrew_el5/cb*rpm .
./make_repos.sh RPMS.cb-v5_i386_sl5

Config files

emacs cb-client-sl5.spec 


This a draft


Template:TracNotice