{"id":2068,"date":"2021-08-24T09:38:46","date_gmt":"2021-08-24T01:38:46","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=2068"},"modified":"2025-12-16T15:23:11","modified_gmt":"2025-12-16T07:23:11","slug":"txsql%e5%8d%95%e8%8a%82%e7%82%b9phxbinlogsvr%e6%95%85%e9%9a%9c%e5%9c%a8%e7%ba%bf%e4%bf%ae%e5%a4%8d","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=2068","title":{"rendered":"TXSQL \u5355\u8282\u70b9\u6545\u969c\uff0c\u5728\u7ebf\u4fee\u590d\u65b9\u6848"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<hr \/>\n<p>\u5728\u4e00\u4e2aTxSQL\u96c6\u7fa4\u4e2d\uff0c\u53ea\u6709\u4e00\u4e2a\u8282\u70b9\u5904\u4e8e\u4e0d\u5065\u5eb7\u72b6\u6001\uff0c\u800c\u5176\u4ed6\u8282\u70b9\u90fd\u662f\u5065\u5eb7\u7684\uff0c\u800c\u4e14\u6d41\u6c34\u4e5f\u90fd\u662f\u6b63\u5e38\u7684\uff08\u5141\u8bb8\u8ddfMaster\u6709\u5dee\u5f02\u4f46\u4e00\u76f4\u5728\u8ffd\u8d76\u3001\u6ca1\u6709\u505c\u6ede\uff09\uff0c\u53ef\u80fd\u7684\u5f02\u5e38\u8868\u73b0\u6709\uff1a<\/p>\n<p>1.\u5728\u53d1\u751f\u6545\u969c\u7684pod\u91cc\uff0cphxbinlogsvr\u4e0d\u80fd\u7a33\u5b9a\u8fd0\u884c<br \/>\n2.\u5728\u53d1\u751f\u6545\u969c\u7684pod\u91cc\uff0c\/usr\/bin\/txsql\/tools\/\u8be5\u76ee\u5f55\u4e0b\u4e0d\u505c\u7684\u751f\u6210 <code>core<\/code> \u5f00\u5934\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u5bfc\u81f4 <code>\/var\/lib\/docker<\/code> \u78c1\u76d8\u6ee1\u4e86<\/p>\n<h3>\u8be6\u7ec6\u8bf4\u660e<\/h3>\n<hr \/>\n<h4>\u9002\u7528\u8303\u56f4<\/h4>\n<ul>\n<li>\u7cfb\u7edf\u4e2d\u7684\u591a\u6570\u8282\u70b9\u4ecd\u7136\u5904\u4e8e\u5065\u5eb7\u72b6\u6001\uff08\u4e14\u4ed6\u4eec\u7684\u6d41\u6c34\u4e5f\u5904\u4e8e\u6b63\u5e38\u7684\u72b6\u6001\uff09<\/li>\n<li>\u6570\u636e\u91cf\u6bd4\u8f83\u5c0f\u3002\u4e00\u822c\u9700\u8981\u5c0f\u4e8e5GB\uff0c\u5426\u5219\u5bb9\u6613\u7531\u4e8epod\u64cd\u4f5c\u8d85\u65f6\u800c\u5931\u8d25<\/li>\n<\/ul>\n<h4>\u4fee\u590d\u6b65\u9aa4<\/h4>\n<p><strong>\u73af\u5883\u63cf\u8ff0<\/strong>\uff1atxsql\u90e8\u7f72\u5728mll01\u3001mll02\u3001mll03\u4e09\u53f0\u673a\u5668\u4e0a\uff0c\u4e14IP\u5206\u522b\u4e3a172.22.33.1\u3001172.22.33.2\u3001172.22.33.3\uff0c\u51fa\u73b0\u6545\u969c\u7684\u8282\u70b9\u4e3amll03\uff0c\u6211\u4eec\u8981\u4fee\u590d\u8fd9\u4e2a\u8282\u70b9\u3002\u4ee5\u4e0b\u63cf\u8ff0\u4e2d\uff0c\u6211\u4eec\u540c\u65f6\u7528\u4e3b\u673a\u540d\u6765\u547d\u540d\u5bf9\u5e94\u7684\u4e3b\u673a\u4e0aTxSQL pod\u7684\u540d\u79f0<\/p>\n<h5>1. \u68c0\u67e5mll01\u3001mll02\u4e0a\u7684TxSQL\u5904\u4e8e\u542f\u52a8\u72b6\u6001\u4e14\u5065\u5eb7<\/h5>\n<p>\u82e5\u65e0\u6cd5\u6b63\u5e38\u63d0\u4f9b\u670d\u52a1\uff08Transwarp Manager\u754c\u9762\u663e\u793a\u5b83\u4eec\u4e0d\u5065\u5eb7\uff09\uff0c\u5219\u505c\u6b62\u64cd\u4f5c<\/p>\n<h5>2. \u68c0\u67e5master\u4fe1\u606f\u548c\u6210\u5458\u4fe1\u606f<\/h5>\n<p>\u8fdb\u5165TxSQL pod mll01\uff08\u6216\u8005mll02\uff09\u7684 <strong>\/usr\/bin\/txsql\/tools<\/strong> \u76ee\u5f55\uff0c\u6267\u884c <strong>.\/txsql.sh list<\/strong>\uff0c\u4ee5\u8fdb\u5165 mll01 \u7684pod\u4e3a\u4f8b<\/p>\n<pre><code class=\"language-shell\">[root@mll01 lib]# kubectl get pod -owide | grep txsql-server-txsql\ntxsql-server-txsql1-9f966c857-lfx2h                     1\/1       Running   0          1d        172.22.33.3   mll03\ntxsql-server-txsql1-9f966c857-tqvjl                     1\/1       Running   1          2d        172.22.33.1   mll01\ntxsql-server-txsql1-9f966c857-xjm8w                     1\/1       Running   1          2d        172.22.33.2   mll02\n[root@mll01 lib]# kubectl exec -it txsql-server-txsql1-9f966c857-tqvjl bash\n[root@mll01 \/]# cd \/usr\/bin\/txsql\/tools\n[root@mll01 tools]# .\/txsql.sh list\nget master 172.22.33.1 expire time 1579161434 Thu Jan 16 15:57:14 2020\nip 172.22.33.1 port 17000\nip 172.22.33.2 port 17000\nip 172.22.33.3 port 17000\n[root@mll01 tools]#<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579161431165.png\" alt=\"file\" \/><\/p>\n<h5>3. \u4f7f\u7528 <strong>.\/txsql.sh rm<\/strong> \u547d\u4ee4\u79fb\u9664\u6545\u969c\u8282\u70b9<\/h5>\n<p>\u8fd9\u4e00\u6b65\u4e5f\u662f\u5728 mll01 \u7684txsql pod\u4e2d\u7684 <strong>\/usr\/bin\/txsql\/tools<\/strong> \u76ee\u5f55\u4e0b\u6267\u884c\uff0c\u518d\u6267\u884c <strong>.\/txsql.sh list<\/strong> \u4ee5\u786e\u8ba4\u6545\u969c\u8282\u70b9\u79fb\u9664\u6210\u529f<\/p>\n<pre><code class=\"language-shell\">[root@mll01 tools]# .\/txsql.sh rm 172.22.33.3\nget master 172.22.33.1 expire time 1579161644 Thu Jan 16 16:00:44 2020\nRemoveMember 172.22.33.3 done\nN\n[root@mll01 tools]# .\/txsql.sh list\nget master 172.22.33.1 expire time 1579161649 Thu Jan 16 16:00:49 2020\nip 172.22.33.1 port 17000\nip 172.22.33.2 port 17000\n[root@mll01 tools]# <\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579161693662.png\" alt=\"file\" \/><\/p>\n<h5>4. \u5f3a\u5236\u6545\u969c\u8282\u70b9\u91cd\u65b0\u521d\u59cb\u5316<\/h5>\n<ul>\n<li>\u8fdb\u5165\u6545\u969c\u8282\u70b9 mll03 \u7684pod\u7684 <strong>\/usr\/bin\/txsql\/etc\/<\/strong> \u76ee\u5f55\uff0c\u7f16\u8f91 <strong>install_conf.sh<\/strong>\uff1b<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579161917772.png\" alt=\"file\" \/><\/p>\n<ul>\n<li>\u786e\u4fdd mll03 \u7684IP\uff08\u5373172.22.33.3\uff09\u5728TxSQLNodes\u6570\u7ec4\u4e2d<strong>\u4e0d\u662f<\/strong>\u7b2c\u4e00\u4e2a\u3002\u5982\u679c\u662f\uff0c\u53ef\u4ee5\u628a\u5b83\u4e0e\u7b2c\u4e8c\u4e2a\u4ea4\u6362\u4f4d\u7f6e\uff1b<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579162087268.png\" alt=\"file\" \/><\/p>\n<ul>\n<li>install_conf.sh \u7684 <strong>DATA_DIR<\/strong> \u53d8\u91cf\u8bb0\u5f55\u4e86TxSQL\u6570\u636e\u76ee\u5f55\u7684\u8def\u5f84\uff0c\u9700\u8981\u624b\u52a8\u5220\u9664\u8be5\u76ee\u5f55\u4e0b\u7684\u5168\u90e8\u5185\u5bb9\uff0c\u4f46<strong>\u5fc5\u987b\u4fdd\u7559\u8fd9\u4e2a\u76ee\u5f55<\/strong>\uff0c\u5220\u9664\u5b8c\u4e4b\u540e\u9000\u51fa\u8be5pod\uff1b<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579162155959.png\" alt=\"file\" \/><\/p>\n<ul>\n<li>\u4f7f\u7528Transwarp Manager\u91cd\u65b0\u542f\u52a8\u8be5pod\uff0c\u8fd9\u4f1a\u5f3a\u5236\u8fd9\u4e2apod\u91cd\u65b0\u521d\u59cb\u5316<\/li>\n<\/ul>\n<p>\u5982\u679cmanager\u9875\u9762\u72b6\u6001\u4e0d\u662f not running\uff0c\u5148\u624b\u52a8\u505c\u6b62\uff0c\u518d\u70b9\u51fb\u542f\u52a8<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579162311057.png\" alt=\"file\" \/><\/p>\n<h5>5. \u8fdb\u5165 mll03 \u65b0\u542f\u52a8\u7684pod\uff08<strong>\u6ce8\u610f\uff0c\u5fc5\u987b\u5728pod\u5185\u90e8\u64cd\u4f5c\uff0c\u4ee5\u4fdd\u8bc1dump\u6570\u636e\u7684\u517c\u5bb9\u6027\uff0c\u5426\u5219\u540e\u671f\u6570\u636e\u5f88\u53ef\u80fd\u65e0\u6cd5\u5bfc\u5165<\/strong>\uff09\uff0c\u7b49\u5f85\u6570\u636e\u76ee\u5f55\u4e0b\u51fa\u73b0 <strong>init_done.flag<\/strong> \u6587\u4ef6\uff08\u8be5\u6587\u4ef6\u7684\u51fa\u73b0\u6807\u5fd7\u7740\u521d\u59cb\u5316\u5b8c\u6210\uff09<\/h5>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579162758863.png\" alt=\"file\" \/><\/p>\n<p>\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u4ece\u4e00\u4e2a\u5065\u5eb7\u7684\u8282\u70b9\uff08\u6bd4\u5982mll01\uff09\u5907\u4efd\u6570\u636e\u3002\u5728mll01\u7684txsql pod\u4e2d\u6267\u884c\uff0c\u53ef\u4ee5\u5728\u6301\u4e45\u5316\u8def\u5f84\uff08\/var\/log\/txsql1\/\uff09\u4e0b\u6267\u884c\uff0c\u514d\u53bbpod\u548c\u5bbf\u4e3b\u673a\u4e4b\u95f4\u4f20\u6587\u4ef6\u7684\u6b65\u9aa4<br \/>\n\u7aef\u53e3\uff08\u9ed8\u8ba4\u662f3316\uff09\u548c\u5bc6\u7801\u8bf7\u6839\u636e\u5177\u4f53\u60c5\u51b5\u4fee\u6539\uff0croot\u5bc6\u7801\u53ef\u5728 <strong>\/usr\/bin\/txsql\/etc\/db.properties<\/strong> \u4e2d\u67e5\u770b<\/p>\n<pre><code class=\"language-shell\">\/usr\/bin\/txsql\/percona.src\/bin\/mysqldump -h172.22.33.1 -P3316 -uroot -p412818497 --single-transaction --all-databases --triggers --routines --events >mydata.sql<\/code><\/pre>\n<p>mydata.sql\u8be5\u6587\u4ef6\u53ef\u4ee5\u5728mll01\u7684\u5bbf\u4e3b\u673a\u8def\u5f84\/var\/log\/txsql1\/\u4e0b\u770b\u5230\uff0c\u5c06\u8be5\u6587\u4ef6\u4f20\u5230\u6545\u969c\u8282\u70b9 mll03\u8282\u70b9\u7684 \/var\/log\/txsql1\/ \u76ee\u5f55\u4e0b<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579163267454.png\" alt=\"file\" \/><\/p>\n<h5>6. \u8fdb\u5165\u7ef4\u62a4\u6a21\u5f0f<\/h5>\n<p>\u5f85 mll03 \u8282\u70b9\u65b0\u542f\u52a8\u7684 txsql \u7684 pod \u7684\u6570\u636e\u76ee\u5f55\u4e0b\u51fa\u73b0 init_done.flag \u521d\u59cb\u5316\u5b8c\u6210\u7684\u6807\u5fd7\u6587\u4ef6\u540e\uff0c\u6267\u884c\uff1a<\/p>\n<pre><code class=\"language-shell\"># \u8fdb\u5165\u7ef4\u62a4\u6a21\u5f0f\uff0c\u76ee\u7684\u662f\u7981\u6b62\u65b0pod\u81ea\u52a8\u91cd\u542f\u670d\u52a1\u3002\n\/usr\/bin\/txsql\/tools\/txsql.sh manual_mode enable<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2021\/08\/image-1765869373130.png\" alt=\"file\" \/><\/p>\n<h5>7. \u505c\u6b62phxbinlogsvr<\/h5>\n<p>\u5728 mll03 pod \u7684\u76ee\u5f55 \/usr\/bin\/txsql\/tools \u4e0b\u6267\u884c:<\/p>\n<pre><code class=\"language-shell\"># \u6740\u6b7b\u8fd9\u4e2aphxbinlogsvr\u8fdb\u7a0b\n.\/txsql.sh kill phxbinlogsvr<\/code><\/pre>\n<p>\u53ef\u4ee5\u4f7f\u7528 <strong>ps -ef<\/strong> \u67e5\u770b\u662f\u5426\u6210\u529f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2021\/08\/image-1765869660743.png\" alt=\"file\" \/><\/p>\n<h5>8. \u628a mll03 \u6dfb\u52a0\u56de TxSQL \u96c6\u7fa4\u3002<\/h5>\n<p>\u8be5\u6b65\u9aa4\u5728 mll01 \u6b63\u5e38\u8282\u70b9\u7684pod\u4e2d\u6267\u884c\uff0c\u9700\u8981\u7b49\u5f8520\u79d2\u9a8c\u8bc1\uff0c\u786e\u8ba4\u5b83\u6ca1\u6709\u81ea\u52a8\u91cd\u542f<\/p>\n<pre><code class=\"language-shell\">[root@mll01 lib]# kubectl exec -it txsql-server-txsql1-9f966c857-tqvjl bash\n[root@mll01 \/]# cd \/usr\/bin\/txsql\/tools \n[root@mll01 tools]# .\/txsql.sh add 172.22.33.3\nget master 172.22.33.1 expire time 1579163994 Thu Jan 16 16:39:54 2020\nAddMember 172.22.33.3 done\nY\n[root@mll01 tools]# .\/txsql.sh list           \nget master 172.22.33.1 expire time 1579163999 Thu Jan 16 16:39:59 2020\nip 172.22.33.1 port 17000\nip 172.22.33.2 port 17000\nip 172.22.33.3 port 17000\n[root@mll01 tools]#<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579163959186.png\" alt=\"file\" \/><\/p>\n<h5>9. \u5411mll03\u4e2d\u5bfc\u5165\u6570\u636e<\/h5>\n<ul>\n<li>\u5148\u786e\u8ba4\u5907\u4efd\u7684\u6570\u636e\u662f\u5426\u5df2\u7ecf\u5728mll03\u7684txsql pod\u7684\/var\/log\/txsql1\/\u8def\u5f84\u4e0b\uff1b<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579164166920.png\" alt=\"file\" \/><\/p>\n<ul>\n<li>\u786e\u8ba4phxbinlogsvr\u6ca1\u6709\u81ea\u5df1\u91cd\u542f\u3002\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u7ed3\u679c\u4e2d\u4e0d\u5e94\u8be5\u770b\u5230phxbinlogsvr\u8fdb\u7a0b\uff1a<\/li>\n<\/ul>\n<pre><code class=\"language-shell\">ps -ef | grep phxbinlogsvr | grep -v grep<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579164246052.png\" alt=\"file\" \/><\/p>\n<ul>\n<li>\u767b\u5f55MySQL\uff0c\u5e76\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5bfc\u5165\u6570\u636e<\/li>\n<\/ul>\n<pre><code class=\"language-shell\">#\u5148\u627e\u5230socket\u6587\u4ef6\nfind \/ -name percona.sock\n#\u5728\/var\/log\/txsql1\u76ee\u5f55\u4e0b\u4f7f\u7528socket\u767b\u5f55mysql\nmysql -S \/vdir\/mnt\/disk1\/hadoop\/txsql1\/percona.workspace\/tmp\/percona.sock\n\nmysql> set global super_read_only=off;\nmysql> set global read_only=off;\nmysql> source mydata.sql;\n# flush privileges \u524d\u5fc5\u987b\u8981\u5148 set sql_log_bin=0\uff0c\u5426\u5219\u4f1a\u5f15\u8d77\u4e25\u91cd\u7684\u9519\u8bef\nmysql> set sql_log_bin=0;\nmysql> flush privileges;\n# \u7b2c\u4e00\u6b21\u5bfc\u5165\u65f6\u4f1a\u56e0\u4e3a\u7f3a\u5c11\u7528\u6237\u800c\u5bfc\u81f4\u4e00\u4e9b\u95ee\u9898\uff0c\u56e0\u6b64\u9700\u8981\u8fdb\u884c\u7b2c\u4e8c\u6b21\u5bfc\u5165\nmysql> source mydata.sql;\nmysql> reset slave;<\/code><\/pre>\n<p>\u5982\u679c\u64cd\u4f5c\u51fa\u73b0\u4efb\u4f55\u95ee\u9898\u6216\u8005\u9519\u8bef\uff0c\u5219\u5fc5\u987b\u5230mll01\u7684pod\u91cc\u4e0a\uff0c\u4ece\u7b2c3\u6b65\u91cd\u65b0\u5f00\u59cb\u6574\u4e2a\u4fee\u590d\u8fc7\u7a0b<\/p>\n<h5>10. \u9000\u51fa\u4fee\u590d\u6a21\u5f0f\uff0c\u5e76\u7b49\u5f85 phxbinlogsvr \u542f\u52a8<\/h5>\n<pre><code class=\"language-shell\"># \u9000\u51fa\u7ef4\u62a4\u6a21\u5f0f\uff0c\u4f1a\u81ea\u52a8\u62c9\u8d77 phxbinlogsvr\u3002\n\/usr\/bin\/txsql\/tools\/txsql.sh manual_mode disable<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2021\/08\/image-1765869809923.png\" alt=\"file\" \/><\/p>\n<h5>11. \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u6d41\u6c34\u662f\u5426\u6b63\u5e38\uff1a<\/h5>\n<pre><code class=\"language-shell\">[root@mll03 \/]# cd \/usr\/bin\/txsql\/tools \n[root@mll03 tools]# .\/txsql.sh localshell\nmysql> show slave status\\G\n*************************** 1. row ***************************\n               Slave_IO_State: Waiting for master to send event\n                  Master_Host: 127.0.0.1\n                  Master_User: replica\n                  Master_Port: 6000\n                Connect_Retry: 60\n              Master_Log_File: mysql-bin.000004\n          Read_Master_Log_Pos: 1453365\n               Relay_Log_File: relay-log.000002\n                Relay_Log_Pos: 1453448\n        Relay_Master_Log_File: mysql-bin.000004\n             Slave_IO_Running: Yes\n            Slave_SQL_Running: Yes\n              Replicate_Do_DB: <\/code><\/pre>\n<p>\u7ed3\u679c\u4e2d<strong>Slave_IO_Running\u3001Slave_SQL_Running<\/strong>\u5fc5\u987b\u5904\u4e8eYes\u72b6\u6001<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579164876982.png\" alt=\"file\" \/><\/p>\n<h5>12. \u64cd\u4f5c\u5b8c\u6210\u3002Transwarp Manager\u4e2d\u6b64\u65f6\u5e94\u663e\u793a3\u4e2a\u8282\u70b9\u5747\u4e3a\u5065\u5eb7\u72b6\u6001<\/h5>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/image-1579164976857.png\" alt=\"file\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u5728\u4e00\u4e2aTxSQL\u96c6\u7fa4\u4e2d\uff0c\u53ea\u6709\u4e00\u4e2a\u8282\u70b9\u5904\u4e8e\u4e0d\u5065\u5eb7\u72b6\u6001\uff0c\u800c\u5176\u4ed6\u8282\u70b9\u90fd\u662f\u5065\u5eb7\u7684\uff0c\u800c\u4e14\u6d41\u6c34\u4e5f\u90fd\u662f\u6b63\u5e38\u7684\uff08\u5141\u8bb8 ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=2068\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2068","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/2068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2068"}],"version-history":[{"count":8,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/2068\/revisions"}],"predecessor-version":[{"id":5425,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/2068\/revisions\/5425"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}