Cluster sorunu
-
Arkadaşlar cluster yapmaya çalışıyorum fakat cluster ayarlarının tamamını yapmış olmama rağmen hata alıyorum
her iki makinenin ade
username :admin
parolası :admin
olacak şekilde verdim fakat makine Master Cluster makine sürekli parola hatası veriyorKurulum klavuzu olarak
http://www.youtube.com/watch?v=RBSx1HXy-tQburadaki işlemleri uyguladım her iki makineden interfaceleri sorunsuzca pingleyebiliyorum. ve sync interfaceleri için tüm erişimler açık şekilde rule yazdım.
Carpı ilk başlattığımda her iki makinede Status–>Carp Failover otomatik oluştru ve ilk oluşturmuş olduğum kuralı 2. makinemde de gördüm fakat sonrasında aşağıdaki loglar düşmeye başladı.
Master makinede aşağıdaki loglar görünüyor.
sorun ne olabilir arkadaşlar
Dec 19 17:27:39 php-fpm[33091]: /rc.filter_synchronize: XML_RPC_Client: Connection to RPC server 1.1.1.2:443 failed. Operation timed out 103 Dec 19 17:27:39 php-fpm[33091]: /rc.filter_synchronize: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\. Dec 19 17:27:39 php-fpm[33091]: /rc.filter_synchronize: New alert found: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\. Dec 19 17:27:39 php-fpm[33091]: /rc.carpmaster: Carp cluster member "192.168.29.254 - WAN Carp (1@em0)" has resumed the state "MASTER" for vhid 1@em0 Dec 19 17:27:39 php-fpm[33091]: /rc.carpbackup: Carp cluster member "192.168.1.254 - LAN Carp (2@le0)" has resumed the state "BACKUP" for vhid 2@le0 Dec 19 17:27:39 check_reload_status: Syncing firewall Dec 19 17:27:39 check_reload_status: Carp backup event Dec 19 17:27:39 kernel: em0: promiscuous mode disabled Dec 19 17:27:39 kernel: ifa_del_loopback_route: deletion failed: 3 Dec 19 17:27:39 kernel: le0: promiscuous mode disabled Dec 19 17:27:39 kernel: em0: promiscuous mode enabled Dec 19 17:27:39 kernel: carp: VHID 1@em0: INIT -> BACKUP Dec 19 17:27:39 check_reload_status: Carp backup event Dec 19 17:27:39 kernel: le0: promiscuous mode enabled Dec 19 17:27:39 kernel: carp: VHID 2@le0: INIT -> BACKUP Dec 19 17:27:39 check_reload_status: Syncing firewall Dec 19 17:27:42 check_reload_status: Carp master event Dec 19 17:27:42 kernel: carp: VHID 1@em0: BACKUP -> MASTER (master down) Dec 19 17:27:56 php-fpm[58647]: /rc.filter_synchronize: XML_RPC_Client: Connection to RPC server 1.1.1.2:443 failed. Operation timed out 103 Dec 19 17:27:56 php-fpm[58647]: /rc.filter_synchronize: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\. Dec 19 17:27:56 php-fpm[58647]: /rc.filter_synchronize: New alert found: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\. Dec 19 17:27:56 php-fpm[58647]: /rc.carpbackup: Carp cluster member "192.168.29.254 - WAN Carp (1@em0)" has resumed the state "BACKUP" for vhid 1@em0 Dec 19 17:27:56 php-fpm[58647]: /rc.carpbackup: Carp cluster member "192.168.1.254 - LAN Carp (2@le0)" has resumed the state "BACKUP" for vhid 2@le0 Dec 19 17:27:58 php-fpm[25822]: /rc.filter_synchronize: XML_RPC_Client: Connection to RPC server 1.1.1.2:443 failed. Operation timed out 103 Dec 19 17:27:58 php-fpm[25822]: /rc.filter_synchronize: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\. Dec 19 17:27:58 php-fpm[25822]: /rc.filter_synchronize: New alert found: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\. Dec 19 17:27:58 php-fpm[25822]: /rc.carpmaster: Carp cluster member "192.168.29.254 - WAN Carp (1@em0)" has resumed the state "MASTER" for vhid 1@em0 Dec 19 17:28:55 php-fpm[33091]: /rc.filter_synchronize: XML_RPC_Client: Connection to RPC server 1.1.1.2:443 failed. Operation timed out 103 Dec 19 17:28:55 php-fpm[33091]: /rc.filter_synchronize: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\. Dec 19 17:28:55 php-fpm[33091]: /rc.filter_synchronize: New alert found: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\. Dec 19 17:29:11 php-fpm[58647]: /rc.filter_synchronize: XML_RPC_Client: Connection to RPC server 1.1.1.2:443 failed. Operation timed out 103 Dec 19 17:29:11 php-fpm[58647]: /rc.filter_synchronize: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\. Dec 19 17:29:11 php-fpm[58647]: /rc.filter_synchronize: New alert found: A communications error occurred while attempting XMLRPC sync with username admin https://1.1.1.2:443\.
-
Arkadaşlar daha önce Cluster yapmış kimse yokmu acaba ?
-
Nasıl yapılacağına dair bir video
Aşağıdada benzer bir sorunun linki yer almakta.
https://forum.pfsense.org/index.php?topic=67045.0
Saygılarımla.
-
Nasıl yapılacağına dair bir video
Aşağıdada benzer bir sorunun linki yer almakta.
https://forum.pfsense.org/index.php?topic=67045.0
Saygılarımla.
Sorunuz çözdüm teşekkür ederim birşey sormak istiyorum cluster yapısı ile ilgili şu an yaptığım clusterda yazdığım rule lar anında senkronize oluyor şu aşamada replike çalışıyor fakat ;
Master makinede yüklü olan paketler diğer makineye otomatik olarak aktarılmıyor bu normal mi acaba ben her paket yüklemesi yaptığımda diğer Bacup makine de de mi aynı paketin kurulumunu yapmalıyım ?
2. Olarak Master Makine down olduğunda Backup makinenin otomatik olarak devreye girmesi gerekmiyor mu bunun için bir ayar yapıyor muyuz master makineyi kapatınca networküm tamamen kopuyor sorun ne olabilir acaba ?