Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • InformatiWeb Pro
  • Virtualization
  • VMware
  • Create an iSCSI datastore on VMware vSphere 6.7
  • VMware
  • VMware vCenter Server (VCSA), VMware vSphere
  • 30 August 2024 at 11:33 UTC
  • InformatiWeb
  • 1/2

Create an iSCSI datastore on VMware vSphere 6.7

On VMware vSphere 6.7, you can use local storage or network accessible storage (NAS).
To use NAS storage, you will generally use the iSCSI protocol which allows you to use remote storage in block mode.

  1. Install and configure an iSCSI server on Windows Server 2016
  2. Local storage of your VMware ESXi host
  3. Add and configure a software iSCSI adapter
  4. Configure CHAP authentication on the iSCSI initiator
  5. Create an iSCSI datastore
  6. Detect the iSCSI datastore from a 2nd VMware ESXi host

1. Install and configure an iSCSI server on Windows Server 2016

In business, you will use the iSCSI protocol to access storage on a NAS or storage bay.

However, in a test environment, you can create an iSCSI server on Windows Server.

Once the iSCSI server is installed in Windows Server, go to the "File and Storage Services" section of the Server Manager.

In the "iSCSI" section, click: Tasks -> New iSCSI Virtual Disk.

In the "New iSCSI Virtual Disk" wizard that appears, select the volume (partition) or folder where you want to store your new iSCSI virtual disk.
In our case, we select volume "D" which corresponds to a 500 GB hard drive in our case.

Specify a name for your iSCSI virtual disk.
In our case: iSCSI_Datastore.

Specify a maximum size for your iSCSI virtual disk.
In our case: 200 GB.

Note: select "Dynamically expanding" to create a virtual disk that will only take up the space necessary for the data it contains.
Which corresponds to thin provision on VMware.

If you have never used your iSCSI server, you will need to create an iSCSI target.
For your future iSCSI virtual disks, simply select the existing one.

Provide a name for your iSCSI target.
In our case: informatiweb-iscsi-server.

For your VMware ESXi hosts to access your iSCSI server (iSCSI target), you need to add them here.
To do this, click: Add.

In the "Add initiator ID" window that appears, select "Enter a value for the selected type: IP Address" and provide the IP address of your 1st host.
Then click OK.

Also add the IP address of your 2nd VMware ESXi host, if applicable.

To protect access to your iSCSI server (iSCSI target), you can use CHAP and/or reverse CHAP authentication.
For the example, we have enabled "CHAP" authentication and we have defined a username and password.

As stated by this wizard:

  • CHAP allows authenticating initiator (client) connections
  • Reverse CHAP allows initiators to authenticate the iSCSCI target (iSCSI server)

A summary of your iSCSI virtual disk configuration appears.
Click Create.

Wait while your iSCSI target and iSCSI virtual disk are created and configured.

Once the iSCSI virtual disk is created, click Close.

Your iSCSI virtual disk appears.

On your hard drive you will only see a ".vhdx" file.

2. Local storage of your VMware ESXi host

Select your VMware ESXi host and go to: Configure -> Storage -> Storage Adapters.
Several storage adapters will appear.

In our case, since we are using virtualized VMware ESXi hosts, we have a "PVSCSI SCSI Controller" storage controller to which the SCSI hard drives of this host are connected.

We also have a "Vmware Virtual SATA Controller" controller to which the CD-ROM drive is connected.

Next page

Share this tutorial

Partager
Tweet

To see also

  • VMware vSphere 6.7 - Create a datastore

    VMware 4/17/2024

    VMware vSphere 6.7 - Create a datastore

  • VMware vSphere 6.7 - Deploy VCSA (vCenter Server Appliance)

    VMware 2/21/2024

    VMware vSphere 6.7 - Deploy VCSA (vCenter Server Appliance)

  • VMware vSphere 6.7 - Export and import VMs with VMware Workstation Pro

    VMware 5/24/2024

    VMware vSphere 6.7 - Export and import VMs with VMware Workstation Pro

  • VMware vSphere 6.7 - Move VCSA VM to VMware Workstation Pro

    VMware 2/23/2024

    VMware vSphere 6.7 - Move VCSA VM to VMware Workstation Pro

Comments

You must be logged in to post a comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.