创建主机组
<p class="shortdesc">本文主要介绍如何创建主机组。</p>
<section class="section prereq" id="Create_Agent_Group__prereq_ykk_ymz_wmb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<ol class="ol" id="Create_Agent_Group__ol_q5s_ymz_wmb">
<li class="li">您已成功创建项目,可参考<a class="xref" href="/ssr/help/middleware/LogCloud/User_Guide.Collect.Project.Create_Project" target="_blank">创建项目</a>。</li>
<li class="li">您已成功创建云服务器ECS,并处于<span class="ph uicontrol">运行中</span>状态。<div class="note note note_note"><span class="note__title">说明:</span> 若您在创建项目时,<span class="ph uicontrol">类型</span>选择为<span class="ph uicontrol">CaaS</span>,此处需要保证该CaaS的宿主机的状态处于<span class="ph uicontrol">运行中</span>。</div></li>
</ol>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd"> 登录<a class="xref" href="/console/logcloud/indexed/list" target="_blank">日志服务管理控制台</a>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击左侧导航栏的<span class="ph uicontrol">项目管理</span>,进入<span class="keyword wintitle">项目列表</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">选在目标地域,单击目标项目的名称。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">AGENT主机组</span>页签。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击页签右上角的<span class="ph uicontrol">创建主机组</span>,进入<span class="keyword wintitle">创建主机组</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">根据以下信息,创建主机组。</span>
<div class="itemgroup info">
<table class="table" id="Create_Agent_Group__table_d1v_fnz_wmb"><caption></caption><colgroup><col><col><col></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="Create_Agent_Group__table_d1v_fnz_wmb__entry__1" colspan="2">配置项</th>
<th class="entry" id="Create_Agent_Group__table_d1v_fnz_wmb__entry__2">说明</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="Create_Agent_Group__table_d1v_fnz_wmb__entry__1 ">
<p class="p">基础配置</p>
</td>
<td class="entry" headers="Create_Agent_Group__table_d1v_fnz_wmb__entry__1 ">
<p class="p">主机组名称</p>
</td>
<td class="entry" headers="Create_Agent_Group__table_d1v_fnz_wmb__entry__2 ">
<p class="p">配置主机组的名称。</p>
<ul class="ul" id="Create_Agent_Group__ul_e1v_fnz_wmb">
<li class="li">支持汉字、英文大小写字母、数字、特殊字符“_”“-”“@”。</li>
<li class="li">长度在1~45个字符之间。</li>
<li class="li">请确保同一项目的主机组名称唯一。</li>
</ul>
</td>
</tr>
<tr class="row">
<td class="entry" headers="Create_Agent_Group__table_d1v_fnz_wmb__entry__1 " rowspan="2">
<p class="p">添加主机</p>
</td>
<td class="entry" headers="Create_Agent_Group__table_d1v_fnz_wmb__entry__1 ">
<p class="p">主机类型</p>
</td>
<td class="entry" headers="Create_Agent_Group__table_d1v_fnz_wmb__entry__2 ">
<p class="p">主机中添加的主机类型,支持:</p>
<ul class="ul" id="Create_Agent_Group__ul_g12_lnz_wmb">
<li class="li">LINUX</li>
<li class="li">WINDOWS</li>
<li class="li">UNIX</li>
</ul>
</td>
</tr>
<tr class="row">
<td class="entry" headers="Create_Agent_Group__table_d1v_fnz_wmb__entry__1 ">
<p class="p">可选主机</p>
</td>
<td class="entry" headers="Create_Agent_Group__table_d1v_fnz_wmb__entry__2 ">
<p class="p">选择已经创建好且正在运行中的主机。</p>
</td>
</tr>
</tbody></table>
<img class="image" id="Create_Agent_Group__image_cbg_rnz_wmb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20210106133702-1da60bb69e91.png">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">创建</span>。</span>
</li></ol></section>
<section class="section result" id="Create_Agent_Group__result_pf3_snz_wmb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div>
<p class="p">在<span class="ph uicontrol">AGENT主机组</span>页签,可以看到刚刚创建的主机组。 </p>
<img class="image" id="Create_Agent_Group__image_lrp_tnz_wmb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20210106133702-1ad5364a9a09.png" width="830">
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!