UBC Physics & Astronomy
Medical Imaging Research Group Computer Info 
vchri.med.ubc.ca

The computers are in Offices 366 and 367, Research Pavilion, Vancouver General Hospital. 828 West 10th Avenue, vancouver. BC

To restart matlab license server on mirg-srv01 run:
- /opt/MATLAB/R2012b/etc/lmstart as user rap or,
- /etc/init.d/flexnet start

To update computers, run /root/update-servers on mirg-srv01

Host Name IP Address MAC Address Operating System User CPU RAM Hard Drive Video Card Notes
mirgserver 142.103.239.79 00:30:48:FF:DC:9E Scientific Linux 6.4 (64-bit) n/a AMD Opteron(TM) Processor 6274 128GB 1TB Nvidia Tesla C2075 nis server, matlab license server, home.mirg
mirg-srv01 137.82.91.6 00:13:72:83:AE:30 RedHat Enterprise Linux 6.4 (64-bit) n/a Intel Xeon @ 3.00GHz 8GB 450GB NVIDIA Corporation NV37GL [Quadro PCI-E Series] nis server & print server
zorok 137.82.90.22 00:16:76:D1:3C:43 Redhat 6.0 Enterprise Server   Intel Core 2 CPU 6400 @2.13GHz 8GB 2TB   backup server
mirg1 137.82.90.79 00:22:19:19:09:AA Windows 8.1 (64-bit)
Ubuntu 14.04 (64-bit)
Carlos Intel Core 2 Quad CPU Q9550 @2.83GHz x4 8GB 1TB Intel Q45/Q43  
mirg2 137.82.90.53 00:26:B9:80:8D:84 Windows 8.1 (64-bit)
Ubuntu 12.04 (64-bit)
Xinchi Intel Core 2 Duo E8600 @3.33GHz 8GB 250GB nVIDIA GeForce 9300 GE (G98)  
mirg3 137.82.90.105 00:23:AE:84:E6:44 Windows 8.1 (64-bit)
Ubuntu 12.04 (64-bit)
Hillgan Intel Xeon E5504 @2.00GHz x2 4GB 1.5TB nVIDIA Quadro FX1800; nVIDIA Tesla C1060  
mirg4 137.82.90.84 00:22:19:22:6C:4C Windows 8.1 (64-bit)
Ubuntu 12.04 (64-bit)
Pedro Intel Core 2 Quad CPU Q9550 @2.83GHz 8GB 250GB Intel Q45/Q43  
mirg5 137.82.90.3 84:2B:2B:B5:CD:90 Ubuntu 13.04 (64-bit) Sonoko Intel Core i7 870 @2.93GHz x8 8GB 500GB 2 ATI Radeon HD 4550  
mirg6 137.82.90.6 84:2B:2B:B5:B2:F8 Windows 7 (64-bit)
Ubuntu 12.04 (64-bit)
Jesse Intel Core i7 870 @2.93GHz x8 8GB 500GB 2 ATI Radeon HD 4550  
mirg7 137.82.90.5 00:50:BA:56:01:F4 Ubuntu 14.04 (32-bit) Sonoko Intel Core 2 Duo E6850 @3GHz 3GB 250GB nVIDIA  
mirg8 137.82.90.87 00:19:D1:1A:1C:0D Ubuntu 14.04 (64-bit) Wei Intel Core 2 CPU 6600 @2.40GHz 4GB 250GB ATI Radeon X1330/x1550 Series  
dell2330 137.82.90.100 00:21:B7:78:18:E5 printer           printer
samsung 137.82.90.101 00:15:99:D1:60:8B printer           printer

update-servers
#!/bin/bash
./update-servers-cmds | tee -a /var/log/update-servers.log
update-servers-cmd
#!/bin/bash
# Text color variables
# http://linuxtidbits.wordpress.com/2008/08/11/output-color-on-bash-scripts/
txtund=$(tput sgr 0 1)    # Underline
txtbld=$(tput bold)       # Bold
txtred=$(tput setaf 1)    # Red
bldred=${txtbld}$(tput setaf 1) #  bold red
txtgrn=$(tput setaf 2)    # Green
txtylw=$(tput setaf 3)    # Yellow
txtblu=$(tput setaf 4)    # Blue
bldblu=${txtbld}$(tput setaf 4) #  bold blue
txtpur=$(tput setaf 5)    # Purple
bldpur=${txtbld}$(tput setaf 5)    # bold Purple
txtcyn=$(tput setaf 6)    # Cyan
txtwht=$(tput setaf 7)    # White
txtrst=$(tput sgr0)       # Text reset
#
# http://linuxtidbits.wordpress.com/2008/08/13/output-color-on-bash-scripts-advanced/
# echo -e "\E[30m black \E[31mred \E[32mgreen \E[33myellow \E[34mblue \E[35mmagenta \E[36mcyan \E[37mwhite"
# echo -e "\E[30;41mblack on red"
#Color  Foreground      Background
#black       30            40
#red         31            41
#green       32            42
#yellow      33            43
#blue        34            44
#magenta     35            45
#cyan        36            46
#white       37            47

echo "${bldred}===============================================${txtrst}"
echo -n "Date: "
date
echo "${bldred}===============================================${txtrst}"
echo " "

#echo "${bldred}###############################################${txtrst}"
#echo -e "\033[47;5;34m mirg-srv01...                                       \033[0m"
#echo "${bldred}###############################################${txtrst}"
#yum -y -e 0 update

for SERVER in zorok
do
   echo "${bldred}###############################################${txtrst}"
   #echo "${bld}$SERVER...${txtrst}"
   echo -e "\033[47;5;34m $SERVER...                                       \033[0m"
   echo "${bldred}###############################################${txtrst}"
   #ssh -X root@$SERVER "up2date -u --nox"
   ssh -X root@$SERVER "yum -y -e 0 update"
done

for SERVER in carlos-mirg dimension dosimetry-pc march2011 optiplex simba tesla vostro
do
   echo "${bldred}###############################################${txtrst}"
   #echo "${bld}$SERVER...${txtrst}"
   echo -e "\033[47;5;34m $SERVER...                                       \033[0m"
   echo "${bldred}###############################################${txtrst}"
   ssh -X root@$SERVER "apt-get -q -y update"
   ssh -X root@$SERVER "apt-get -q -y upgrade"
done


echo " "
echo " "

webmaster@phas.ubc.ca [Dept. Home Page] Last updated: