vmware

Vcenter add iSCSI from Qnap

QNAP Configuration

  1. Login to your QNAP NAS and click iSCSI & Fibre Channel 
  2. When first time started you will be asked if you wish to go through a configuration wizard. Click Next. 
  3. We will start with the iSCSI Target creation. 
  4. You can enter name and alias for your iSCSI Target. 
  5. In next section we can enter username and password. Only letters and numbers are allowed. Let’s try to configure it with username and password. 
  6. In the last section we have a summary of the items we configured. Important is to select Create a LUN and map it to this target. 
  7. Now we are in the Block-Based LUN Creation Wizard section. Choose appropriate Storage Pool and the type of LUN allocation — thick or thin. 
  8. We need to provide a LUN name and enter the desired LUN size. As I have cache disks I will use them. 
  9. On the summary we can see all the configured settings. 
  10. Our QNAP NAS iSCSI target is ready to be used. 

ESXi Configuration

VMware ESXi can use iSCSI either using Static or Dynamic discovery. I’ve tested it with both and I will descibre the process just with Dynamic.

  1. Login to vSphere.
  2. Navigate to your ESXi Server Configure -> Storage Adapaters -> iSCSI Software Adapter or your hardware iSCSI adapter. 
  3. Click Dynamic Discovery and then Add.
  4. Enter iSCSI Server FQDN or IP address. 
  5. I used CHAP configuration on QNAP so I need to enter it in ESXi as well. Set Authentication Method to Use unidirectioal CHAP if required by target
  6. We need to rescan adapter in order to reflect changes. CLick Rescan Adapter.
  7. iSCSI LUN is visible and can be used as VMware Datastore. 

Create iSCSI based VMware Datastore

  1. Click on Actions and then select Storage -> New Datastore
  2. Choose VMFS
  3. Select our iSCSI backed Disk. 
  4. Choose desired VMFS version.
  5. I will use whole datastore size and use default settings. 
  6. On the summary page we can review our configured settings. 
  7. Datastore is visible in GUI and can be used by our VMs. 
admin

Share
Published by
admin

Recent Posts

How to back up and restore the ESXi host configuration

Original https://kb.vmware.com/s/article/2042141 Backing up ESXi host configuration data To synchronize the configuration changed with persistent…

4 месяца ago

vCenter Converter Standalone download

vCenter Converter Standalone 6.6.0 download (далее…)

5 месяцев ago

VMware remote console (VMRC) 12 download

VMware remote console (VMRC) 12.0.5 download Last version: VMware Remote Console 12.0.5  28 NOV 2023…

12 месяцев ago

Mysql calculate row size for all tables

SELECT col_sizes.TABLE_SCHEMA, col_sizes.TABLE_NAME, SUM(col_sizes.col_size) AS EST_MAX_ROW_SIZE FROM ( SELECT cols.TABLE_SCHEMA, cols.TABLE_NAME, cols.COLUMN_NAME, CASE cols.DATA_TYPE WHEN…

1 год ago

Mysql change date format in database

UPDATE DB SET column = DATE(STR_TO_DATE(column, '%Y-%d-%m')) WHERE DATE(STR_TO_DATE(column, '%d-%m-%Y')) <> '0000-00-00'

1 год ago

esxi debian lvm extend partition

echo 1 > /sys/class/block/sda/device/rescan #maybe run under root> sudo fdisk /dev/sda2 > d > 2…

1 год ago