Skip to content

Commit 49992ca

Browse files
committed
update
1 parent 93b630e commit 49992ca

File tree

397 files changed

+1774
-2695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

397 files changed

+1774
-2695
lines changed

architect/appendix.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>附录 1. 附录</title><link rel="stylesheet" type="text/css" href="docbook.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="home" href="index.html" title="Netkiller Architect 手札" /><link rel="up" href="index.html" title="Netkiller Architect 手札" /><link rel="prev" href="solution/ch12s08.html" title="12.8. FAQ" /><link rel="next" href="glossary.html" title="术语表" /></head><body><a xmlns="" href="//www.netkiller.cn/">Home</a> |
2+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>附录 1. 附录</title><link rel="stylesheet" type="text/css" href="docbook.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="home" href="index.html" title="Netkiller Architect 手札" /><link rel="up" href="index.html" title="Netkiller Architect 手札" /><link rel="prev" href="software/serialization.html" title="11.33. 序列化" /><link rel="next" href="glossary.html" title="术语表" /></head><body><a xmlns="" href="//www.netkiller.cn/">Home</a> |
33
<a xmlns="" href="//netkiller.github.io/">简体中文</a> |
44
<a xmlns="" href="http://netkiller.sourceforge.net/">繁体中文</a> |
55
<a xmlns="" href="/journal/index.html">杂文</a> |
@@ -14,15 +14,15 @@
1414
<a xmlns="" href="http://cn.linkedin.com/in/netkiller/">Linkedin</a> |
1515
<a xmlns="" href="https://www.youtube.com/user/bg7nyt/videos">Youtube</a> |
1616
<a xmlns="" href="//www.netkiller.cn/home/donations.html">打赏(Donations)</a> |
17-
<a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">附录 1. 附录</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="solution/ch12s08.html">上一页</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="glossary.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=watch&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=fork&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;type=follow&amp;count=true&amp;size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a><a href="https://www.zhihu.com/club/1241768772601950208">多维度架构</a></td><td></td><td></td><td></td><td></td></tr></table><div class="appendix"><div class="titlepage"><div><div><h1 class="title"><a id="appendix"></a>附录 1. 附录</h1></div></div></div>
17+
<a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">附录 1. 附录</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="software/serialization.html">上一页</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="glossary.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=watch&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=fork&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;type=follow&amp;count=true&amp;size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a><a href="https://www.zhihu.com/club/1241768772601950208">多维度架构</a></td><td></td><td></td><td></td><td></td></tr></table><div class="appendix"><div class="titlepage"><div><div><h1 class="title"><a id="appendix"></a>附录 1. 附录</h1></div></div></div>
1818

1919

2020
</div><div xmlns="" id="SOHUCS"></div><script xmlns="" charset="utf-8" type="text/javascript" src="https://cy-cdn.kuaizhan.com/upload/changyan.js"></script><script xmlns="" type="text/javascript">
2121
window.changyan.api.config({
2222
appid: 'cyvwjQUG3',
2323
conf: 'prod_ef966242df3d8b5acb1e0ee9fc01cafe'
2424
});
25-
</script><script xmlns="" type="text/javascript" id="clustrmaps" src="//cdn.clustrmaps.com/map_v2.js?u=r5HG&amp;d=9mi5r_kkDC8uxG8HuY3p4-2qgeeVypAK9vMD-2P6BYM"></script><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="solution/ch12s08.html">上一页</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="glossary.html">下一页</a></td></tr><tr><td width="40%" align="left" valign="top">12.8. FAQ </td><td width="20%" align="center"><a accesskey="h" href="index.html">起始页</a></td><td width="40%" align="right" valign="top"> 术语表</td></tr></table></div><script xmlns="">
25+
</script><script xmlns="" type="text/javascript" id="clustrmaps" src="//cdn.clustrmaps.com/map_v2.js?u=r5HG&amp;d=9mi5r_kkDC8uxG8HuY3p4-2qgeeVypAK9vMD-2P6BYM"></script><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="software/serialization.html">上一页</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="glossary.html">下一页</a></td></tr><tr><td width="40%" align="left" valign="top">11.33. 序列化 </td><td width="20%" align="center"><a accesskey="h" href="index.html">起始页</a></td><td width="40%" align="right" valign="top"> 术语表</td></tr></table></div><script xmlns="">
2626
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
2727
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
2828
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

architect/cloud/RDS.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a xmlns="" href="//www.netkiller.cn/home/donations.html">打赏(Donations)</a> |
1717
<a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">3.2. RDS MySQL</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="阿里云.html">上一页</a> </td><th width="60%" align="center">第 3 章 阿里云</th><td width="20%" align="right"> <a accesskey="n" href="日志服务.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=watch&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=fork&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;type=follow&amp;count=true&amp;size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a><a href="https://www.zhihu.com/club/1241768772601950208">多维度架构</a></td><td></td><td></td><td></td><td></td></tr></table><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="RDS"></a>3.2. RDS MySQL</h2></div></div></div>
1818

19-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm75119761792"></a>3.2.1. RDS MySQL =&gt; 本地 MySQL 数据库</h3></div></div></div>
19+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm49620838560"></a>3.2.1. RDS MySQL =&gt; 本地 MySQL 数据库</h3></div></div></div>
2020

2121
<p>从 RDS 上下载的物理备份</p>
2222
<pre class="screen">
@@ -25,7 +25,7 @@
2525
hins19648946_data_20220913035432_qp.xb
2626

