Friday, May 25, 2007

Setting per-node slot for SGE

Instead of disable hyper-threading, we can also
qconf -sq all.q

Then change the number after "hostname=" to appropriate value

Thursday, May 24, 2007

IPMI Tool

IPMI setup on Linux
  1. service ipmi start
  2. ipmitool -I open chassis status
  3. ipmitool -I open sdr list
  4. ipmitool -I open sensor list

Sunday, May 13, 2007

Solaris 10 Patch (update) management

คำสั่งที่สำคัญ
  1. pprosetup - Setup patch เช่น บอกให้รันทุกวัน ทุกเดือน ฯลฯ
  2. pprosvc - download & install patch (น่าจะคล้ายๆ yum)
  3. smpatch - ลง patch (ใช้เวลาที่ลง patch ไม่ได้)

Wednesday, May 02, 2007

Start GT4.0.4 container on WindowsXP

  • Request for hostcert on Windows machine
C:\GT4\bin>grid-cert-request -service host -host localhost -caEmail ca@hpcnc.cpe
.ku.ac.th -orgBaseDN "ou=ThaiGrid,o=Grid" -dir C:\GT4\etc\grid-security
  • Put hostcert to destined directory. Send cert request to CA to sign, put it back to C:\GT4\etc\grid-security\
  • Init proxy for globus container
C:\GT4\bin>grid-proxy-init -hours 2000 -cert C:\GT4\etc\grid-security\hostcert.p
em -key C:\GT4\etc\grid-security\hostkey.pem -out C:\GT4\etc\grid-security\hostp
roxy.pem
Your identity: O=Grid,OU=ThaiGrid,CN=host/localhost
Creating proxy, please wait...
Proxy verify OK
Your proxy is valid until Wed Jul 25 01:37:18 ICT 2007
Warning: Please check file permissions for your proxy file.
C:\GT4\bin>
  • Edit C:\GT4\bin\globus-start-container.bat. Modify X509_USER_CERT and X509_CA_CERT to point to correct directory
  • Start globus container
globus-start-container

Tuesday, May 01, 2007

Boot Linux without hyperthread

kernel /boot/vmlinuz-2.6.8-2-686 root=/dev/hdb1 ro single noht

SGE script to submit amber

#!/bin/bash
#$ -V
#$ -cwd
#$ -pe mpich 4
/opt/mpich/intel/bin/mpirun -np $NSLOTS -machinefile $TMPDIR/machines /share/apps/amber9/exe/sander.MPI -O -i min1.in -o min1.out -p 1jso.top -r 1jso_min1.rst -c 1jso.crd -ref 1jso.crd