Clonfs: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
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:// | ([http://clonwiki/wiki/clondocs/Move2SILO/Move2SILO.ppt PowerPoint], | ||
[http:// | [http://clonwiki/wiki/clondocs/Move2SILO/Move2SILO.htm HTML], | ||
[http:// | [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. |
Revision as of 15:14, 5 March 2008
RAID subsystem: SUN StorEdge 3510FC.
Upper unit s/n: 1094MIL-052708764D, f/n: F46973.
Lower unit s/n: 1094MIL-0521087898, f/n: F46974.
Console access:
telnet clonfs password: usual su password
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 running Event Recorder there.
NOTE: Sudo must be configured to run scripts from clasrun account.