Entry Template

MIgração do /OSG_app e Criação do novo Pool

Description

Criar espaco na spraid02 para novo pool, pois esta alojava anteriormente o OSG_app
mkdir /home/OSG_app
cd /home/OSG_app/
mkdir app  data  pool  read  write
chmod 1777  app  data  pool  read  write
nohup rsync -Cravzp /raid0/OSG/ /home/OSG_app/ &
unlink /usr/local/share/OSG
ln -s /home/OSG_app /usr/local/share/OSG
vim /OSG/monitoring/osg-attributes.conf
vim /OSG/monitoring/grid3-info.conf
Ir localizando os files que fazem referencia ao antigo diretorio e trocando suas entradas (tanto no /OSG, quanto debaixo do /home/OSG_app), usando /ro t/rename.sh:
grep "/raid0/OSG" -clr * > rename.temp
for i in `cat rename.temp`
do
sed -i 's/raid0\/OSG/home\/OSG_app/g' $i
done
rm rename.temp
(o script entra em loop se encontra links simbolicos)
umount /raid0/
ln -s /home/OSG_app /raid0/OSG
vim /etc/fstab

clcmd umount -l /raid0
clcmd ln -s /home/OSG_app /raid0/OSG
clcmd "sed -i '/storage02/D' /etc/fstab "
Na spraid02:
vim /etc/exports
/etc/init.d/nfs restart
rm -rf /raid0/OSG/
/etc/init.d/dcache-pool stop
vim /opt/d-cache/config/spraid02.poollist
vim /opt/d-cache/etc/pool_path
/etc/init.d/dcache-pool start

Updates

Fulano em dd/mm/aaaa

Coloca o que fez.

Ciclano em dd/mm/aaaa

Mais comentarios

-- MarcoAndreFerreiraDias - 29 May 2008

Topic revision: r1 - 2008-05-29 - MarcoAndreFerreiraDias
 

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback

antalya escort bursa escort eskisehir escort istanbul escort izmir escort