Dart: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 68: Line 68:
* Supermicro motherboard
* Supermicro motherboard
* Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz processor (8 hyperthreaded cores, appears as 16 cpu's) 63998.21 BogoMIPS
* 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
* 32GB ECC RAM 4x KVR16R11D4K4/32 DDR3 1600
* 2 SSD's in a mirror for the OS
* 2 SSD's in a mirror for the OS
* 3Ware RAID
* 3Ware RAID

Revision as of 19:35, 11 September 2017

History

  • 2016-09-09 Added intel-microcode package, was getting perf_event_intel: PEBS disabled due to CPU errata, please upgrade microcode
  • 2016-09-08 Upgraded to Debian 8.5
  • 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 controller is 1000:0079, MegaRaidSAS http://hwraid.le-vert.net/wiki/LSIMegaRAIDSAS

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.

I have only one controller so I can use -aALL or -a0

Silencing the alarm

AdpSetProp AlarmSilence -a0
AdpSetProp AlarmDsbl -a0

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] -a0 
PDMarkMissing -PhysDrv [E:S] -a0 
PDPrpRmv -PhysDrv [E:S] -a0

Replace the drive

Rebuild

PdReplaceMissing -PhysDrv [E:S] -ArrayN -rowN -a0
PDRbld -Start -PhysDrv [E:S] -a0

Re-enable the alarm

AdpSetProp AlarmEnbl -a0

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 4x KVR16R11D4K4/32 DDR3 1600
  • 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 -- unused presently

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.