2727
</pre>
28-
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm75119690000"></a>3.2.1.1. MySQL 5.7</h4></div></div></div>
28+
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm49620834992"></a>3.2.1.1. MySQL 5.7</h4></div></div></div>
2929

3030
<p>安装依赖库</p>
3131
<pre class="screen">
@@ -80,7 +80,7 @@
8080
</pre>
8181
<p>去掉 --skip-grant-tables 选项,重启 MySQL,恢复完成。</p>
8282
</div>
83-
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm75119689872"></a>3.2.1.2. MySQL 8.0</h4></div></div></div>
83+
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm49656968704"></a>3.2.1.2. MySQL 8.0</h4></div></div></div>
8484

8585
<p>安装 percona-xtrabackup 恢复软件</p>
8686
<pre class="screen">
@@ -103,7 +103,7 @@
103103
</pre>
104104
</div>
105105
</div>
106-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm75119680208"></a>3.2.2. 换表升级</h3></div></div></div>
106+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm49620836560"></a>3.2.2. 换表升级</h3></div></div></div>
107107

108108
<p>当前表改名,然后再基于旧表创建新的空表</p>
109109
<pre class="screen">
@@ -120,7 +120,7 @@
120120

121121
</pre>
122122
</div>
123-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm75119677728"></a>3.2.3. 导出 CSV 文件</h3></div></div></div>
123+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm49620825616"></a>3.2.3. 导出 CSV 文件</h3></div></div></div>
124124

125125
<p>RDS 目前没有找到导出 csv 的方案,客服让使用 DMS 中的数据导出功能</p>
126126
<pre class="screen">

architect/cloud/bastionhost.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
<a xmlns="" href="//www.netkiller.cn/home/donations.html">打赏(Donations)</a> |
1717
<a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">3.5. 堡垒机</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="瓶颈分析.html">上一页</a> </td><th width="60%" align="center">第 3 章 阿里云</th><td width="20%" align="right"> <a accesskey="n" href="阿里云Kubernetes.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=watch&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=fork&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;type=follow&amp;count=true&amp;size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a><a href="https://www.zhihu.com/club/1241768772601950208">多维度架构</a></td><td></td><td></td><td></td><td></td></tr></table><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="bastionhost"></a>3.5. 堡垒机</h2></div></div></div>
1818

19-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm75035056208"></a>3.5.1. 数据库查询需求解决方案</h3></div></div></div>
19+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm49656881488"></a>3.5.1. 数据库查询需求解决方案</h3></div></div></div>
2020

21-
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm75035055520"></a>3.5.1.1. 背景和需求</h4></div></div></div>
21+
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm49656880768"></a>3.5.1.1. 背景和需求</h4></div></div></div>
2222

2323
<p>部分小组有数据库查询,频次较高,Yearning 平台无法满足需求。目前方式是阿里云RDS挂载公网IP,暴漏3306查询</p>
2424
<p>需求:实现谁,什么时间,做了什么操作。</p>
2525
</div>
26-
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm75035053568"></a>3.5.1.2. 方案选型</h4></div></div></div>
26+
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="idm49656878800"></a>3.5.1.2. 方案选型</h4></div></div></div>
2727

2828
<p>方案一、无影云桌面</p>
2929
<p>方案二、堡垒机+远程桌面+视频录屏+操作留痕</p>
@@ -32,7 +32,7 @@
3232
</div>
3333
</div>
3434

35-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm75035050608"></a>3.5.2. 解决方案</h3></div></div></div>
35+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm49656875840"></a>3.5.2. 解决方案</h3></div></div></div>
3636

3737
<div class="screenshot">
3838

@@ -42,7 +42,7 @@
4242
<div class="orderedlist"><p class="title"><strong>优点:</strong></p><ol class="orderedlist" type="1"><li class="listitem">堡垒机可以录屏,可以看到整个操作期间的过程,便于事故复盘和追责</li><li class="listitem">经过堡垒机后 RDS 再无挂载公网IP的需求,直接内网链接 RDS 从库,这种方案更安全,RDS彻底摆脱暴力3306端口的风险</li><li class="listitem">三层登录保障,第一层堡垒机,第二层云桌面,如果在家中访问云桌面,还需要登录到公司VPN</li></ol></div>
4343
<div class="orderedlist"><p class="title"><strong>缺点:</strong></p><ol class="orderedlist" type="1"><li class="listitem">产生费用</li><li class="listitem">远程操作稍复杂</li><li class="listitem">下载数据需要中转</li></ol></div>
4444
</div>
45-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm75035043216"></a>3.5.3. 方案实施</h3></div></div></div>
45+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idm49656868464"></a>3.5.3. 方案实施</h3></div></div></div>
4646

4747
<div class="orderedlist"><p class="title"><strong>实施方案步骤:</strong></p><ol class="orderedlist" type="1"><li class="listitem">卸载阿里云RDS数据库公网IP(需要评估影响范围)</li><li class="listitem">准备一个云桌面Windows</li><li class="listitem">设置内网访问策略,允许云桌面从内网链接到指定从库</li><li class="listitem">堡垒机开通链接云桌面权限</li><li class="listitem">云桌面开通登录账号</li><li class="listitem">本地首先登录堡垒机,需要手机号+验证码。然后通过堡垒机链接远程桌面,再登录云桌面的账号。在远程电脑上,大家可以根据自己喜好安装工具,最后从内网访问 RDS 从库查询数据。操作过程会录屏。</li></ol></div>
4848
</div>

0 commit comments

Comments
 (0)