{"id":282336,"date":"2016-12-12T10:15:04","date_gmt":"2016-12-12T07:15:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=282336"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2016-12-12T07:15:04","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=282336","title":{"rendered":"\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 BitrixVM: \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e"},"content":{"rendered":"<p>\u041e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u2013 \u0437\u0430\u043b\u043e\u0433 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0435\u043d\u0438\u044f \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0442\u0430\u043a \u0438 \u0430\u0434\u043c\u0438\u043d\u043e\u0432. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u043c \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0435 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0435\u0442 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044e BitrixVM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435\u043c \u0431\u044b\u043b\u043e \u0440\u0430\u0434\u043e\u0441\u0442\u043d\u043e \u0438 \u043d\u0438\u0447\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u043b\u043e \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. <a name=\"habracut\"><\/a><\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0438\u043c\u0435\u0435\u043c \u0434\u0432\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 BitrixVM \u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u043c\u0438 \u043d\u0430 \u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 Bitrix24. \u041f\u0435\u0440\u0432\u043e\u0435, \u0447\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u2013 \u0434\u043b\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0442\u0438\u043f\u043d\u043e\u0441\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043e\u0431\u043e\u0438\u0445 \u0443\u0437\u043b\u0430\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044e \u043a\u0430\u043a \u043c\u0435\u0436\u0434\u0443 \u0431\u0430\u0437\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u0442\u0430\u043a \u0438 \u043c\u0435\u0436\u0434\u0443 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 bitrix.<\/p>\n<p>  Bitrix1 \u2014 172.16.10.1<br \/>  Bitrix2 \u2014 172.16.10.2<\/p>\n<p>  \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 hosts \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445:  <\/p>\n<pre><code>172.16.10.1 bitrix1 172.16.10.2 bitrix2 <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445 \u0442\u0438\u043f\u0430 master-master. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 <b>\/etc\/my.cnf<\/b><br \/>  Bitrix \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b <b>\/etc\/mysql\/conf.d\/z_bx_custom.cnf<\/b>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0438 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u043a\u0438:  <\/p>\n<pre><code>[root@bitrix1 \/]# cat \/etc\/my.cnf # # Basic mysql configuration. Use bvat for advanced settings. # Parameters set by bvat are stored in \/etc\/mysql\/conf.d\/bvat.cnf # If you want to change any parameter, you'll have to redefine it in #\/etc\/mysql\/conf.d\/z_bx_custom.cnf # <\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0435\u0439:  <\/p>\n<pre><code>touch \/etc\/mysql\/conf.d\/z_bx_custom.cnf  [root@bitrix1 \/]# nano \/etc\/mysql\/conf.d\/z_bx_custom.cnf [mysqld] <\/code><\/pre>\n<p>  \u0423\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441\u0440\u0435\u0434\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438:  <\/p>\n<pre><code>server-id = 1 <\/code><\/pre>\n<p>  \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u043b\u043e\u0433\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0445 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445.<br \/>  \u0411\u0435\u0437 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043e\u043f\u0446\u0438\u0438 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0430 \u043a\u0430\u043a \u0432 \u043b\u043e\u0433\u0430\u0445, \u0442\u0430\u043a \u0438 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u0432 \u0441\u0430\u043c bitrix-\u043f\u043e\u0440\u0442\u0430\u043b:   <\/p>\n<pre><code>Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is #READ #COMMITTED or READ UNCOMMITTED. binlog_format=row <\/code><\/pre>\n<p>  \u041b\u043e\u0433\u0438 \u043e\u0448\u0438\u0431\u043e\u043a:  <\/p>\n<pre><code>log=\/var\/log\/mysqld.log log_error = \/var\/log\/mysqld.log  <\/code><\/pre>\n<p>  \u041f\u0443\u0442\u044c \u043a \u043b\u043e\u0433\u0430\u043c \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (binlog, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0435\u0434\u0435\u0442 \u043c\u0430\u0441\u0442\u0435\u0440):  <\/p>\n<pre><code>log-bin = \/var\/lib\/mysql\/server-mysql-bin log-bin-index = \/var\/lib\/mysql\/server-mysql-bin.index  <\/code><\/pre>\n<p>  \u041f\u0443\u0442\u044c \u043a relay-\u043b\u043e\u0433\u0430\u043c slave (binlog, \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0439 \u0441 \u043c\u0430\u0441\u0442\u0435\u0440\u0430):  <\/p>\n<pre><code>relay-log = \/var\/lib\/mysql\/slave-mysql-relay-bin relay-log-index = \/var\/lib\/mysql\/slave-mysql-relay-bin.index  <\/code><\/pre>\n<p>  \u0411\u0414, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u043b\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0440\u0435\u043f\u043b\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c (\u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0434\u043b\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0430\u0437\u044b bitrix \u2014 <b>sitemanager0<\/b>):  <\/p>\n<pre><code>replicate-do-db = sitemanager0 replicate-ignore-db=test replicate-ignore-db=information_schema replicate-ignore-db=mysql replicate-ignore-db=performance_schema  <\/code><\/pre>\n<p>  \u041d\u0435 \u0432\u0435\u0441\u0442\u0438 \u0436\u0443\u0440\u043d\u0430\u043b binlog \u0434\u043b\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445:  <\/p>\n<pre><code>binlog-ignore-db = information_schema binlog-ignore-db = mysql binlog-ignore-db = performance_schema  <\/code><\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432 \u0430\u0432\u0442\u043e\u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0430, \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u0447\u0442\u043e\u0431\u044b id \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 3-\u0433\u043e, \u043f\u0440\u0438\u0431\u0430\u0432\u043b\u044f\u044f \u043f\u043e 10, \u0442.\u0435. 13, 23, 33, 43 \u0438 \u0434\u0430\u043b\u0435\u0435:  <\/p>\n<pre><code>auto_increment_increment = 10 auto_increment_offset = 3  <\/code><\/pre>\n<p>  \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043b\u043e\u0433\u0438 \u0441 \u043c\u0430\u0441\u0442\u0435\u0440\u0430 \u0432 \u0441\u0432\u043e\u0439 binlog, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u043b\u0435\u0439\u0432\u0443:  <\/p>\n<pre><code>log-slave-updates <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c mysql:  <\/p>\n<pre><code>[root@bitrix1 \/]# \/etc\/init.d\/mysqld restart <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u2013 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 BitrixVM, \u0442.\u0435. bitrix2, \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f mysql, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0432 \u0444\u0430\u0439\u043b <b>z_bx_custom.cnf<\/b> \u0432 <b>\/etc\/mysql\/conf.d\/<\/b>, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u043e\u043c\u0435\u043d\u044f\u0432 <b><i>server-id<\/i><\/b> \u0438 <b><i>auto_increment_offset<\/i><\/b>:  <\/p>\n<pre><code>[root@bitrix2 ~]# cat \/etc\/mysql\/conf.d\/z_bx_custom.cnf [mysqld] server-id = 2 binlog_format=row   log=\/var\/log\/mysqld.log log_error = \/var\/log\/mysqld.log   log-bin = \/var\/lib\/mysql\/server-mysql-bin log-bin-index = \/var\/lib\/mysql\/server-mysql-bin.index   relay-log = \/var\/lib\/mysql\/slave-mysql-relay-bin relay-log-index = \/var\/lib\/mysql\/slave-mysql-relay-bin.index   replicate-do-db = sitemanager0 replicate-ignore-db=test replicate-ignore-db=information_schema replicate-ignore-db=mysql replicate-ignore-db=performance_schema  binlog-ignore-db = information_schema binlog-ignore-db = mysql binlog-ignore-db = performance_schema auto_increment_increment = 10 auto_increment_offset = 4   log-slave-updates <\/code><\/pre>\n<p>  \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u0440\u0435\u0441\u0442\u0430\u0440\u0442 mysql \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435:  <\/p>\n<pre><code>[root@bitrix2 ~]# \/etc\/init.d\/mysqld restart <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f replicator \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445:  <\/p>\n<pre><code>root@bitrix1 \/]# mysql -u root -p Enter password: mysql&gt; create user 'replicator'@'%' identified by 'aGiV4uac'; mysql&gt; grant replication slave on *.* to 'replicator'@'%';  root@bitrix2 \/]# mysql -u root -p Enter password: mysql&gt; create user 'replicator'@'%' identified by 'aGiV4uac'; mysql&gt; grant replication slave on *.* to 'replicator'@'%'; <\/code><\/pre>\n<p>  \u0421\u043d\u043e\u0432\u0430 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u043f\u0435\u0440\u0432\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0437\u043d\u0430\u0442\u044c \u0438\u043c\u044f <b><i>master_log<\/i><\/b> \u0438 <b><i>master_log_position<\/i><\/b> \u0432\u0442\u043e\u0440\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b bitrix2:  <\/p>\n<pre><code>[root@bitrix2 \/]# mysql -u root -p -e 'show master status;'  +-----------------------+--------+------------+-------------------------------------------+ | File                  |Position|Binlog_Do_DB| Binlog_Ignore_DB                          | +-----------------------+--------+------------+-------------------------------------------+ |server-mysql-bin.000029|  819   |            |information_schema,mysql,performance_schema| +-----------------------+--------+------------+-------------------------------------------+ <\/code><\/pre>\n<p>  \u0418\u0437 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043b\u0435\u0434\u0443\u0435\u0442, \u0447\u0442\u043e <b>MASTER_LOG_FILE = server-mysql-bin.000029<\/b>, \u0430 <b>MASTER_LOG_POS = 819<\/b><\/p>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435:  <\/p>\n<pre><code>[root@bitrix1 \/]# root -p -e &quot;CHANGE MASTER TO MASTER_HOST = '172.16.10.2', MASTER_USER = 'replicator', MASTER_PASSWORD = 'aGiV4uac', MASTER_LOG_FILE = 'server-mysql-bin.000029', MASTER_LOG_POS = 819;&quot; <\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c slave:  <\/p>\n<pre><code>[root@bitrix1 \/]# mysql -u root -p -e 'start slave;' <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0441\u0442\u0430\u0442\u0443\u0441:  <\/p>\n<pre><code>[root@bitrix1 \/]# mysql -u root -p -e 'show slave status \\G;'  *************************** 1. row ***************************   Slave_IO_State: Waiting for master to send event   Master_Host: 172.16.10.2   Master_User: replicator   Master_Port: 3306   Connect_Retry: 60   Master_Log_File: server-mysql-bin.000029   Read_Master_Log_Pos: 819   Relay_Log_File: slave-mysql-relay-bin.000002   Relay_Log_Pos: 72951   Relay_Master_Log_File: server-mysql-bin.000029   Slave_IO_Running: Yes   Slave_SQL_Running: Yes   Replicate_Do_DB: sitemanager0   Replicate_Ignore_DB: test,information_schema,mysql,performance_schema   Replicate_Do_Table:   Replicate_Ignore_Table:   Replicate_Wild_Do_Table:   Replicate_Wild_Ignore_Table:   Last_Errno: 0   Last_Error:   Skip_Counter: 0   Exec_Master_Log_Pos: 819   Relay_Log_Space: 73113   Until_Condition: None   Until_Log_File:   Until_Log_Pos: 0   Master_SSL_Allowed: No   Master_SSL_CA_File:   Master_SSL_CA_Path:   Master_SSL_Cert:   Master_SSL_Cipher:   Master_SSL_Key:   Seconds_Behind_Master: 0   Master_SSL_Verify_Server_Cert: No   Last_IO_Errno: 0   Last_IO_Error:   Last_SQL_Errno: 0   Last_SQL_Error:   Replicate_Ignore_Server_Ids:   Master_Server_Id: 2 <\/code><\/pre>\n<p>  \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <b>Seconds_Behind_Master<\/b> (\u0432\u0440\u0435\u043c\u044f \u043e\u0442\u0441\u0442\u0430\u0432\u0430\u043d\u0438\u044f \u0440\u0435\u043f\u043b\u0438\u043a\u0438 \u043e\u0442 \u043c\u0430\u0441\u0442\u0435\u0440\u0430) \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0432\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0443\u043b\u044e:<br \/>  <b>Slave_IO_State<\/b> \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u043e\u0431\u0449\u0430\u0442\u044c: <b>\u00abWaiting for master to send even\u00bb<\/b><br \/>  <b>Slave_IO_Running = Yes<\/b><br \/>  <b>Slave_SQL_Running = Yes<\/b><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 <b>Slave_IO_State<\/b> \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0430 <b>Seconds_Behind_Master<\/b> \u0440\u0430\u0432\u043d\u043e <b>NULL<\/b>, \u0437\u043d\u0430\u0447\u0438\u0442, \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043d\u0435 \u043d\u0430\u0447\u0430\u043b\u0430\u0441\u044c.<\/p>\n<p>  \u0423\u0437\u043d\u0430\u0435\u043c <b><i>master_log<\/i><\/b> \u0438 <b><i>master_log_position<\/i><\/b> \u043f\u0435\u0440\u0432\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b bitrix1:  <\/p>\n<pre><code>[root@bitrix1 \/]# mysql -u root -p -e 'show master status;'  +-----------------------+--------+------------+-------------------------------------------+ | File                  |Position|Binlog_Do_DB| Binlog_Ignore_DB                          | +-----------------------+--------+------------+-------------------------------------------+ |server-mysql-bin.000026| 2930   |            |information_schema,mysql,performance_schema| +-----------------------+--------+------------+-------------------------------------------+ <\/code><\/pre>\n<p>  \u041d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 bitrix2 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e:  <\/p>\n<pre><code>[root@bitrix2 ~]# mysql -u root -p -e &quot;CHANGE MASTER TO MASTER_HOST = '172.16.10.1', MASTER_USER = 'replicator', MASTER_PASSWORD = 'aGiV4uac', MASTER_LOG_FILE = 'server-mysql-bin.000026', MASTER_LOG_POS = 2930;&quot;  [root@bitrix2 ~]# mysql -u root -p -e 'stop slave;' [root@bitrix2 ~]# mysql -u root -p -e 'show slave status \\G;' <\/code><\/pre>\n<p>  \u0414\u043e\u043b\u0436\u043d\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b: <b>Seconds_Behind_Master<\/b>, <b>Slave_IO_State<\/b>, <b>Slave_IO_Running<\/b>, <b>Slave_SQL_Running<\/b> \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c\u0438, \u043a\u0430\u043a \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 bitrix1.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u2013 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0430\u043c\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0436\u0434\u0443 Bitrix24. \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432 \u0431\u0443\u0434\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0447\u0435\u0440\u0435\u0437 csync2.<\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 csync \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430 \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445:  <\/p>\n<pre><code>[root@bitrix1 \/]# yum install csync2 [root@bitrix2 \/]# yum install csync2 <\/code><\/pre>\n<p>  \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445:  <\/p>\n<pre><code>chkconfig xinetd on chkconfig csync2 on <\/code><\/pre>\n<p>  \u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b, \u043d\u0430\u0445\u043e\u0434\u044f\u0441\u044c \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 bitrix1:  <\/p>\n<pre><code>[root@bitrix1 \/]# openssl genrsa -out \/etc\/csync2\/csync2_ssl_key.pem 1024  [root@bitrix1 \/]# openssl req -new -key \/etc\/csync2\/csync2_ssl_key.pem -out \/etc\/csync2\/csync2_ssl_cert.csr  [root@bitrix1 \/]# openssl x509 -req -days 600 -in \/etc\/csync2\/csync2_ssl_cert.csr -signkey \/etc\/csync2\/csync2_ssl_key.pem -out \/etc\/csync2\/csync2_ssl_cert.pem <\/code><\/pre>\n<p>  \u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u044e\u0447 csync2:   <\/p>\n<pre><code>csync2 -k \/etc\/csync2\/csync2.cluster.key <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u044e\u0447 <b>csync2.cluster.key<\/b> \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0435 <b>\/etc\/csync2\/<\/b><\/p>\n<p>  \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u0434\u043b\u044f csync \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:  <\/p>\n<pre><code>[root@bitrix1 \/]# cat \/etc\/csync2\/csync2.cfg group cluster { host bitrix1 bitrix2;  key \/etc\/csync2\/csync2.cluster.key;  include \/home\/bitrix\/www; <\/code><\/pre>\n<p>  \u0418\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0411\u0414, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u0430\u0440\u043e\u043b\u0438 \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445. \u0422\u0430\u043a\u0436\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u043a\u044d\u0448\u0435\u043c:  <\/p>\n<pre><code>exclude \/home\/bitrix\/www\/bitrix\/php_interface\/dbconn.php; exclude \/home\/bitrix\/www\/bitrix\/.settings.php; exclude \/home\/bitrix\/www\/bitrix\/cache; exclude \/home\/bitrix\/www\/bitrix\/managed_cache; <\/code><\/pre>\n<p>  \u0417\u0430\u0434\u0430\u0451\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043e\u0442\u0431\u043e\u0440\u0430 \u0444\u0430\u0439\u043b\u043e\u0432: \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u0442, \u0447\u0442\u043e \u0441\u0430\u043c\u044b\u0439 \u043d\u043e\u0432\u044b\u0439:  <\/p>\n<pre><code>auto younger; } <\/code><\/pre>\n<p>  \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043b\u044e\u0447\u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u0444\u0430\u0439\u043b\u043e\u043c <b>csync2.cfg<\/b> \u0441 bitrix1 \u043d\u0430 bitrix2, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e scp:  <\/p>\n<pre><code>scp \/etc\/csync2\/csync2* root@172.16.10.2:\/test <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u0442\u0440\u043e\u0438\u043c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c csync2.  <\/p>\n<pre><code>[root@bitrix1 csync2]# csync2 -cr \/ <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u2013 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c:  <\/p>\n<pre><code>[root@bitrix1 \/]# \/usr\/sbin\/csync2 \u2013xv <\/code><\/pre>\n<p>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0448\u0438\u0431\u043e\u043a \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <b>\/usr\/sbin\/csync2 \u2013Tv<\/b><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b\u0430\u0441\u044c \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c \u0432 <b>\/etc\/crontab<\/b> \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 csync \u043a\u0430\u0436\u0434\u0443\u044e \u043c\u0438\u043d\u0443\u0442\u0443:  <\/p>\n<pre><code>*\/1 * * * * root \/usr\/sbin\/csync2 -x &gt;\/dev\/null 2&gt;&1 <\/code><\/pre>\n<p>  \u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443: \u0441\u043e\u0437\u0434\u0430\u0432, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 \u0441\u0430\u043c\u043e\u043c \u043f\u043e\u0440\u0442\u0430\u043b\u0435, \u0447\u0430\u0442\u0435 bitrix24, \u0443\u0434\u0430\u043b\u0438\u0442\u044c, \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0438 \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432\u043d\u043e\u0441\u0438\u043c\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0443\u0437\u043b\u0430\u043c\u0438.<\/p>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0435\u0434\u0438\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0432\u0445\u043e\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c HAProxy, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u041e\u0431\u0437\u043e\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 HAProxy \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u043c, \u0442.\u043a. \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432 \u043f\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u0443 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u043d\u043e \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b\u0430 <b>\/etc\/haproxy\/haproxy.cfg<\/b>:  <\/p>\n<pre><code>[root@haproxy haproxy]# cat haproxy.cfg global  log 127.0.0.1 local2 notice    chroot \/var\/lib\/haproxy  pidfile \/var\/run\/haproxy.pid  maxconn 4000  user haproxy  group haproxy  daemon  nbproc 1 # Number of processing cores.  ulimit-n 65536  # turn on stats unix socket  stats socket \/var\/lib\/haproxy\/stats  defaults  mode http  log global  option httplog  option dontlognull  option http-server-close  option forwardfor except 127.0.0.0\/8  option redispatch  retries 3  timeout http-request 5000  timeout queue        5000  timeout connect      5000  timeout client       5000  timeout server       5000  timeout http-keep-alive 30  timeout check           20 #  maxconn                 3000  frontend bitrix.local  mode http  bind :80  default_backend bitrix   backend bitrix  mode http  balance roundrobin  option httpchk  option httpclose  server bitrix1 172.16.10.1:80 check  server bitrix2 172.16.10.2:80 check <\/code><\/pre>\n<p>  \u041a\u043b\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u0437\u0434\u043e\u0440\u043e\u0432\u044c\u0435 \u0438 \u0434\u0430 \u043f\u0440\u0435\u0431\u0443\u0434\u0435\u0442 \u0441 \u0432\u0430\u043c\u0438 \u0421\u0438\u043b\u0430!<br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/317094\/\"> https:\/\/habrahabr.ru\/post\/317094\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u2013 \u0437\u0430\u043b\u043e\u0433 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0435\u043d\u0438\u044f \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0442\u0430\u043a \u0438 \u0430\u0434\u043c\u0438\u043d\u043e\u0432. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u043c \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0435 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0435\u0442 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044e BitrixVM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435\u043c \u0431\u044b\u043b\u043e \u0440\u0430\u0434\u043e\u0441\u0442\u043d\u043e \u0438 \u043d\u0438\u0447\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u043b\u043e \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-282336","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/282336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=282336"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/282336\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=282336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=282336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=282336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}