Clondaq2

From CLONWiki
Revision as of 17:49, 3 November 2007 by Boiarino (talk | contribs)
Jump to navigation Jump to search

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.

After Solaris installation:

1. Add following SILO-related lines to the /etc/auto_direct file:

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

Restart autofs:

svcadm restart system/filesystem/autofs

2. Make /raid/stage_in link:

cd /
ln -s /ssa/active raid

3. Make /mss link:

cd /
ln -s /w/mss mss

4. Adjust Sudo config file, it must contains following statements related to the SILO and Nagios operations:

# Host alias specification
Host_Alias EBER=clondaq1,clondaq2
# User alias specification
User_Alias RUNTIME=clasrun,clascron,nagios
# User privilege specification
root		ALL=(ALL) ALL
RUNTIME EBER=/usr/local/src/dumpdisk,\
	NOPASSWD:/usr/local/src/raid/checkraid,\
	NOPASSWD:/usr/local/src/raid/active,\
	NOPASSWD:/usr/local/src/raid/alert,\
	NOPASSWD:/usr/local/src/raid/clonput2,\
	NOPASSWD:/usr/local/src/raid/doublecheck,\
	NOPASSWD:/usr/local/src/raid/dumpstat.short,\
	NOPASSWD:/usr/local/src/raid/empty,\
	NOPASSWD:/usr/local/src/raid/enumoldest,\
	NOPASSWD:/usr/local/src/raid/graboldest,\
	NOPASSWD:/usr/local/src/raid/move2silo,\
	NOPASSWD:/usr/local/src/raid/oflcpy,\
	NOPASSWD:/usr/local/src/raid/postinsert,\ 
	NOPASSWD:/usr/local/src/raid/preinsert,\
	NOPASSWD:/usr/local/src/raid/redalert,\
	NOPASSWD:/apps/nrpe2.6/libexec/check_quota