Clondaq2: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
No edit summary
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Clondaq2 is X4200 server running Solaris, s/n: 0546AM0732, f/n: F46975. It is second DAQ server serving mostly to run Event Recorder and handle SILO traffic.
Clondaq2 is X4200 server running Solaris, s/n: 0626AM2523, f/n: F46985. It is second DAQ server serving mostly to run Event Recorder and handle SILO traffic.
 
Network ports:
 
clondaq2      - e1000g0
clondaq2-daq1 - ixgb0 (10GBit; was e1000g1 while 1GBit)
clondaq2-daq2 - e1000g2


After Solaris installation:
After Solaris installation:


1. Add following SILO-related lines to the ''/etc/auto_direct'' file:
1. Create ''/ssa'' directory and make following links there:
 
cd /ssa
ln -s /mnt/raid0 active
ln -s /mnt/raid1 epmty
ln -s /mnt/raid2 postsilo1
ln -s /mnt/raid3 postsilo2
 
2. Create two files in ''/ssa'' directory:


/usr/local/mss          -rw,bg  clonfs2:/vol/vol0/local/mss
''/ssa/ENVIRONMENT'' contains:
/ssa                    -rw,bg  clonfs2:/vol/vol0/ssa


Restart autofs:
set PARTITIONS = " raid0 raid1 raid2 raid3 "
set LOGFILE = "/ssa/logfile"
set CLON_LOG = "/usr/clas/logs"


svcadm restart system/filesystem/autofs
''/ssa/STUB.TARGET'' contains:


2. Make ''/raid/stage_in'' link:
/mss/clas/dvcs2/data
 
(or whatever run period you are in)
 
3. Make ''/raid/stage_in'' link:


  cd /
  cd /
  ln -s /ssa/active raid
  ln -s /ssa/active raid


3. Make ''/mss'' link:
4. Make ''/mss'' link:


  cd /
  cd /
  ln -s /w/mss mss
  ln -s /w/mss mss


4. Adjust ''/opt/sfw/etc/sudoers'' file, it must contains following statements related to the SILO operations:
5. Adjust [[Sudo]] config file.
 
6. Make sure [[ZFS]] RAID partitions are mounted.
 
7. [[Routing]] must be adjusted to make sure input and output traffics are taking different routes.
 
8. [[automounts]] settings must be modified for clondaq2: new file ''/etc/auto_stage'' must be created with following contents:
 
stage0 -rsize=1048576,wsize=1048576 sfs61:/export/stage
stage1 -rsize=1048576,wsize=1048576 sfs56:/export/stage
stage2 -rsize=1048576,wsize=1048576 sfs59:/export/stage
+auto.w.ep
 
and in file ''/etc/auto_master'' instead of ''/w      auto.w.ep'' must use ''/w      /etc/auto_stage''.


xxx
'''NOTE''': June 6, 2010 10GBit connection was lost (clondaq2-daq1), Bryan Hess checked it and found that unplugging/plugging helps; he replaced cable just in case, well watch it (I think it is not the first time ...)

Latest revision as of 09:23, 7 June 2010

Clondaq2 is X4200 server running Solaris, s/n: 0626AM2523, f/n: F46985. It is second DAQ server serving mostly to run Event Recorder and handle SILO traffic.

Network ports:

clondaq2      - e1000g0
clondaq2-daq1 - ixgb0 (10GBit; was e1000g1 while 1GBit)
clondaq2-daq2 - e1000g2

After Solaris installation:

1. Create /ssa directory and make following links there:

cd /ssa
ln -s /mnt/raid0 active
ln -s /mnt/raid1 epmty
ln -s /mnt/raid2 postsilo1
ln -s /mnt/raid3 postsilo2

2. Create two files in /ssa directory:

/ssa/ENVIRONMENT contains:

set PARTITIONS = " raid0 raid1 raid2 raid3 "
set LOGFILE = "/ssa/logfile"
set CLON_LOG = "/usr/clas/logs"

/ssa/STUB.TARGET contains:

/mss/clas/dvcs2/data

(or whatever run period you are in)

3. Make /raid/stage_in link:

cd /
ln -s /ssa/active raid

4. Make /mss link:

cd /
ln -s /w/mss mss

5. Adjust Sudo config file.

6. Make sure ZFS RAID partitions are mounted.

7. Routing must be adjusted to make sure input and output traffics are taking different routes.

8. automounts settings must be modified for clondaq2: new file /etc/auto_stage must be created with following contents:

stage0 -rsize=1048576,wsize=1048576 sfs61:/export/stage
stage1 -rsize=1048576,wsize=1048576 sfs56:/export/stage
stage2 -rsize=1048576,wsize=1048576 sfs59:/export/stage
+auto.w.ep

and in file /etc/auto_master instead of /w auto.w.ep must use /w /etc/auto_stage.

NOTE: June 6, 2010 10GBit connection was lost (clondaq2-daq1), Bryan Hess checked it and found that unplugging/plugging helps; he replaced cable just in case, well watch it (I think it is not the first time ...)