通过SSH远程安装Agent

<p class="shortdesc">需要被审计的数据库可能被一个或多个应用服务器使用,您可以通过SSH协议将Agent自动安装到这些应用服务器上,Agent将会获取应用服务器访问数据库的流量上报到数据库审计服务进行审计分析。目前仅Linux系统的设备支持SSH远程安装。</p> <section class="section prereq" id="installBySSH__prereq_any_zxm_psb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div> <p class="p">您已购买数据库审计实例。</p> <p class="p">安装Agent的服务器与数据库审计服务之间网络互通。</p> </section> <section id="installBySSH__steps_nvl_dym_psb"><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps" id="installBySSH__steps_nvl_dym_psb"><li class="li step stepexpand"> <span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/db-audit" target="_blank" rel="external noopener">数据库审计控制台</a>,进入<span class="keyword wintitle">实例列表</span>页面。</span> </li><li class="li step stepexpand"> <span class="ph cmd">单击目标实例<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">管理</span>,进入数据库审计控制台。</span> <div class="itemgroup info"> <img class="image" id="installBySSH__d66e47" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-12277d5f94d4.png" width="700"> </div> </li><li class="li step stepexpand"> <span class="ph cmd">在菜单栏选择<span class="ph menucascade"><span class="ph uicontrol">系统管理</span><abbr> > </abbr><span class="ph uicontrol">Agent管理</span></span>,进入<span class="keyword wintitle">Agent管理</span>页面,选择<span class="keyword wintitle">Agent安装</span>页签。</span> <div class="itemgroup info"> <img class="image" id="installBySSH__image_hrg_j5m_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-179d58139f8a.png" width="300"> </div> </li><li class="li step stepexpand"> <span class="ph cmd">单击<span class="ph uicontrol">开始安装</span>进入<span class="keyword wintitle">通过SSH远程安装Agent</span>页面,审计服务器IP会自动带出,填写要安装Agent的服务器IP,输入root密码,单击<span class="ph uicontrol">安装</span>。</span> <div class="itemgroup info"> <img class="image" id="installBySSH__image_fc1_zzm_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-1ca965ca9f6d.png" width="500"> <table class="table" id="installBySSH__table_etv_h1n_psb"><caption></caption><colgroup><col style="width:30.48780487804878%"><col style="width:69.51219512195121%"></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="installBySSH__table_etv_h1n_psb__entry__1"> <p class="p">配置项</p> </th> <th class="entry" id="installBySSH__table_etv_h1n_psb__entry__2"> <p class="p">说明</p> </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="installBySSH__table_etv_h1n_psb__entry__1 "> <p class="p">审计服务器IP</p> </td> <td class="entry" headers="installBySSH__table_etv_h1n_psb__entry__2 "> <p class="p">默认为当前的审计服务器IP,自动带出。</p> </td> </tr> <tr class="row"> <td class="entry" headers="installBySSH__table_etv_h1n_psb__entry__1 "> <p class="p">安装Agent的服务器</p> </td> <td class="entry" headers="installBySSH__table_etv_h1n_psb__entry__2 "> <p class="p">支持表单格式和文本格式输入。输入需要安装Agent的服务器IPv4或IPv6地址,以及该服务器root账户的密码。端口默认为22,也可以根据实际情况修改。</p> <p class="p">单击<span class="ph uicontrol">增加</span>可以继续添加服务器,最多可填写20个。</p> </td> </tr> </tbody></table> </div> </li><li class="li step stepexpand"> <span class="ph cmd">单击<span class="ph uicontrol">安装状态</span>进入<span class="keyword wintitle">安装状态查看</span>页面。</span> <div class="itemgroup info"> <img class="image" id="installBySSH__image_r4y_qbn_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-1dbafb369078.png" width="700"> </div> </li><li class="li step stepexpand"> <span class="ph cmd">单击<span class="ph uicontrol">卸载</span>可远程卸载已经成功安装了的Agent;单击<span class="ph uicontrol">重新安装</span>可在安装失败的服务器上重新安装Agent;将光标悬停至<span class="ph uicontrol">安装失败</span>后的<img class="image" id="installBySSH__image_pmc_tbn_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-11a9a5019d95.png" width="20">上可查看失败原因。</span> </li></ol></section> <section class="section result" id="installBySSH__result_drp_wbn_psb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div> <p class="p">在<span class="keyword wintitle">Agent管理</span>页面可以看到新生成一条Agent连接记录,并且<span class="ph uicontrol">Agent状态</span>为<span class="ph uicontrol">安装成功</span>。</p> </section>
以上内容是否解决了您的问题?
请补全提交信息!
联系我们

电话咨询

400-151-8800

邮件咨询

fincloud@ocft.com

在线客服

工单支持

解决云产品相关技术问题