Equatower: Difference between revisions

From Nasqueron Agora
No edit summary
No edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Equatower''' is an infrastructure server used to serve Docker containers.
'''Equatower''' is an infrastructure server used to serve Docker containers. It's hosted on [[Dreadnought]] hypervisor.


New services, provisionned by SaltStack through our rOPS repository, should be deployed to Equatower.
New services, provisionned by SaltStack through our rOPS repository, should be deployed to Equatower.


== PaaS Docker ==
=== Containers ===
=== Containers ===
{| class="wikitable sortable"
{| class="wikitable sortable"
Line 8: Line 9:
! Group !! Container !! Image !! Purpose
! Group !! Container !! Image !! Purpose
|-
|-
| jenkins_cd || jenkins || jenkinsci/jenkins || Jenkins master
| jenkins_cd || jenkins || jenkinsci/jenkins || Jenkins master for CD
|-
|-
| jenkins_cd || apsile || nasqueron/jenkins-slave-php || Jenkins slave
| jenkins_cd || apsile || nasqueron/jenkins-slave-php || Jenkins slave
Line 36: Line 37:
| 38080 || Jenkins || back-end web server
| 38080 || Jenkins || back-end web server
|}
|}
== Troubleshoot ==
=== No network at boot time ===
Access the machine on the hypervisor, then:
;Check the interface is up:
    ip addr
    ifup ens192 # to bring it up
The interface to use is the one connected to the main network, with 00:50:56:0c:53:94 as MAC address. It normally should be defined at ens192.
;If you've reset the configuration and need to add again the IP:
    ip addr add 51.255.124.10/32 dev ens192
;Routing is probably the issue:
    ip route add 91.121.86.254 dev ens192
    ip route add default via 91.121.86.254
;Same for the case we can ping/ssh (slowly) from [[Ysul]] but not from the world:
    ip route change 91.121.86.254 dev ens192
    ip route change default via 91.121.86.254
;Reconfigure the IPv6 tunnel
At some point, the Linux route2 method stopped to work, but the Linux net-tools method still work.
    ip tunnel del he-ipv6
    /sbin/ipv6-setup-tunnel
[[Category:Servers]]

Revision as of 22:17, 7 December 2018

Equatower is an infrastructure server used to serve Docker containers. It's hosted on Dreadnought hypervisor.

New services, provisionned by SaltStack through our rOPS repository, should be deployed to Equatower.

PaaS Docker

Containers

Group Container Image Purpose
jenkins_cd jenkins jenkinsci/jenkins Jenkins master for CD
jenkins_cd apsile nasqueron/jenkins-slave-php Jenkins slave
jenkins_cd elapsi nasqueron/jenkins-slave-php Jenkins slave
openfire openfire gizmotronic/openfire XMPP server
phpbb phpbb_db nasqueron/mysql MySQL server for phpBB PaaS
phpbb phpbb_ook nasqueron/nginx-php7-fpm QA container for phpBB PaaS
phpbb phpbb_test nasqueron/nginx-php7-fpm dev container for phpBB PaaS

Ports

Port Service Purpose
3478 Openfire STUN / TURN
5222 Openfire C2S XMPP
5263 Openfire S2S XMPP
38080 Jenkins back-end web server

Troubleshoot

No network at boot time

Access the machine on the hypervisor, then:

Check the interface is up
   ip addr
   ifup ens192 # to bring it up

The interface to use is the one connected to the main network, with 00:50:56:0c:53:94 as MAC address. It normally should be defined at ens192.

If you've reset the configuration and need to add again the IP
   ip addr add 51.255.124.10/32 dev ens192
Routing is probably the issue
   ip route add 91.121.86.254 dev ens192
   ip route add default via 91.121.86.254
Same for the case we can ping/ssh (slowly) from Ysul but not from the world
   ip route change 91.121.86.254 dev ens192
   ip route change default via 91.121.86.254
Reconfigure the IPv6 tunnel

At some point, the Linux route2 method stopped to work, but the Linux net-tools method still work.

   ip tunnel del he-ipv6
   /sbin/ipv6-setup-tunnel