Sv translation |
---|
|
Le présent document décrit la marche à suivre pour modifier l'adresse IP d'un serveur BlueMind. Avertissement |
---|
| Cette procédure est volontairement peu détaillée afin d'être réservée à des administrateurs expérimentés qui maîtrisent les opérations sensibles réalisées. |
Procédure |
...
...
border | all-sides |
---|
navcolor | navy |
---|
...
Commandes pour un BM 3.5 et 4
...
Commandes pour un BM 3.0
...
Bloc de code |
---|
| sudo -u postgres -i psql -h localhost -U bj -d bj -W -c "update t_server set ip = '<new_ip>' where ip = '<old_ip>';"
sudo -u postgres -i psql -h localhost -U bj -d bj -W -c "update rc_users set mail_host = '<new_ip>' where mail_host = '<old_ip>';"
sudo -u postgres -i psql -h localhost -U bj -d bj -W -c "update t_systemconf set configuration = configuration || hstore('host','<new_ip>') || hstore('hz-member-address', '<new_ip>');" |
où :
|
...
...
...
border | all-sides |
---|
navcolor | navy |
---|
Bloc de code |
---|
bmctl start
systemctl restart bm-node |
|
...
- Se connecter au panneau d'administration en
|
...
Sv translation |
---|
|
This page describes how to change a BlueMind server's IP address. Avertissement |
---|
| This description is deliberately minimal as it is reserved to experienced administrators who are familiar with the sensitive operations performed. |
Instructionsstop BlueMind using the command: Start postgresql : Bloc de code |
---|
systemctl start postgresql |
- Update the server's network configuration with the new IP address
- Edit the file
/etc/bm/bm.ini , replacing the address of the "host " and "hz-member-address " parameters with the new IP address - Modify the
/etc/cyrus-replication file and replace the "core_sync_host " parameter address with the new IP address Update the database information with the following command line: Bloc de code |
---|
sudo -u postgres -i psql -h localhost -U bj -d bj -W -c "update t_server set ip = '<new_ip>' where ip= '<old_ip>';"
sudo -u postgres -i psql -h localhost -U bj -d bj -W -c "update rc_users set mail_host = '<new_ip>' where mail_host= '<old_ip>';"
sudo -u postgres -i psql -h localhost -U bj -d bj -W -c "update t_systemconf set configuration = configuration || hstore('host', '<new_ip>' || hstore('hz-member-address', '<new_ip>');" |
Where : If prompted for a password, type "bj"- Edit the
/var/backups/bluemind folder structure, renaming the folder /var/backups/bluemind/dp_spool/rsync/<old_ip> with the new IP address Restart BlueMind and the node using the following commands: Bloc de code |
---|
bmctl start
systemctl restart bm-node |
- Connect to the administration panel superadministrator admin0
- Go to Security > Manage firewall and click "Save" to force re-generate BlueMind's firewall rules
- Go to System Management > Manage Messaging System, click "Execute" to regenerate the postfix mail routing table
- Go to System Management > System Configuration and replace the old IP address in the field "My networks" by the new address of the address range you want to keep as open relay. Click "Save".
Reconfigure tick using the following command: Bloc de code |
---|
bm-cli tick reconfigure |
|
Sv translation |
---|
|
Remarque |
---|
Diese Seite ist nicht mehr aktuell. Ab der Version BlueMind 4.8 finden Sie alle Infos in der neuen Dokumentation |
In diesem Dokument wird beschrieben, wie Sie die IP-Adresse eines BlueMind-Servers ändern können. Avertissement |
---|
| Dieses Verfahren ist erfahrenen Administratoren vorbehalten, die mit den durchgeführten sensiblen Vorgängen vertraut sind, und wird aus diesem Grund nicht im Detail beschrieben. |
VerfahrenBeenden Sie BlueMind mit dem Befehl Starten Sie postgresql: Bloc de code |
---|
systemctl start postgresql |
- Aktualisieren Sie die Netzwerkkonfiguration des Servers mit der neuen IP-Adresse
- Ändern Sie die Datei
/etc/bm/bm.ini und ersetzen Sie die Adresse der Parameter "host " und "hz-member-address " durch die neue IP-Adresse Aktualisieren Sie die Datenbankinformationen mit der folgenden Kommandozeile: Bloc de code |
---|
| sudo -u postgres -i psql -h localhost -U bj -d bj -W -c "update t_server set ip = '<new_ip>' where ip = '<old_ip>';"
sudo -u postgres -i psql -h localhost -U bj -d bj -W -c "update rc_users set mail_host = '<new_ip>' where mail_host = '<old_ip>';"
sudo -u postgres -i psql -h localhost -U bj -d bj -W -c "update t_systemconf set configuration = configuration || hstore('host','<new_ip>') || hstore('hz-member-address', '<new_ip>');" |
wo: Hinweis: Wenn Sie nach einem Passwort gefragt werden, geben Sie "bj" ein- Ändern Sie die Baumstruktur von
/var/backups/bluemind und bennenen Sie den Ordner /var/backups/bluemind/dp_spool/rsync/<old_ip> mit der neuen IP-Adresse um Starten Sie BlueMind und den Node mit den folgenden Befehlen neu: Bloc de code |
---|
bmctl start
systemctl restart bm-node |
- Melden Sie sich im Admin-Bereich als Superadministrator admin0 an
- Gehen Sie in den Bereich Sicherheit > Firewall-Verwaltung und klicken Sie sofort auf die Schaltfläche "Speichern", um die Neu-Generierung der BlueMind-Firewall-Regeln zu erzwingen
- Gehen Sie zu System-Management > Mail-Wartung, klicken Sie auf die Schaltfläche "Ausführen", um die Postfix-Mail-Routing-Tabellen neu zu generieren
- Gehen Sie in den Beriech Systemverwaltung > Systemkonfiguration und ersetzen Sie die alte IP-Adresse im Feld "Meine Netzwerke" durch die neue Adresse oder den Adressbereich, für den Sie ein offenes Relais haben möchten, bevor Sie auf die Schaltfläche "Speichern" klicken
|