Tags:
,
view all tags
---+ Storage Upgrade ---++Pools To change our pools to a 64 bits node host, important directories: * The pool directory. It contains a control/ directory with meta data, a data/ directory with data, a one or more setup files. * An entry in the pool_name_n.poollist (i.e. =spraid02.poollist=) file stored in the config/ directory of the dCache installation. This entry contains the path to the pool directory, the name of the pool and various settings. Follow these steps to move a pool. Let's assume you move pool POOL_1 from SOURCE to DEST. SOURCE and DEST may * Make sure the pool is shut down =/opt/d-cache/bin/dcache stop=. * Copy the directory containing POOL_1 from SOURCE to DEST (take care not to overwrite files at DEST). * Copy the SOURCE.poollist file from SOURCE to DEST (you can add more pools in this same file) * Restart the pools at DEST Important: Do not start the pool at SOURCE after you moved the files. * Another possibility is using [[http://www.dcache.org/manuals/Book/cookbook/cb-pool-vacate.shtml][dcache !CopyManager]] to just copy POOL_1 from SOURCE to DEST. ---++ Admin It means that we want to migrate our PNFs to a different host, so we need to export our database. In our SOURCE admin it is done like a <pre> /opt/d-cache/bin/dcache stop /opt/pnfs/bin/pnfs stop pg_dump -U pnfsserver admin >admin.dump pg_dump -U pnfsserver data1 >data1.dump </pre> now inject it in your fresh install DEST admin node (we assume that all configuration files are set up) <pre> dropdb -U pnfsserver admin dropdb -U pnfsserver data1 createdb -U postgres admin createdb -U postgres data1 psql -U postgres admin<admin.dump psql -U postgres data1<data1.dump </pre> and restart your pnfs system. * May be consider change to a Chimera , following these instructions http://trac.dcache.org/projects/dcache/wiki/pnfsDump2MigratePnfs2Chimera ---++ Upgrade http://www.sprace.org.br/Twiki/bin/viewfile/Main/EntryDescriptionNo77?rev=1;filename=sprace_distribuicao.jpg ---++ Guidelines Postgres <pre> cd /tmp/ wget http://yum.pgsqlrpms.org/reporpms/8.3/pgdg-centos-8.3-4.noarch.rpm rpm -ivh pgdg-centos-8.3-4.noarch.rpm yum install postgresql postgresql-server chkconfig postgresql on service postgresql initdb chkconfig postgresql on && service postgresql start /usr/bin/postgres --version </pre> Java <pre> chmod +x jdk-6u12-linux-x64-rpm.bin ./jdk-6u12-linux-x64-rpm.bin java -version </pre> PNFS It is know a dependency with an =libpq.so.4= for 32 bits. The first workaround is include a symbolic link of =/usr/lib64/libpq.so.4= to =/usr/lib/libpq.so.4= . The second one is install pnfs-postgresql using =rpm -ivh --nodeps= . ---++Updates ---+++Fulano em dd/mm/aaaa Coloca o que fez. ---+++Ciclano em dd/mm/aaaa Mais comentarios -- Main.MarcoAndreFerreiraDias - 23 Feb 2009
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
jpg
sprace_distribuicao.jpg
r1
manage
93.0 K
2009-02-28 - 02:07
UnknownUser
Edit
|
Attach
|
P
rint version
|
H
istory
:
r8
|
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r4 - 2009-03-02
-
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