Version 14 (modified by 11 years ago) (diff) | ,
---|
Creation d'un disque :
stratus-create-volume --size=6 --tag="Jenkins Dev" DISK 289691a0-f503-43b3-8269-d1a9827f2ff9
On peux le retrouver sur le web (login/mdp stratusLab)
https://pdisk.lal.stratuslab.eu:8445/pswd/disks/289691a0-f503-43b3-8269-d1a9827f2ff9/mounts/
L'ID de la machine Jenkins est "Fdku_AK8qDH73Y93vpn0jpZOzYf" (trouvée via https://marketplace.stratuslab.eu)
Lancer la machine avec ce disque persistant :
stratus-run-instance --type=c1.xlarge --persistent-disk=289691a0-f503-43b3-8269-d1a9827f2ff9 Fdku_AK8qDH73Y93vpn0jpZOzYf ::::::::::::::::::::::::: :: Starting machine(s) :: ::::::::::::::::::::::::: :: Starting 1 machine :: Machine 1 (vm ID: 1486) Public ip: 134.158.75.211 :: Done!
Lancer le service web Jenkins : 134.158.75.211:8080
Copier l'ancienne config de Jenkins :
- sur l'ancienne config
tar -czvf jobs.tgz jobs scp jobs.tgz root@134.158.75.211:jobs.tgz
- sur la machine virtuelle :
cd "jenkins_home"/jobs cd /var/lib/jenkins
Killer le serveur jenkins existant :
ps -ax | grep jenk kill …..
Le relancer :
service jenkins restart
Vérifier que tout est bon : http://134.158.75.211:8080
Installer les packages nécessaires pour la compilation de PSPA :
yum install gcc-c++ boost-devel.x86_64 wt-devel.x86_64 make.x86_64 gcc-gfortran.x86_64 subversion.x86_64 cmake.x86_64 qt.x86_64 openmotif-devel libX11-devel xerces-c-devel Coin2 expat-devel qt-devel Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package boost-devel.x86_64 0:1.41.0-11.el6_1.2 will be installed --> Processing Dependency: boost = 1.41.0-11.el6_1.2 for package: boost-devel-1.41.0-11.el6_1.2.x86_64 --> Processing Dependency: libboost_filesystem-mt.so.5()(64bit) for package: boost-devel-1.41.0-11.el6_1.2.x86_64 --> Processing Dependency: libboost_serialization-mt.so.5()(64bit) for package: boost-devel-1.41.0-11.el6_1.2.x86_64 --> Processing Dependency: libboost_prg_exec_monitor.so.5()(64bit) for package: boost-devel-1.41.0-11.el6_1.2.x86_64 --> Processing Dependency: libboost_wserialization.so.5()(64bit) for package: boost-devel-1.41.0-11.el6_1.2.x86_64 --> Processing Dependency: libboost_signals.so.5()(64bit) for package: boost-devel-1.41.0-11.el6_1.2.x86_64 …… Is this ok [y/N]: y Downloading Packages: (1/48): GraphicsMagick-1.3.17-1.el6.x86_64.rpm | 2.2 MB 00:01 (2/48): boost-1.41.0-11.el6_1.2.x86_64.rpm ……
Installation de cmt :
curl http://www.cmtsite.org/v1r25/CMTv1r25Linux-i686.tar.gz -o CMTv1r25Linux-i686.tar.gz
tar -xvf CMTv1r25Linux-i686.tar.gz
rm CMTv1r25Linux-i686.tar.gz
mv CMT/ /usr/local/.
ln -sf v1r25/ /usr/local/CMT/current
cd /usr/local/CMT/current/mgr/
./INSTALL