Kamis, 16 Mei 2024

TRUENAS-esxi

 

TrueNAS Virtualized with ESXi

https://www.truenas.com/docs/solutions/integrations/vmware/deploytninvmware/

This article describes deploying a TrueNAS SCALE or CORE virtual machine (VM) in a VMWare ESXi environment. ESXi version 8 is shown in this article.

Before You Begin

Before starting configuration work in VMWare:

  • Allocate a drive or a few drives in your server cluster for the TrueNAS virtual machine. The anticipated storage needs for your deployment determines the size and number of drives you need.

  • Download the .iso file from the TrueNAS.com downloads page for TrueNAS SCALE or CORE.

  • Visit the TrueNAS SCALE or CORE Hardware Guide and take note of the minimal system requirements. Also note the information in the Memory and Storage Device Sizing sections.

    The hardware guide provides guidance on how much memory, the number of CPUs, and drive size you need to configure.

  • Determine your data storage requirements. Consider the number of storage pools and the type of storage you need for your deployment or how you plan to use the TrueNAS. See the SCALE Setting Up Storage or CORE Storage Configuration for information on pool layouts.

    These articles provide guidance on the number of virtual hard drives (vmdks) you want to create when setting up your virtual machine. For example, if you want a mirror layout you need to add a minimum of three drives, one for the boot drive and two for the mirrored storage. If you want a mirror with a hot spare, you need to add a minimum of four drives, one for the boot drive, two for the mirrored storage and one for the hot spare.

  • Configure your network per your system requirements. Have the information ready when you configure your TrueNAS global network settings in the web interface.

Deploying TrueNAS in VMWare ESXi

Launch your VMware ESXi interface using your login credentials.

Setting Up Storage

Set up the storage needed for the new VM. First click on Storage and then the drive allocated for TrueNAS. Create the datastore directories for the ISO media and the TrueNAS virtual machine.

Need more help setting up storage? Click here.

Uploading the TrueNAS ISO

After creating the ISO directory upload the TrueNAS CORE .iso file to the ISO directory.

Select the directory created for the .iso file and then click Upload.

Creating the Virtual Machine

After setting up the storage needs, create the new virtual machine. Select Virtual Machines on the navigation panel on the left side of the screen.

Select the storage drive for the TrueNAS VM and then click Create/Register VM. The New virtual machine creation wizard displays. Use these settings:

  • On the Select a name and guest OS wizard screen:

    • To create a SCALE VM, select Linux for Guest OS family and then Debian GNU/Linux 6 (64-bit) on the Guest OS Version dropdown list.
    • To create a CORE VM, select Other for Guest OS family and then FreeBSD 13 (64-bit) on the Guest OS Version dropdown list.
  • On the Customize settings wizard screen set CPU to 2, set Memory to 16 GB, and Hard disk 1 to 16 GB.

    You need a minimum of two drives set to at least 16 GB. To add a drive, click Add hard disk.

    You can add more hard drive now or use the Edit option to add drives later after saving the new virtual machine. To create a mirror layout you need at least three hard drives, one for boot and two to create the mirrored storage. Add as many hard drives as you need to create your desired storage layout. You can add more drives later after you install TrueNAS.

Need more help using the ESXi VM Wizard? Click here.

Reviewing the New TrueNAS VM

To view the VM details screen click on the VM name.

You can now edit your TrueNAS VM to change any setting or add more hard drives to support your deployment, or you can proceed to installing TrueNAS.

Installing TrueNAS

Click Power on and then click Console to display the dropdown list of console options. When the console opens, it displays the TrueNAS Console Setup screen.

Follow the installation instructions documented for SCALE or CORE to complete the installation of TrueNAS.

Editing the Virtual Machine

You can edit your VM settings after you complete the initial setup. You can add new hard drives to your VM using the edit option found on the VM details screen. Click  Edit to display the Editing Settings screen.

Click Add hard disk and select the option you want to use. For a new drive select New standard hard disk. A New Hard disk row displays and is highlighted.

To edit the hard disk details click on the row to expand it and display the drive settings you can configure.

Tidak ada komentar:

Posting Komentar