Vastra: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
The cool thing about this little 1U server is that it has full IPMI
Vastra was an Asterisk phone system that was going to be productized, but it didn't happen.
We ended up building 4 systems, one for a real estate listing service,
one for an office building full of lawyers, one for an Internet service provider,
and this one that later became [[Bellman]].
 
Two are built on this Supermicro platform and two are built on Intel NUC's.
 
Vastra is also the name of a green saurian woman in Doctor Who. This is actually coincidental.
 
== Supermicro Hardware ==
 
One cool thing about this little 1U server is that it has full IPMI
hardware in it, so it can be fully controlled from an ethernet port.
hardware in it, so it can be fully controlled from an ethernet port.
Powered off and on, bios settings adjusted, everything.
Powered off and on, bios settings adjusted, everything.


Also cool that it has 4 1000BT ethernet ports.
Also cool that it has 4 1000BT ethernet ports. I used it as my home gateway / firewall / router for a time.
 
== Hardware ==


* Supermicro 5018-FTN4 1U chassis
* Supermicro A1SAi/A1SRi, BIOS 1.0c 02/27/2014
* Supermicro A1SAi/A1SRi, BIOS 1.0c 02/27/2014
* Intel(R) Atom(TM) CPU  C2758  @ 2.40GHz (8 cores) 38396.16 BogoMIPS
* Intel(R) Atom(TM) CPU  C2758  @ 2.40GHz (8 cores) 38396.16 BogoMIPS
* 8 GB RAM
* 32 GB RAM
* 80 GB Samsung SSD
* 750 GB Samsung SSD
* 2 TB Seagate green drive
* 8 TB Seagate archive drive


== History ==
== History ==


2015-06 Updated to Debian 8
* 2015-12-10 Clean install Debian 8 on SuperMicro hardware (used to be on Intel NUC hardware.
2012-12 Set up with Debian 7
* 2015-06 Updated to Debian 8
 
* 2012-12 Set up with Debian 7
== Network ports ==
 
IPMI management console: http://192.168.2.240/
 
eth0 192.168.2.235/24 -- Wildsong office LAN, connects to Internet through a Mikrotik RB2011 firewall.
 
eth1 10.10.10.2/28 -- direct connection to Dart
 
eth2 172.16.1.254 -- testing
 
eth3 192.168.89.2 -- testing
 
== Debian Jessie (8.) ==
 
I just did an upgrade yesterday from Debian 7 to Debian 8.
 
apt-get -y install emacs rsync sudo
# Not sure if this is needed.
apt-get -y install  erlang-esdl-dev
apt-get -y install postfix postfix-mysql mysql-server mysql-client phpmyadmin \
  festival festival-dev libsdl-dev
 
apt-get -y install fail2ban
 
=== For cool web stuff ===
 
apt-get -y install libapache2-mod-wsgi
 
=== Network monitoring ===
 
apt-get -y install cacti squid
=== SuiteCRM ===
 
=== For building Asterisk ===
 
apt-get -y install build-essential subversion git
apt-get -y install libncurses5 libncurses5-dev libxml2 libxml2-dev libxslt-dev doxygen libcurl4-openssl-dev \
  uuid-dev libjansson-dev libsqlite3-dev libspeex-dev python-gobject  \
  unixodbc unixodbc-bin unixodbc-dev libltdl-dev libmpg123-dev libmyodbc libmysqld-dev \
  libsqlite3-dev libasound2-dev libsnmp-dev libedit-dev
 
Dahdi
apt-get -y install linux-headers-`uname -r`
 
imap support (mutually exclusive with file storage)
apt-get -y install uw-mailutils libc-client2007e-dev libssl-dev libpam0g-dev
 
=== Asterisk build ===
 
==== Source downloads ====
 
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.4.0.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk-gui/asterisk-gui-2.1.0-rc1.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
 
==== Dahdi ====
 
untar
make all
make install
make config
 
==== Asterisk ====
 
./configure
make menuselect
./contrib/scripts/get_mp3_source.sh
make -j 6
sudo make install
sudo make samples
sudo make progdocs
 
addon "chan_mobile" is for bluetooth smartphone integration


I purged the rest of this page.


1] Verbose("SIP/127-0000007b", "Dialing out from "Art" <127> to Twilio test number") in new stack
I have private notes still on building Vastra but when it started to turn into a commercial project
Dialing out from Art <127> to Twilio test number
I stopped updating this page. Now that the project is dead I should move my notes in here.
    -- Executing [598@from-local-phones:2] Dial("SIP/127-0000007b", "SIP/TwilioProvider/+16504894546") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/TwilioProvider/+16504894546
[2015-12-03 16:27:01] WARNING[869][C-000000a7]: chan_sip.c:23212 handle_response_invite: Received response: "Forbidden" from '"Art" <sip:[email protected]>;tag=as5bc8b192'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'SIP/127-0000007b' status is 'CHANUNAVAIL'
  == Extension Changed 127[BLF] new state Idle for Notify User 152
  == Extension Changed 127[BLF] new state Idle for Notify User 154
  == Extension Changed 127[BLF] new state Idle for Notify User 110 (queued)


I learned how to use Ansible and I can build a Vastra system from bare hardware to up and running in about 10 minutes.
I got that far, then we deep sixed the startup. Oh well. For a short time I had killer ansible knowledge.


[[Category: Don't Panic!]]
[[Category: Telephones]]
[[Category: VOIP]]
[[Category: System Administration]]
[[Category: System Administration]]

Latest revision as of 15:55, 31 August 2022

Vastra was an Asterisk phone system that was going to be productized, but it didn't happen. We ended up building 4 systems, one for a real estate listing service, one for an office building full of lawyers, one for an Internet service provider, and this one that later became Bellman.

Two are built on this Supermicro platform and two are built on Intel NUC's.

Vastra is also the name of a green saurian woman in Doctor Who. This is actually coincidental.

Supermicro Hardware

One cool thing about this little 1U server is that it has full IPMI hardware in it, so it can be fully controlled from an ethernet port. Powered off and on, bios settings adjusted, everything.

Also cool that it has 4 1000BT ethernet ports. I used it as my home gateway / firewall / router for a time.

  • Supermicro 5018-FTN4 1U chassis
  • Supermicro A1SAi/A1SRi, BIOS 1.0c 02/27/2014
  • Intel(R) Atom(TM) CPU C2758 @ 2.40GHz (8 cores) 38396.16 BogoMIPS
  • 32 GB RAM
  • 750 GB Samsung SSD
  • 8 TB Seagate archive drive

History

  • 2015-12-10 Clean install Debian 8 on SuperMicro hardware (used to be on Intel NUC hardware.
  • 2015-06 Updated to Debian 8
  • 2012-12 Set up with Debian 7

I purged the rest of this page.

I have private notes still on building Vastra but when it started to turn into a commercial project I stopped updating this page. Now that the project is dead I should move my notes in here.

I learned how to use Ansible and I can build a Vastra system from bare hardware to up and running in about 10 minutes. I got that far, then we deep sixed the startup. Oh well. For a short time I had killer ansible knowledge.