A normal operation of a jtel solution is considered among other variables if: - The storage is mounted (available via acd-store)
- redundancy is also synchronised (DRBD is on
Ein normaler Betrieb einer jtel Lösung liegt unter anderen vor wenn: - Das Storage gemountet ist (über acd-store verfügbar),
- Bei Redundanz auch synchron ist (DRBD ist auf primary / primary)
- Die Datenbankreplikation ist syncrhon
- Der Load-Balancer für die Verteilung der Websessions ist erreichbar, alle Webserver sind verfügbar
- Die Telefonieserver sind hochgefahren und verarbeiten Gespräche
Dies kann im Einzelnen wie folgt geprüft werden. Prüfung StorageRedundanter StoragePrüfung, dass DRBD syncrhon ist- The database replication is synchronised.
- The load balancer for the distribution of the web sessions is accessible, all web servers are available
- The telephony servers are up and processing calls
This can be examined in detail as follows. Examination StorageRedundant StorageTesting that DRBD is synchronisedOn one of the STORE, check if the DRBD is synchronisedAuf einer der STORE, prüfen ob das DRBD syncrhon ist: Erwartete Ausgabe Expected output - DRBD ist is primary/primary: Translations Ignore |
---|
Code Block |
---|
version: 8.4.11-1 (api:1/proto:86-101)
GIT-hash: 66145a308421e9c124ec391a7848ac20203bb03c build by mockbuild@, 2018-04-26 12:10:42
0: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r-----
ns:0 nr:28894328 dw:118174057 dr:74296 al:6116 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0 |
| Feststellung, welcher STORE aktiv istDetermine which STORE is active.Auf den aktiven STORE prüfen ob Check on the active STORE if /srv/jtel/shared gemountet istis mounted Translations Ignore |
---|
Code Block |
---|
ls /srv/jtel/shared |
|
Erwartete Ausgabe: Expected output: Output with among others the following directoriesAusgabe mit unter Anderen folgende Verzeichnisse: - Data
- JTEL
- JTELCarrierPortal
Alle StoragePrüfen ob der smb dienst läuft (bei Redundanz auf den aktiven STORE):Check if the smb service is running (with redundancy to the active STORE): Translations Ignore |
---|
Code Block |
---|
systemctl status smb |
| Erwartete Ausgabe -
expected output - Active: |
|
[root@test9-store2 ~]# systemctl status smb |
|
● smb.service - Cluster Controlled smb |
|
Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled) |
|
Drop-In: /run/systemd/system/smb.service.d |
|
Active: active (running) since Tue 2019-03-19 04:02:48 CET; 3 weeks 5 days ago |
|
Von einer beliebigen anderen Maschine, den Zugriff auf das Storage prüfenVon einer anderen Maschine (ausser STORE selbst), entweder:
From any other machine, check access to the storageFrom another machine (except STORE itself), either: Translations Ignore |
---|
Code Block |
---|
ls /home/jtel/shared |
| Oder von der Windows Maschine, einen Explorer auf das Verzeichnis Or from the Windows machine, open an Explorer to the \\acd-store\shared öffnen directory. Bei FehlerWhen error:- Start the SMB service
- Check if the file system is corrupt (see
- Starten des SMB Dienstes
- Prüfung ob das File-System korrupt ist (siehe \var\log\messages) und Maßnahmen zur Reparatur ergreifen - siehe man xfs_repair bei xfs Dateisystemeand take measures for repair - see man xfs_repair at xfs filesystems
- Recovery of DRBD replication and STORE cluster with redundancy - see Wiederherstellung der DRBD Replikation und STORE Cluster bei Redundanz - siehe DRBD - Maintenance and Resolve Split Brain or Node Errors
Prüfung DatenbankreplikationAuf allen Datenbank Slaves, bei Redundanz, auch auf beide Master Datenbanken: Auf mysql anmeldenCheck database replication On all database slaves, with redundancy, also on both master databases: Login to mysql Translations Ignore |
---|
Code Block |
---|
mysql -u root -p |
| Slave Status prüfen
Check slave status Translations Ignore |
---|
Code Block |
---|
mysql> SHOW SLAVE STATUS\G |
|
Wichtigste Stellen sind: The most important points are: Translations Ignore |
---|
Code Block |
---|
Slave_IO_Running: Yes |
|
Beispielausgabe: Example output: Translations Ignore |
---|
Code Block |
---|
*************************** 1. row *************************** |
|
Slave_IO_State: Waiting for master to send event |
|
Master_Log_File: binlog.000014 |
|
Read_Master_Log_Pos: 77769753 |
|
Relay_Log_File: mysqld-relay-bin.000028 |
|
Relay_Master_Log_File: binlog.000014 |
|
Replicate_Wild_Ignore_Table: |
|
Error
Exec_Master_Log_Pos: 77769753 |
|
Master_SSL_Verify_Server_Cert: No |
|
Error
Error
Replicate_Ignore_Server_Ids: |
|
Master_UUID: f5b276fa-bb92-11e8-a4a9-005056b98358 |
|
Master_Info_File: /var/lib/mysql/master.info |
|
SQL_Remaining_Delay: NULL |
|
Slave_SQL_Running_State: Slave has read all relay log; waiting for the slave I/O thread to update it |
|
Master_Retry_Count: 86400 |
|
Error Error
Bei FehlerPrüfung Loadbalancer und WebserverPrüfung LoadbalancerDie grundsätzliche Erreichbarkeit der Webserver sowie Funktion des Load-Balancers kann über den haproxy Stats-Webseite geprüft werden. When errorTesting load balancers and web serversTesting load balancerThe basic accessibility of the web server as well as the function of the load balancer can be checked via the haproxy Stats website. The access takes place viaDer Zugriff erfolgt über: http://acd-lb:7777 Mit Angabe vom Benutzernamen und Passwort. Im Screenshot ist eine Beispielausgabe für ein System mit: - Redundante Master-Master-Slave-Slave Datenbanken
- Zwei Webserver
abgebildet. Die Dienste sollten grün sein, bis auf den 2. Datenbankmaster, der Hellblau abgebildet ist, da dieser Server als Backup für den ersten Datenbankmaster konfiguriert ist. Image Removed Bei FehlerPrüfen ob der haproxy Dienst gestartet ist. Bei Redundanz: prüfung Cluster Status mit: pcs status und entsprechende Maßnahmen ergreifen. Prüfung WebserverDie Webserver können einzeln auf Funktion geprüft werden, indem das Anmelden am jtel System aufgerufen und durchgeführt wird, beispielsweise als sysadmin. with indication of user name and password. The screenshot shows a sample output for a system with: - Redundant master-master-slave-slave databases
- Two web servers
The services should be green except for the 2nd database master, which is shown in light blue, as this server is configured as a backup for the first database master. Image Added When errorCheck if the haproxy service is started. For redundancy: check cluster status with: and take appropriate measures. Testing web serverThe web servers can be checked individually for function by accessing and logging on to the jtel system, for example as sysadmin. The following URL applies to Folgende URL gilt für https: https://acd-lb/admin Nach erfolgter Login sollte die Portal-Hauptseite des Systemadministrators sichtbar sein, hier eine BeispielausgabeAfter successful login the portal main page of the system administrator should be visible, here an example output:
Bei FehlerEinzelner Webserver neutstarten mit: When errorRestart single web server with: Translations Ignore |
---|
Code Block |
---|
service jboss restart |
|
Prüfung TelefonieDie Telefoniedienste sind entweder: - In der Autostart des jeweiligen Benutzers
- Als Dienst am System konfiguriert
Testing TelephonyThe telephony services are either: - In the autostart of the respective user
- Configured as a service to the system
In a standard case (with user login), the following applications are startedIm Normalfall (mit Benutzeranmeldung), werden folgende Anwendungen gestartet: Beachte: je nach Installation, wird ggf. auch ein PBX-Connector mit gestartet. Eine normale Bereitschaft, sowie Verarbeitung, wird im folgenden Screenshot dargestellt. Beachten Sie die hellgrüne aktive Leitung, sowie die Systemmeldungen in Gelb. Note: depending on the installation, a PBX connector may also be started. Normal readiness and processing is shown in the following screenshot. Note the light green active line and the system messages in yellow. The following services are visibleFolgende Dienste sind sichtbar: - jtel 8-Server
- GI2 Dienst
- Cluster Listener Dienst
- Innovaphone PBX Connector
Bei FehlerSämtliche Anwendungen schließen, und über die Autostartgruppe neu starten. When errorClose all applications and restart them via the autostart group. Or reboot the systemOder das System neu booten. |