Aruba CX交换机
<h1>1 Aruba CX交换机部署指南</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>arubacx-10.03</td>
<td>ArubaOS-CX_10_03_0020_ova.zip</td>
<td>10.03</td>
<td>2</td>
<td>4096</td>
<td>telnet</td>
</tr>
<tr>
<td>arubacx-10.04</td>
<td>ArubaOS-CX_10_04_1000_ova.zip</td>
<td>10.04</td>
<td>2</td>
<td>4096</td>
<td>telnet</td>
</tr>
</tbody>
</table>
<h2>1.1 操作指南</h2>
<p>其他版本也可参考以下步骤进行部署。以下步骤基于ArubaOS-CX_10_04_1000_ova.zip的创建过程,在部署其他镜像时,请相应地使用正确的名称。</p>
<ol>
<li><strong>下载镜像</strong>:下载ArubaOS-CX_10_04_1000_ova.zip,获取该镜像需要Aruba账户。</li>
<li><strong>创建临时目录</strong>:通过SSH以root用户登录到EVE,在EVE的根目录下创建临时工作目录 <code>abc</code>:</li>
</ol>
<pre><code class="language-Bash">mkdir abc
cd abc
</code></pre>
<ol start="3">
<li><strong>上传镜像</strong>:使用FileZilla或WinSCP等工具,将下载的OVA镜像上传到EVE的根目录下的 <code>abc</code>文件夹中。</li>
<li><strong>解压OVA镜像</strong>:解压并提取OVA镜像,后续我们需要用到OVA镜像中的vmdk文件。</li>
</ol>
<pre><code class="language-Bash">root@eve-ng:~/abc# unzip ArubaOS-CX_10_04_1000_ova.zip
Archive: ArubaOS-CX_10_04_1000_ova.zip
inflating: ArubaOS-CX_10_04_1000.ova
extracting: ArubaOS-CX_10_04_1000.ova.sig
root@eve-ng:~/abc# tar xvf ArubaOS-CX_10_04_1000.ova
arubaoscx-disk-image-genericx86-p4-20200311173823.ovf
**arubaoscx-disk-image-genericx86-p4-20200311173823.vmdk**
root@eve-ng:~/abc#
</code></pre>
<ol start="5">
<li><strong>格式转换</strong>:将vmdk格式的磁盘文件转换为qcow2格式:</li>
</ol>
<pre><code class="language-Bash">/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 arubaoscx-disk-image-genericx86-p4-20200311173823.vmdk virtioa.qcow2
</code></pre>
<ol start="6">
<li><strong>创建镜像文件夹</strong>:</li>
</ol>
<pre><code class="language-Bash">mkdir /opt/unetlab/addons/qemu/arubacx-10.04
</code></pre>
<ol start="7">
<li><strong>移动文件</strong>:将转换好的 <code>virtioa.qcow2</code>文件移动到镜像目录:</li>
</ol>
<pre><code class="language-Bash">mv virtioa.qcow2 /opt/unetlab/addons/qemu/arubacx-10.04/
</code></pre>
<ol start="8">
<li><strong>清理与权限修复</strong>:删除临时目录 <code>abc</code>并修复权限:</li>
</ol>
<pre><code class="language-Bash">cd
rm -rf abc
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
</code></pre>
<p><strong>Aruba CX访问信息</strong>:用户名 <code>admin</code>,无需密码,直接回车即可登录。</p>
页:
[1]