Tech:Prod7: Difference between revisions

From Orain Meta
Jump to navigation Jump to search
Content added Content deleted
(new server)
 
(Rm loadbalancing for now)
Line 4: Line 4:
| group = loadbalancers, redisservers, staticservers
| group = loadbalancers, redisservers, staticservers
| node = prod7.orain.org
| node = prod7.orain.org
| usage = loadbalancing, redis and static content
| usage = redis and static content
| status = active
| status = active
| ansible = yes
| ansible = yes
| memory = 512mb
| memory = 512mb
| cpu = 4 core, 2.4ghz
| cpu = 4 core, 2.4ghz
| hdd = 20GB
| ssd = 20GB
| os = Debian 7.0
| os = Debian 7.0
| kernel = 3.2.0-4-amd64
| kernel = 3.2.0-4-amd64
Line 15: Line 15:
}}
}}
'''prod7''' is a server in London running Debian Stable.
'''prod7''' is a server in London running Debian Stable.

=== Load balancing ===
We run a basic nginx installation on the server which distributes traffic evenly among the two webservers ([[prod4]] and [[prod5]]).


=== Redis ===
=== Redis ===

Revision as of 22:18, 28 August 2014

prod7 UK
group loadbalancers, redisservers, staticservers
node prod7.orain.org
usage redis and static content
status active
ansible yes
Hardware
memory 512mb
cpu 4 core, 2.4ghz
ssd 20GB
Software
os Debian 7.0
kernel 3.2.0-4-amd64
updated 24 August 2014

prod7 is a server in London running Debian Stable.

Redis

We run the latest version of Redis for the Debian repository. Redis is set up to handle cache, sessions and job queues for all wikis. The installation is password protected which is a major advantage of memcached which did not have the security provided by Redis.

NFS

We run an NFS (Network File System) server on this server. It exports two directories contained within, /var/mediawiki/ and allow remote mounting from prod4 and prod5. The idea in future is possible to expand NFS to its own server and remotely host major directories such as /home/ and /root/ so data is more easily available to allow servers, we only need to maintain a single directory for things like private variables and code base remotely. This also provides the advantage of allowing us to run a possibly beefy server (nfs server) and have smaller nodes which only have 20GB available in a better way.