Tags:
create new tag
,
view all tags
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 <pre> 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 </pre> 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: <pre> 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 </pre> (o script entra em loop se encontra links simbolicos) <pre> 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 " </pre> Na spraid02: <pre> 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 </pre> ---++Updates ---+++Fulano em dd/mm/aaaa Coloca o que fez. ---+++Ciclano em dd/mm/aaaa Mais comentarios -- Main.MarcoAndreFerreiraDias - 29 May 2008
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2008-05-29
-
MarcoAndreFerreiraDias
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback