Clonfs1: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
'''NOTE''': if exporting ''hostname'' is not registered officially (does not recognized by ''nslookup''), it must be described in clonfs1's ''/etc/hosts'' file ! | '''NOTE''': if exporting ''hostname'' is not registered officially (does not recognized by ''nslookup''), it must be described in clonfs1's ''/etc/hosts'' file ! | ||
'''NOTE''': after changing ''/etc/netgroup'' or ''/etc/exports'' (see below) do ''ssh root@clonfs1'' and execute command ''exportfs -a''. If not exported, try following trick: add some existing machine (clon10 for example) to the ''/etc/exports'' to all entries, and do ''exportfs -a''. Next time change clon10 to clon00, | '''NOTE''': after changing ''/etc/netgroup'' or ''/etc/exports'' (see below) do ''ssh root@clonfs1'' and execute command ''exportfs -a''. If not exported, try following trick: add some existing machine (clon10 for example) to the ''/etc/exports'' to all entries, and do ''exportfs -a''. Next time change clon10 to clon00, and so on. | ||
Clonfs1 has following volumes: | Clonfs1 has following volumes: |
Revision as of 16:12, 2 January 2012
Clonfs1 is the main file server for the clon cluster. It holds /home, /local etc directories for all clon machines. It can be managed using link http://clonfs1/na_admin/. Its /etc directory and volumes are mounted on clon00 and clon10 under /mnt/admin.
NOTE: if exporting hostname is not registered officially (does not recognized by nslookup), it must be described in clonfs1's /etc/hosts file !
NOTE: after changing /etc/netgroup or /etc/exports (see below) do ssh root@clonfs1 and execute command exportfs -a. If not exported, try following trick: add some existing machine (clon10 for example) to the /etc/exports to all entries, and do exportfs -a. Next time change clon10 to clon00, and so on.
Clonfs1 has following volumes:
apps (backup by CC) - contains machine-dependent packages not installed into /usr/local area
archives (backup by CC) - contains occupancy/recon plots and other files we want to preserve
clas (backup by CC) - contains clas-specific contents (/usr/clas/parms, /usr/clas/devel etc)
clonweb (backup by CC) - directory mounted on clonweb machine as /www
clonwiki (backup by CC) - directory mounted on clonwiki machine as /wiki
downloads (backup by CC) - contains various downloaded files
home (backup by CC) - contains home directories for all clon users
local (backup by CC) - contains machine-dependent /usr/local/bin, /usr/local/lib etc directories for various operating systems used on clon machines
logs - contains log files from various clon systems
mysql (backup by CC) - contains backups from mysql server machine(s)
scratch - scratch disk
work - work disk
/etc/netgroup example:
main_servers (clon00,,) (clon10,,) # main server machines, mounts clonfs1 volumes at /mnt/admin SunOS_sun4u (clon00,,) (clon01,,) (clon02,,) (clon03,,) (clon05,,) (clon06,,) (clon10,,) (clon20,,) (clasonl1,,) (wolfram,,) # Sparc machines under Solaris SunOS_i86pc (clondaq1,,) (clondaq2,,) (clonmon1,,) (claspc7,,) # Intel machines under Solaris Linux_i686 (clonusr1,,) (clon04,,) (clonpc1,,) (clonpc2,,) (clonpc3,,) (clonpc6,,) (clonpc8,,) (clonmon-intranet,,) (clonweb,,) (clonwiki,,) (clondb2,,) (torusmonitor,,) # 32-bit Intel machines under Linux Linux_x86_64 (clondb1,,) # 64-bit Intel machines under Linux Linux_ppc (clonpc4,,) # PowerPC machines under Linux Darwin_powerpc (clonpc7,,) # PowerPC machines under Mac OS X clons SunOS_sun4u SunOS_i86pc Linux_i686 Linux_x86_64 Linux_ppc Darwin_powerpc rocs (bonuspc1,,) (bonuspc2,,) (clastrig2,,) (clas_sc1,,) (clastrig1,,) (camac2,,) (camac1,,) (cc1,,) (croctest1,,) (croctest2,,) (croctest3,,) (croctest4,,) (croctest5,,) (dc1,,) (dc10,,) (dc11,,) (dc2,,) (dc3,,) (dc4,,) (dc5,,) (dc6,,) (dc7,,) (dc8,,) (dc9,,) (ec1,,) (ec2,,) (dccntrl,,) (lac1,,) (pretrig1,,) (pretrig2,,) (sc1,,) (scaltag,,) (tage,,) (scaler1,,) (scaler2,,) (scaler3,,) (scaler4,,) (polar,,) (sc-laser1,,) (camac3,,) (camac4,,)
/etc/exports example:
/vol/vol0 -sec=sys,rw=clon00:clon10:ccs10,root=clon00:clon10:ccs10,nosuid /vol/home -sec=sys,rw=clons,anon=0 /vol/local -sec=sys,rw=clons,anon=0 /vol/downloads -sec=sys,rw=clons,anon=0 /vol/clas -sec=sys,rw=clons,anon=0 /vol/apps -sec=sys,rw=clons,anon=0 /vol/work -sec=sys,rw=clons,anon=0 /vol/scratch -sec=sys,rw=clons,anon=0 /vol/logs -sec=sys,rw=clons,anon=0 /vol/mysql -sec=sys,rw=clons,anon=0 /vol/archives -sec=sys,rw=clons,anon=0 /vol/clonweb -sec=sys,rw=clons,anon=0 /vol/clonwiki -sec=sys,rw=clons,anon=0