Clon10: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 30: Line 30:
Install [[Procmail]].
Install [[Procmail]].


'''After every reboot''' (until included into startup scripts):
Start CODA-related services:
* msql (as 'root')
  /usr/local/clas/devel/coda/SunOS_sun4u/bin/run_daemon /usr/local/clas/devel/coda/SunOS_sun4u/bin/msqld >& /dev/null &
* smartsocket server (as 'clasrun')
rtserver -server_names clon10 >& /dev/null &





Revision as of 19:56, 3 January 2009

General purpose server: Sun Netra 240, property tag F423615, s/n 0742FMA032 (boot reports s/n 76547284, probably motherboard's ..).

Serial connection: 'ssh root:clon10@hallb-ts1'.

Installation

Network devices:

bge0 - clon10
bge1 - clon10-daq1
bge2 - clon10-daq2
bge3 - clon10-sl1

Install Solaris in according to Solaris Installation Procedure and Solaris Customization on CLON Cluster.

Configure and start slave DNS server and slave NIS server.

Install and start Bootp service.

Start Tftp service.

Install EtherLite32 software.

Configure Sudo (22-nov-2007 Sergey copied 'sudoers' file from the old clon10, need to clean it up !).

Export /data partition using NFS.

Start Nrpe service.

Install Procmail.


old info

General purpose server: SUN Enterprise 3500, 8x400MHz Ultra SPARC-II, 4GB RAM

General Information: [[1][Specifications]] [[2][System Hand Book]]

CLAS services to be started at boot time (not done yet !):

 rtserver
 msql daemon

Basic tasks:

Quick shutdown (with power down):

 # init 5
   (but you better stop Veritas Cluster first using "hastop" command)

Gracefull shutdown in 2 minutes (with power down):

 # shutdown -y -i 5 -g 120

To reboot use:

 # init 6

NFS Server:

 CLON10 exports /scratch to clon04 to be used by event_monitor, online recsis etc. It can be used by other nodes as well.
 If that partition was not exported (for example after clon10 reboot) type 'share /mnt/scratch'. The list of exported
 partitions can be viewed by typing 'share'. To mount /scratch on clon04 type 'mount clon10:/mnt/scratch /scratch'.

We are using CLON10 as NFS server to export RAID partitions to all other CLONs. Since we are mounting RAIDs via VERITAS CFS we have to be sure that VERITAS has started before exporting them. After Boot run

# sh /etc/dfs/dfstab.save


VERITAS Tips (OBSOLETE !):

Veritas Cluster consist of two servers CLON10 and CLON01, plus shared storage: raid0-6 and scratch
most binaries are located in /opt/VRTS/bin/
---+++  Shutdown Vertas Cluster on this host (as root only):
# hastop
---+++     on all hosts:
# hastop -all
---+++ Cluster status:
# hastatus -sum
---+++  Start cluster on the local node
# hastart 
---+++ Mount disk partition on cluster: on clon01 or clon10 type:
# cfsmount /mnt/raid2 [nodename]
---+++ Unmount disk partition: on clon01 or clon10 type:
# cfsumount /mnt/raid2 [nodename]
---+++ File System Check (FSCK)
# fsck -o full -F vxfs -y /dev/vx/rdsk/raid2/v1
---+++  Cluster communication:
primary channel - (Low Latency transport - LLT, privat network) - ethernet ports hme0 (/dev/hme:0)  on clon10 and eri0 (/dev/eri:0) on clon01
secondary channel - (Low Priority  - lowpri, over public network)  - ge1 (/dev/ge:1) on clon10 and ge0 (/dev/ge:0)  on clon01
---++ Data transfer to SILO:
---+++ Master Host
CLON01
---+++ program location
/usr/local/system/raid
---+++ program name
move2silo
---+++ log files
/usr/local/system/raid/logs
---+++ Manual start (as root from clon01):
# cd /ssa
# mv presilo1 gopresilo
# /usr/local/system/raid/move2silo >& /dev/null &
---+++ Manually move data from raid to SILO - example (as root from clon01):
Following command can be called several times for the same partition, it is harmless.
After it finished make sure that all files are on /mss/clas/g8b/data.
# /usr/local/system/raid/clonput2 /mnt/raid1/stage_in/* /mss/clas/g8b/data