vNoob 09月29日
尝试安装Nutanix Community Edition
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

本文介绍了在家庭实验室环境中安装Nutanix Community Edition (CE)的体验。作者详细描述了安装前的系统要求,包括CPU、内存和存储配置,以及实际安装过程中遇到的问题和解决方案。文章还涵盖了安装后的配置步骤,如集群创建、DNS设置和集群命名等。整体上,安装过程相对简单,但需要仔细阅读官方文档并满足所有要求。

🖥️ 系统要求:Nutanix CE需要Intel Sandy Bridge或更新的CPU(支持VT-x和AVX)或AMD Zen或更新的CPU,至少四个核心,其中两个专用于Controller VM (CVM)。对于内存,建议至少32GB,推荐64GB或更多以支持AOS功能(如去重、压缩或多用户VM)。存储方面,启动设备至少需要32GB的高可靠性设备(如SATA DOM、M.2 SSD或SATA SSD/HDD),冷层存储至少500GB,热层存储至少一个200GB或更大的非NVMe SSD。

📀 存储配置:作者在安装过程中遇到了存储配置问题,因为他们的系统只有一块NVMe磁盘。最终,他们使用一块250GB的SSD和一块64GB的U盘解决了这个问题,分别用于热层和启动设备。

🔧 安装步骤:安装Nutanix CE需要先创建Nutanix账户并下载ISO镜像。使用Rufus创建可启动U盘后,启动NUC进行部署。在安装过程中,需要为每个磁盘分配角色(Hypervisor、CVM和数据磁盘),并配置相应的IP地址。安装完成后,需要通过SSH登录Hypervisor和CVM进行集群创建和配置。

Continuing my journey with trying out varying Hypervisors, I thought Nutanix would be a great next stop after Proxmox.

Nutanix Community Edition is the free edition of the Nutanix Cloud Infrastructure platform and was first released in 2015. Although it is not meant for production use, it is a great way to get a feel for the Nutanix platform.

My overall install process was straightforward, with the only problems I experienced being of the normal homelab self-created variety. This post walking through the CE requirements and deployment process is very helpful. Unfortunately, my issues were caused by hopping right into trying to deploy without looking at the requirements as one might do in a homelab.

System Requirements

There are several other requirements listed in the post I mentioned, but the ones I wanted to focus on are these:


CPU

    Processor Type: Intel CPUs (Sandy Bridge or newer with VT-x and AVX) and AMD CPUs (Zen or newer).Core Requirement: Minimum of four cores, with two dedicated to the Controller VM (CVM).Intel E-core: Disable Intel Efficient cores (E-cores) in BIOS, as CE doesn’t support them.

System Memory

    Minimum: 32 GB of system memory.Recommended: 64 GB or more for AOS features like deduplication, compression, or multiple user VMs.

Storage

    Boot Device: At least 32 GB capacity, using a high-reliability device (internal or external, like SATA DOM, M.2 SSD, or SATA SSD/HDD).Cold Tier: Minimum of 500 GB, up to 18 TB (typically 3 x 6 TB HDDs), using HDD or SSD.Hot Tier (Flash): At least one non-NVMe SSD of 200 GB or larger.

I have a recent Intel NUC with 64GB of memory, so the CPU and Memory requirements weren’t an issue. Storage was my problem as I only had one NVMe disk installed. Once I booted up and realized I needed to select three different drives for different purposes it turned into a bit of a mess which took me a bit to get sorted.

I ended up with a 250 GB SSD I had lying around which I installed into the NUC, and I used a 64GB thumb drive for the boot device. With these, I was able to get the installation going.

Installation

To download and use Nutanix CE, I first needed to create an account. Here is the link. Shortly after signing up, I received an email with the direct link where I was able to download the iso for deployment.

After using Rufus to create a bootable thumb drive, I was able to start deploying to my NUC.

Deployment

Once Nutanix CE boots up I was presented with the installer.

I went through each disk and selected its role by using the “h”, “c”, or “d” keys. These are for the Hypervisor, CVM, and Data disks respectively.

Unlike VMware where a vCenter is needed to unlock most of the functionality, each node for Nutanix comes with its own “vCenter” in the form of the Cluster VM(CVM) which is always deployed. With this in mind, we see why this screen also requests separate IPs for the Host and the CVM.

Another note about the IPs is Nutanix will configure an internal IP for the CVM on 192.168.5.2. Although I am not sure of the impact if your home network is also on 192.168.5.0/24, I imagine that may cause some issues.

After finalizing the disks and IPs, the next page is the EULA.

The one thing to be aware of is you need to scroll down to the bottom of the EULA, either with the down arrow or Page Down. It will let you proceed to the next screen without doing so, however, that next screens tells you to go back and read the EULA.

I was honestly a bit surprised but this was all this was needed for the installer.

One other issue I had which is probably best mentioned here is I had the installer succeed here a couple times, but then started failing on some of the following configurations. The cause was I didn’t have the networking plugged in during the installation process. Even though I plugged it in shortly after, it seemed networking was required during the installation or something with the CVM broke. Sure, this seems obvious, but is more due to my homelab being a bit disjointed than not wanting to have it plugged in during the installation.

Configuration

After the reboot, we need to let the first boot processes complete. It is mentioned in the post this can take up to 20 minutes.

First, we log into the Hypervisor IP as root via ssh.

The default password is “nutanix/4u”.

Second, we log into the CVM from the Hypervisor as nutanix via SSH. The IP used here is not the one we previously configured, but the internal IP for the CVM. This is 192.168.5.2. The password is the same.

We run our command to create the cluster. This will be a single node so our command is:

cluster -s cvm_ip --redundancy_factor=1 create

There are other options if you are creating a multinode cluster. The documentation for this command and the following commands is here.

As the cluster starts creating, we see regular updates as various services are starting.

Finally, we see the cluster is up.

Next, we need to name the cluster.

ncli cluster edit-params new-name=cluster_name

Configure DNS.

ncli cluster add-to-name-servers servers=public_name_server_ip_address

And create the VIP. This would be more prominently used multinode cluster.

ncli cluster set-external-ip-address external-ip-address=cluster_ip_address

Once done, you can hit either the CVM IP or the VIP in a browser. Make sure it is HTTP though.

Password is again “nutanix/4u”. Then there is a prompt to update it.

Followed by a prompt to log in with the account you created on the Nutanix site.

Now we are all done and get into the dashboard.

For me, the first stop is to find Dark Mode.

Much better.

Hopefully, this has been helpful. Soon, I will have additional posts exploring the UI and creating VMs among other things.

Thanks!

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Nutanix CE 虚拟化 家庭实验室 安装教程 存储配置
相关文章