hbugs001 发表于 2025-4-11 01:19:19

Aruba移动控制器

<h1>1 Aruba移动控制器部署指南</h1>
<p>本文档基于以下版本撰写:</p>
<table>
<thead>
<tr>
<th>EVE镜像文件夹名</th>
<th>下载文件名</th>
<th>版本</th>
<th>vCPU数量</th>
<th>vRAM大小</th>
<th>控制台类型</th>
</tr>
</thead>
<tbody>
<tr>
<td>aruba-VMC-8.1.0.0-59206</td>
<td>ArubaOS_VMC_8.1.0.0_59206.ova</td>
<td>8.1.0.0.59206</td>
<td>3</td>
<td>4096</td>
<td>vnc/https</td>
</tr>
</tbody>
</table>
<p><strong>注意</strong>:对于EVE-NG的Qemu设备,文件夹名的第一部分必须是“aruba-” 。在连字符(-)之后,你可以添加任何你想要的镜像版本号或名称。例如,对于版本VMC-8.1.0.0-59206,文件夹名应为<strong>aruba-VMC-8.1.0.0-59206</strong>。</p>
<h2>1.1 操作指南</h2>
<p>其他版本也可参考以下步骤进行部署。</p>
<ol>
<li><strong>上传和解压镜像</strong>:使用FileZilla或WinSCP等工具将下载的镜像上传到EVE。然后通过SSH协议以root用户登录并解压:</li>
</ol>
<pre><code class="language-Bash">mkdir abc
cd abc
tar xf ArubaOS_VMC_8.1.0.0_59206.ova
</code></pre>
<ol start="2">
<li><strong>转换磁盘格式</strong>:将磁盘文件转换为qcow2格式:</li>
</ol>
<pre><code class="language-Bash">/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ArubaOS_VMC_8.1.0.0_59206-disk1.vmdk hda.qcow2
/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ArubaOS_VMC_8.1.0.0_59206-disk2.vmdk hdb.qcow2

</code></pre>
<ol start="3">
<li><strong>创建文件夹并移动文件</strong>:创建用于存放硬盘驱动器(HDD)镜像的文件夹,并将转换后的文件移动到该文件夹</li>
</ol>
<pre><code class="language-Bash">mkdir -p /opt/unetlab/addons/qemu/aruba-VMC-8.1.0.0-59206
mv hda.qcow2 /opt/unetlab/addons/qemu/aruba-VMC-8.1.0.0-59206
mv hdb.qcow2 /opt/unetlab/addons/qemu/aruba-VMC-8.1.0.0-59206
</code></pre>
<ol start="4">
<li><strong>清理和修复权限</strong>:清理临时文件并修复权限:</li>
</ol>
<pre><code class="language-Bash">cd ..
rm -rf abc
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
</code></pre>
<ol start="5">
<li><strong>启动节点并完成设置</strong>:启动节点,按照设置向导完成后续配置。</li>
</ol>

xl880119 发表于 2025-4-13 20:51:49

<p>非常感谢,好东西</p>
页: [1]
查看完整版本: Aruba移动控制器