Clonfs: Difference between revisions
No edit summary |
No edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
RAID subsystem: SUN StorEdge 3510FC | RAID subsystem: SUN StorEdge 3510FC. | ||
Upper unit s/n: 1094MIL-052708764D, f/n: F46973. | |||
Lower unit s/n: 1094MIL-0521087898, f/n: F46974. | |||
'''NOTE:''' on April 23, 2010 both power supplies on bottom unit went off; Paul Letta unplugged both cords, flip switches, they came back. It may be not the first time. Execise that procedure if raid goes down again. | |||
Console access: | Console access: | ||
Line 5: | Line 11: | ||
telnet clonfs | telnet clonfs | ||
password: usual su password | password: usual su password | ||
Mount: it is mounted on clondaq2 only as [[ZFS]] file system. | |||
'''Move2SILO''' | '''Move2SILO''' | ||
Line 12: | Line 20: | ||
hardware. Current version resides in ''/usr/local/src/raid'' on Opteron Solaris machines, | hardware. Current version resides in ''/usr/local/src/raid'' on Opteron Solaris machines, | ||
including README with logic description, and following document has more information: | including README with logic description, and following document has more information: | ||
([http://clonwiki/wiki/clondocs/Move2SILO/Move2SILO.ppt PowerPoint], | |||
[http://clonwiki/wiki/clondocs/Move2SILO/Move2SILO.htm HTML], | |||
[http://clonwiki/wiki/clondocs/Move2SILO/Move2SILO.pdf pdf]). | |||
CUE directory ''/w/mss'' must be mounted and link ''/mss -> /w/mss'' must be created. | CUE directory ''/w/mss'' must be mounted and link ''/mss -> /w/mss'' must be created. | ||
Work area for the procedure is ''/ssa''. File ''/ssa/ENVIRONMENT'' contains some environment definitions including list of raid partitions, it must be modified if partitions added, removed or renamed. File ''/ssa/STUB.TARGET'' contains directory name on SILO where data will be moved, it must be modified before every run period. | Work area for the procedure is ''/ssa''. File ''/ssa/ENVIRONMENT'' contains some environment definitions including list of raid partitions, it must be modified if partitions added, removed or renamed. File ''/ssa/STUB.TARGET'' contains directory name on SILO where data will be moved, it must be modified before every run period, and Computer Center must be asked to create appropriate directory on SILO. | ||
Procedure will send a page and email in case of trouble. Data can be moved manually using script ''clonput2'' provided by Computer Center (Bryan Hess) and stored along with other scripts, for example do following as ''root'' (or as ''clasrun'' through ''sudo''): | Procedure will be activated every time when Event Recorder opens new file. Event Recorder calles script ''checkdisk'' which calls script ''usr/local/src/raid/checkraid'' and procedure starts. It will send a page and email in case of trouble. Data can be moved manually using script ''clonput2'' provided by Computer Center (Bryan Hess) and stored along with other scripts, for example do following as ''root'' (or as ''clasrun'' through ''sudo''): | ||
clonput2 /mnt/raid1/stage_in/clas_012345.* /mss/clas/e99/data | clonput2 /mnt/raid1/stage_in/clas_012345.* /mss/clas/e99/data | ||
Please note that software provided by Computer Center's is machine dependent. It resides in ''usr/local/mss'' and currently supports Linux and Opteron Solaris. Sparc Solaris was supported in the past but currently turned off because we are not | Please note that software provided by Computer Center's is machine dependent. It resides in ''usr/local/mss'' and currently supports Linux and Opteron Solaris. Sparc Solaris was supported in the past but currently turned off because we are not using SILO there. | ||
'''NOTE''': [[Sudo]] must be configured to run scripts from ''clasrun'' account. |
Latest revision as of 12:18, 20 May 2011
RAID subsystem: SUN StorEdge 3510FC.
Upper unit s/n: 1094MIL-052708764D, f/n: F46973.
Lower unit s/n: 1094MIL-0521087898, f/n: F46974.
NOTE: on April 23, 2010 both power supplies on bottom unit went off; Paul Letta unplugged both cords, flip switches, they came back. It may be not the first time. Execise that procedure if raid goes down again.
Console access:
telnet clonfs password: usual su password
Mount: it is mounted on clondaq2 only as ZFS file system.
Move2SILO
Set of scripts was developed by Mike Johnson to manage data moving from RAID to SILO. It was modified by Vladimir Sapunenko and later by Sergey Boyarinov to accomodate new hardware. Current version resides in /usr/local/src/raid on Opteron Solaris machines, including README with logic description, and following document has more information: (PowerPoint, HTML, pdf).
CUE directory /w/mss must be mounted and link /mss -> /w/mss must be created.
Work area for the procedure is /ssa. File /ssa/ENVIRONMENT contains some environment definitions including list of raid partitions, it must be modified if partitions added, removed or renamed. File /ssa/STUB.TARGET contains directory name on SILO where data will be moved, it must be modified before every run period, and Computer Center must be asked to create appropriate directory on SILO.
Procedure will be activated every time when Event Recorder opens new file. Event Recorder calles script checkdisk which calls script usr/local/src/raid/checkraid and procedure starts. It will send a page and email in case of trouble. Data can be moved manually using script clonput2 provided by Computer Center (Bryan Hess) and stored along with other scripts, for example do following as root (or as clasrun through sudo):
clonput2 /mnt/raid1/stage_in/clas_012345.* /mss/clas/e99/data
Please note that software provided by Computer Center's is machine dependent. It resides in usr/local/mss and currently supports Linux and Opteron Solaris. Sparc Solaris was supported in the past but currently turned off because we are not using SILO there.
NOTE: Sudo must be configured to run scripts from clasrun account.