Dart: Difference between revisions
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) |
||
Line 35: | Line 35: | ||
There is a walk through on this page: https://supportforums.cisco.com/document/62901/megacli-common-commands-and-procedures | There is a walk through on this page: https://supportforums.cisco.com/document/62901/megacli-common-commands-and-procedures | ||
E:S | [E:S] = Enclosure:Slot | ||
Get information | |||
adpallinfo -a0 | |||
encinfo -a0 | |||
ldinfo -lall -a0 | |||
pdlistt -a0 | |||
Mark drive as missing | |||
PDOffline -PhysDrv [E:S] -aN | |||
PDMarkMissing -PhysDrv [E:S] -aN | |||
PDPrpRmv -PhysDrv [E:S] -aN | |||
Replace the drive | |||
Rebuild | |||
PdReplaceMissing -PhysDrv [E:S] -ArrayN -rowN -aN | |||
PDRbld -Start -PhysDrv [E:S] -aN | |||
Re-enable the alarm | Re-enable the alarm |
Revision as of 21:48, 14 April 2016
History
- 2016-03-27 Lost one of the 3TB drives.
- 2015-Jul-02 Connected eth1 to Vastra2
- 2015-Feb-27 -- Bringing online again after months of storage as we moved to California.
- 2014-May -- Shut down for move.
- 2014- regrooved with Debian 7
- 2014- Brought up with CentOS to allow running ESRI ArcGIS Server
RAID commands
My controller is a 3Ware 9260-8i with firmware 3.27.00
The drive is a WDC WD30EFRX "Red".
I have not gotten the RAID command line program running yet on this OS (Debian 8).
At boot time, you can type Ctl-Y when prompted to bring up a command prompt. "$" There is no "help" option -- I found some scant documentation online, here are references
https://supportforums.cisco.com/document/62901/megacli-common-commands-and-procedures
http://www.xtremesystems.org/forums/archive/index.php?t-277864.html
When a drive failed, I had to turn off the ALARM! It's LOUD, you can't miss it. It beeps once per second to tell you a drive is gone.
Silencing the alarm
AdpSetProp AlarmSilence -aALL AdpSetProp AlarmDsbl -aALL
Replacing the drive
There is a walk through on this page: https://supportforums.cisco.com/document/62901/megacli-common-commands-and-procedures
[E:S] = Enclosure:Slot
Get information
adpallinfo -a0 encinfo -a0 ldinfo -lall -a0 pdlistt -a0
Mark drive as missing
PDOffline -PhysDrv [E:S] -aN PDMarkMissing -PhysDrv [E:S] -aN PDPrpRmv -PhysDrv [E:S] -aN
Replace the drive
Rebuild
PdReplaceMissing -PhysDrv [E:S] -ArrayN -rowN -aN PDRbld -Start -PhysDrv [E:S] -aN
Re-enable the alarm
AdpSetProp AlarmEnbl -aALL
Hardware
- Supermicro server case
- Supermicro motherboard
- Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz processor (8 hyperthreaded cores, appears as 16 cpu's) 63998.21 BogoMIPS
- 32GB ECC RAM
- 2 SSD's in a mirror for the OS
- 3Ware RAID
- 7 WDC Red disk drives
Network
- eth0/br0 192.168.2.236 -- used by Dart and KVM virtual machines hub and quail
- eth1 10.10.10.1 -- private ptp network connected to Vastra2
Software
- Debian 7
- mediawiki
- postfix not exim4
Postfix
Email is supported via Wildsong at the moment. That is, mail originates @wildsong.biz
- smarthost using gmail, because I use gmail for the Wildsong and Geo-CEG domains.
- sasl auth is needed to talk gmail
Mediawiki + MySQL
I decided to go w/ MySQL because of support issues (MySQL is sort of the "official" database of mediawiki), this means running both MySQL and PostgreSQL on Dart. Dart has lots of memory and the machine's not doing much anyway... The main reason I install PostgresSQL on Dart is for PostGIS.
Installing mysql means I install other stuff. Installing mediawiki calls for a few things too.
apt-get install mysql-server phpmyadmin postfix-mysql apt-get install php-apc git
With MediaWiki, along come my favorite extensions.
PostgreSQL
I want version 9.3 or higher so I need to add a repo.
echo "deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main" > /etc/apt/sources.list.d/pgdg.list wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - apt-get update apt-get install postgresql-9.4
2015-Feb-27
I packed up Dart last May (2014) shortly after re-installing the operating system and switching to Debian. Now I am trying to pick up the pieces. There is no Web server right now! Zow! How can that be?
I do remember I gave up on CentOS when I found out how impractical it was to try to run my own copy of ESRI ArcGIS Server after I lost (free) access to a developer license.