Number of enclosures on adapter 0 -- 1 Enclosure 0: Device ID : 252 Number of Slots : 8 Number of Power Supplies : 0 Number of Fans : 0 Number of Temperature Sensors : 0 Number of Alarms : 0 Number of SIM Modules : 1 Number of Physical Drives : 8 Status : Normal Position : 1 Connector Name : Unavailable Enclosure type : SGPIO FRU Part Number : N/A Enclosure Serial Number : N/A ESM Serial Number : N/A Enclosure Zoning Mode : N/A Partner Device Id : Unavailable Inquiry data : Vendor Identification : LSI Product Identification : SGPIO Product Revision Level : N/A Vendor Specific :
megaraid-health OK - VirtualDrives=1, Degraded=0, Offline=0, PhysicalDevices=9, Disks=8, CriticalDisks=0, FailedDisks=0, MemoryCorrectableErrors=0, MemoryUncorrectableErrors=0
root@ds2:/usr/local/bin# smart-stats Serial number: 9WM42V1N0000C125CCH8 SMART Health Status: OK Serial number: 9WM4TRM700009135XXTV SMART Health Status: OK Serial number: 9WM447WN0000C13214PR SMART Health Status: OK Serial number: 9WM4V3LX00009135X4YB SMART Health Status: OK Serial number: 9WM42TQT000091275Z7P SMART Health Status: OK Serial number: 9WM43CWT00009131MMC0 SMART Health Status: OK Serial number: 9WM452XP00009124TU12 SMART Health Status: OK Serial number: 9WM52T4F00009135XMR9 SMART Health Status: OK
root@ds2:/usr/local/bin# MegaCli64 -PDList -aALL | grep "Inquiry Data" Inquiry Data: SEAGATE ST32000444SS 00069WM42V1N Inquiry Data: SEAGATE ST32000444SS 00069WM4TRM7 Inquiry Data: SEAGATE ST32000444SS 00069WM447WN Inquiry Data: SEAGATE ST32000444SS 00069WM4V3LX Inquiry Data: SEAGATE ST32000444SS 00069WM42TQT Inquiry Data: SEAGATE ST32000444SS 00069WM43CWT Inquiry Data: SEAGATE ST32000444SS 00069WM452XP Inquiry Data: SEAGATE ST32000444SS 00069WM52T4F
oot@ds2:~# parted -l Model: SMC SMC2108 (scsi) Disk /dev/sda: 12.0TB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 1000MB 999MB ext4 BOOT 2 1000MB 97.0GB 96.0GB linux-swap(v1) 3 97.0GB 12.0TB 11.9TB ext4 ROOT
See Raid Monitoring Section
This section was created on: Mon Dec 5 10:02:13 2011
WARNING DO NOT EDIT THIS TEXT - created using the updates2twiki script
APT=/etc/apt/sources.list # The new mirror site we want to use MIRROR=mirror.cs.uwaterloo.ca # Updating the Apt Repository Sources to use the CS sponsered local mirror sed_file "s/..\.archive.ubuntu.com/$MIRROR/" "$APT" # Update Package list apt-get -y -q update >/dev/null 2>&1 apt-get -y -q install aptitude
add-apt-repository ppa:mozillateam/firefox-stable add-apt-repository ppa:mozillateam/thunderbird-stable apt-get -y -q update >/dev/null 2>&1
wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/`lsb_release -c -s`.list apt-get -y -q update >/dev/null 2>&1 apt-get -y -q --allow-unauthenticated install medibuntu-keyring apt-get -y -q update >/dev/null 2>&1 apt-get -y -q install app-install-data-medibuntu \ apport-hooks-medibuntu
add-apt-repository ppa:ubuntu-wine/ppa
add-apt-repository "deb http://archive.canonical.com/ `lsb_release -c -s` partner" apt-get -y -q update >/dev/null 2>&1
aptitude -q --with-recommends install wine
# Multimedia Sound and Video # This will creaqte a conflict with # libavutil-extra-50: Conflicts: libavutil50 # libavcodec-extra-52: Conflicts: libavcodec52 # See: http://ubuntuforums.org/showthread.php?t=1672755 # And: https://code.launchpad.net/~cjwatson/ubuntu-seeds/ubuntustudio.natty-ffmpeg/+merge/50932 # echo Answer Y to: echo Keep the following packages at their current version: echo 1- 'libavcodec52 [Not Installed]' echo 2- 'libavutil50 [Not Installed]' aptitude -q --with-recommends install w64codecs non-free-codecs \ app-install-data-medibuntu apport-hooks-medibuntu
aptitude -q --with-recommends install aacgain aacplusenc alsa-firmware \ ices \ pulseaudio pulseaudio-module-zeroconf \ pulseaudio-utils libdvdcss2 libdvdcss-dev mencoder mplayer mplayer-doc \ realplayer totem totem-common totem-gstreamer totem-mozilla \ totem-plugins vlc vlc-plugin-pulse
aptitude -q --with-recommends install chromium-browser firefox thunderbird \ chromium-codecs-ffmpeg-extra chromium-codecs-ffmpeg-nonfree \ ca-certificates ca-certificates-java
# or flashplugin-nonfree aptitude -q --with-recommends install flashplugin-installer
aptitude -q --with-recommends install googleearth-package
# See: https://help.ubuntu.com/community/SSHFS # See: https://www.cs.uwaterloo.ca/twiki/view/CF/SshFs aptitude -q --with-recommends install openssh-server sshfs openssh-client \ openssl sshmenu-gnome hotssh
# Note: currently these ssh_known_hosts* files are updated regularly three times per month. wget -q -O /etc/ssh/ssh_known_hosts \ https://www.cs.uwaterloo.ca/cscf/software/ssh/data/ssh_known_hosts wget -q -O /etc/ssh/ssh_known_hosts2 \ https://www.cs.uwaterloo.ca/cscf/software/ssh/data/ssh_known_hosts2
aptitude -q --with-recommends install xtightvncviewer xvnc4viewer vino \ vinagre xrdp
aptitude -q --with-recommends install cpudyn sensors-applet cpuburn \ fancontrol hdparm hwinfo laptop-detect lm-sensors lshw \ notification-daemon notify-osd notify-osd-icons pm-utils \ smartmontools testdisk sysstat iotop # ntop requires a web interface and admin password # So do we want this ? # aptitude -q --with-recommends install ntop
aptitude -q --with-recommends install build-essential fakeroot gdb \ make patch git rcs subversion subversion-tools
aptitude -q --with-recommends install openjdk-6-jdk openjdk-6-jre \ java-common java-wrappers perl perl-base perl-modules perlmagick \ python tcl tk
aptitude -q --with-recommends install ocaml ocaml-base ocaml-base-nox \ ocaml-compiler-libs ocaml-findlib ocaml-interp \ ocaml-native-compilers ocaml-nox ocaml-batteries-included \ ocaml-core ocaml-findlib-wizard ocaml-libs ocaml-mode \ ocaml-tools ocaml-ulex ocaml-ulex08 ocamldsort ocamlduce \ ocamlduce-base ocamlgraph-editor ocamlmakefile ocamlviz \ ocamlwc ocamlweb ocaml-book-en ocaml-doc
aptitude -y -q install sun-java6-bin sun-java6-jre sun-java6-plugin
aptitude -q --with-recommends install reiserfsprogs ntfs-3g ntfsprogs \ rsnapshot rsync lvm2 mtools smbclient smbfs fuse-utils \ dosfstools chkconfig debsums diffutils findutils lsof # For fuse users how what to access their sshfs share when becoming root # edit /etc/fuse.conf and uncomment user_allow_other
aptitude -q --with-recommends install f-spot gimp gimp-data gimp-help-common \ gimp-help-en gscan2pdf imagemagick sane sane-utils transfig xsane \ xsane-common unpaper
aptitude -q --with-recommends install dvd+rw-tools brasero brasero-common \ cdparanoia cdrdao dvd+rw-tools
aptitude -q --with-recommends install usb-creator-common \ usb-creator-gtk usbmuxd
aptitude -q --with-recommends install bzip2 gzip bzip2 gzip \ p7zip-full p7zip-rar unzip zip cpio tar cabextract
aptitude -q --with-recommends install vuze tracker tracker-search-tool \ transmission-common transmission-gtk
aptitude -q --with-recommends install \ libopencore-amrnb-dev libopencore-amrnb0 libopencore-amrnb0-dbg \ libopencore-amrwb-dev libopencore-amrwb0 libopencore-amrwb0-dbg
aptitude -q --with-recommends install \ speech-dispatcher brltty-speechd cl-speech-dispatcher \ gnome-speech-swift libgnome-speech-dev libgnome-speech7 \ speech-dispatcher-festival speech-dispatcher-flite \ speech-tools speech-tools-doc speechd-el
echo gizmo5 may not exist - ignore the error aptitude -q --with-recommends install gizmo5 skype
aptitude -q --with-recommends install dc bc units mathpiper \ apcalc apcalc-common apcalc-dev calcoo extcalc python-mpmath \ python-mpmath-doc rpncalc # Do we want the science-numericalcomputation # package ? # The science-mathamatics package create WAY WAY too many conflicts # science-mathematics science-mathematics-dev
aptitude -q --with-recommends install mysql-client \ sqlite sqlite3
aptitude -q --with-recommends install acroread \ acroread-common acroread-fonts \ # PDF utils aptitude -q --with-recommends install evince pdfedit gscan2pdf \ pdf2djvu pdf2svg pdfchain pdfcube pdfgrep pdfjam pdfmod \ pdfposter pdfsam pdfshuffler pdftk pod2pdf qpdf # XPDF breaks cups # xpdf xpdf-common xpdf-reader xpdf-utils # Non Existant #acroread-plugins acroread-fonts acroread-dictionary-en # acroread-l10n-en mozilla-acroread
# Install Office - depending on version RELEASENO=`lsb_release -rs` if compare_ge $RELEASENO 10.04 then echo Installing LibreOffice apt-get install libreoffice \ libreoffice-writer2latex libreoffice-writer2xhtml \ libreoffice-pdfimport libreoffice-wiki-publisher \ libreoffice-emailmerge libreoffice-evolution \ libreoffice-java-common libreoffice-filter-mobiledev \ libreoffice-mysql-connector libreoffice-sdbc-postgresql else echo Installing OpenOffice echo apt-get install openoffice,org \ openoffice.org-writer2latex openoffice.org-writer2xhtml \ openoffice.org-pdfimport openoffice.org-wiki-publisher \ openoffice.org-emailmerge openoffice.org-evolution \ openoffice.org-java-common \ openoffice.org-filter-mobiledev \ openoffice.org-mysql-connector openoffice.org-sdbc-postgresql fi
aptitude -q --with-recommends install gedit gedit-common \ gedit-dev gedit-developer-plugins gedit-latex-plugin gedit-plugins
aptitude -q --with-recommends install emacs23 \ emacs23-bin-common emacs23-common emacs23-el
aptitude -q --with-recommends install vim vim-common vim-dbg \ vim-doc vim-gnome vim-gui-common vim-runtime vim-tiny \ vim-addon-manager vim-gtk vim-latexsuite \ vim-nox vim-scripts vim-syntax-gtk vim-vimoutliner vim-puppet
aptitude -q --with-recommends install gedit groff-base less nano tomboy
aptitude -q --with-recommends install ghostscript gv ps2eps antiword
aptitude -q --with-recommends install aspell aspell-en dictionaries-common
aptitude -q --with-recommends install acct adduser
aptitude -q --with-recommends install gnupg # TODO Denyhosts - need to get whitelists and updated config files # aptitude -q --with-recommends install
aptitude -q --with-recommends install \ texlive texlive-base texlive-bibtex-extra texlive-common \ texlive-doc-base texlive-doc-en texlive-doc-fr texlive-extra-utils \ texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc \ texlive-fonts-recommended texlive-fonts-recommended-doc \ texlive-generic-recommended texlive-humanities-doc \ texlive-lang-all texlive-latex-base texlive-latex-base-doc \ texlive-latex-extra texlive-latex-extra-doc \ texlive-latex-recommended texlive-latex-recommended-doc \ texlive-luatex texlive-math-extra texlive-metapost-doc \ texlive-pictures texlive-pictures-doc texlive-pstricks \ texlive-pstricks-doc texlive-publishers \ texlive-publishers-doc texlive-science texlive-science-doc \ texlive-formats-extra texlive-full texlive-games \ texlive-generic-extra texlive-humanities texlive-latex3 \ texlive-metapost texlive-music texlive-omega texlive-plain-extra \ texlive-xetex texlive-binaries latex-beamer \ biblatex biblatex-dw latex-make latex-mk \ latex2html latex2rtf latex2rtf-doc latexdiff latexdraw \ writer2latex writer2latex-manual \ texpower texpower-manual texpower-examples \ context \ mathtex
aptitude -q --with-recommends install ncurses-base ncurses-bin
#see CF.UbuntuEmail echo Leave unconfigured local mail only for now aptitude -q --with-recommends install bsdmainutils bsdutils postfix
aptitude -q --with-recommends install virtualbox
aptitude -q --with-recommends install msttcorefonts ttf-mscorefonts-installer ttf-liberation x-ttcidfont-conf
aptitude -y -q purge telnet rsh-server rsh-client
aptitude -q --with-recommends install bash dash csh ksh tcsh zsh zsh-doc
mkdir /xhbin ln -s /bin/bash /xhbin ln -s /bin/dash /xhbin ln -s /bin/csh /xhbin ln -s /bin/ksh /xhbin ln -s /bin/sh /xhbin ln -s /bin/tcsh /xhbin ln -s /bin/zsh /xhbin # LDAP login needs this ln -s /bin/false /xhbin
# Make sure the NTP package is installed on your host backup /etc/ntp.conf aptitude -q --with-recommends install ntp ntpdate # Install the CSCF ntp.conf file (if you're on the UW campus network): # sudo wget https://www.cs.uwaterloo.ca/cscf/software/ntp/etc/ntp.conf -O /etc/ntp.conf wget -q https://www.cs.uwaterloo.ca/cscf/software/ntp/etc/ntp.conf -O /etc/ntp.conf # Restart ntp: /etc/init.d/ntp restart # You can check that it is working with: ntpq -p
# RT79425 # Trevor Grove OPTION="option domain-search code 119 = string;" # dhclient.conf moves location between 10.04 and 11.04 DHCONF=`find /etc -type f -name dhclient.conf` if [ -f "$DHCONF" ] then if grep "$OPTION" "$DHCONF" >/dev/null 2>&1 then echo $OPTION - ALREADY EXISTS else echo "option domain-search code 119 = string;" >> "$DHCONF" fi else echo dhclient.conf file does not exist! fi
# Backup snmp files only once backup /etc/snmp/snmp.conf backup /etc/default/snmpd aptitude -q --with-recommends install snmpd # Install the CSCF SNMP configuration files: wget -q https://www.cs.uwaterloo.ca/cscf/software/snmp/etc/snmp/snmpd.conf -O /etc/snmp/snmpd.conf wget -q https://www.cs.uwaterloo.ca/cscf/software/snmp/etc/default/snmpd -O /etc/default/snmpd # Restart SNMP # You will get a "warning/error" "Bad group id: snmp" until after the host is added to the AD domain. /etc/init.d/snmpd restart
aptitude -q --with-recommends install nscd
# We don't want clear text passwords being used for network connections aptitude -y -q purge telnet rsh-server rsh-client
aptitude -q --with-recommends install cups cups-pdf pushd /etc/cups # backup cupsd.conf only once backup /etc/cups/cupsd.conf wget -q https://www.cs.uwaterloo.ca/twiki/pub/CF/UbuntuImageCreation/cupsd.conf -O /etc/cups/cupsd.conf /etc/init.d/cups restart # Note - it will take some time to have the printers show up so we will move setting the # default to the end of the script
apt-get -y -q --install-recommends dist-upgrade
# Setup Samba with local Host only access aptitude -y -q install samba # Configure local samba with vmware access # backup smb.conf only once # If you want SAMBA to be available to external hosts update the *interfaces* line # to read: =interfaces = lo vmnet* eth*= if [ ! -f /etc/samba/smb.conf ] then backup /etc/samba/smb.conf wget -q https://www.cs.uwaterloo.ca/twiki/pub/CF/UbuntuImageCreation/smb.conf -O /etc/samba/smb.conf fi
aptitude -y -q install ldap-utils ldapscripts ldapvi wget -q https://www.cs.uwaterloo.ca/twiki/pub/CF/UbuntuImageCreation/uwdir -O /usr/local/bin/uwdir chmod 755 /usr/local/bin/uwdir
apt-get -y -q install krb5-user libnss-ldap libpam-krb5 libpam-foreground # krb5-user gets installed by Claytons script # apt-get -y -q install krb5-user
for i in u u1 u2 u3 u4 u5 u6 u7 u8 u9 do if [ -L /$i ] then echo Symlink /$i exists ls -l /$i else if [ -d /$i ] then echo Directory /$i exists else ln -s /home /$i ls -l /$i fi fi done
wget -q -O /tmp/resolv.conf https://www.cs.uwaterloo.ca/cscf/software/ubuntu/UW-CS-GradPC/etc/resolv.conf && mv -f /tmp/resolv.conf /etc/resolv.conf
cd "$HDIR" pushd lc make clean make install popd
# Set the default printer last to give time for the printer list to update lpadmin -d lj_csgrad