QNAP vSphere Plug-in Basics

I have a QNAP TS-459 Pro II which I use for my home lab to serve both NFS and iSCSI for my lab. QNAP provides a vSphere plug-in to help with provisioning and attaching storage to your ESXi hosts. It can really help make things go a bit faster when you want to add a new LUN or NFS datastore. This only works on the C# client unfortunately/fortunately (whichever you prefer to think).

Installation/Add device for provisioning

The plug-in requires QTS version 3.8 or higher to work for your device. You can download the plug-in from the following link. It’s very straightforward and uneventful really.


We’re looking for this download

qnap_download_pic1Once downloaded we’ll run the installation

qnap_download_pic2Take the defaults for all the install properties. Open up the vSphere Client and go to Plugins>Manage and Enable the QNAP vSphere Plug-in

qnap_download_pic3We need to add a QNAP Storage device to the interface so we can manage and deploy datastores from it. I’m going to add it in from the Home>Solutions and Applications>QNAP application.

qnap_download_pic4Click on ‘Add QNAP Storage in the upper right-hand corner

qnap_download_pic5Put in the IP address of the QNAP and put in the admin password. Click ‘Add’ when done.

qnap_download_pic6 Now we can see the storage added



Add NFS/iSCSI datastore

We should now see that the QNAP has been added to the ‘QNAP Storages’ tab. Let’s add an NFS and an iSCSI datastore.

I want to add two new datastores for my ‘MGMT_CLUSTER’ group of hosts. First iSCSI:

I right-click on ‘MGMT_CLUSTER’ and go down to the QNAP option and select ‘Create a datastore’


I can see that it picks up both of the hosts and it has selected the ‘SLAVE1’ QNAP device. Ensure that you CTRL+click to highlight both hosts.

qnap_download_pic9We’ll select the ‘iSCSI’ option.

qnap_download_pic10We’ll set the name to ‘qnap_test’, put the size at 5GB and enable ‘Thin Provisioning’.

qnap_download_pic11We’ll confirm all our settings and click on ‘Finish’.

qnap_download_pic12We’ll see that a static target it created (if necessary) to the QNAP, the datastore is created and formatted with VMFS.

qnap_download_pic13Now we’ll quickly add an NFS datastore following the same process as above. Except we’ll select the ‘NFS’ option

qnap_download_pic14Then we’ll call the datastore ‘qnap_test2’

qnap_download_pic15Verify our settings and click ‘Finish’

qnap_download_pic16We can see that an datastore is built and attached as NFS to our hosts

qnap_download_pic17We can verify that the new datastores are attached via the QNAP tab.


Add Datastore to another host

Let’s say we wanted to add one of those datastores to another host, we can do that easily by using the ‘Connect the datastore to a new ESX host’ option

qnap_download_pic19We’ll select the NFS datastore and select the ‘esx03.vwilmo.local’ host

qnap_download_pic20Verify our settings

qnap_download_pic21We can now see that the NFS datastore is attached to 3 hosts.


Disconnect/Destroy Datastore

To disconnect a datastore we simply select the host we want to remove it from and follow the same path as before.

qnap_download_pic23We select the ‘qnap_test2’ datastore and verify that there are no VMs on that datastore before removing it.

qnap_download_pic24Confirm and it will be removed

qnap_download_pic25Verify that it’s been removed

qnap_download_pic26To destroy a datastore we can do that following the same path as before.

qnap_download_pic27Select the ‘qnap_test’ datastore

qnap_download_pic28Verify there are no VMs attached before we destroy it.

qnap_download_pic29Confirm and its will be destroyed

qnap_download_pic30Overall its a pretty decent plug-in with the absolute minimum of features but is enough to warrant using it in the home lab for quickly adding storage to your environment.






Veeam Configuration Backup and Removing old Backup Repository

A little ‘Oops’ moment as we all have them.  I was cleaning up an old decommissioned site today in Veeam and I ran across a small error that I figured I would share. When you setup Veeam you can setup ‘configuration backup’ to a repository to backup the Veeam configuration. I was storing my configuration backups on a remote repository, however forgot that it was the repository I was removing that I had put them on. When I went to remove the old repository I was met with a message (I fixed the issue before I snapped the screenshot of the actual error, sorry!):

“<backup repository name> is used for configuration backup.”

It also makes mention to change the backup repository for storing the configuration backup to another before you’re able to remove the backup repository. I took a look at the History tab and found this error as well.


The error tells you what to do, but it may not be intuitive and you could be searching for a little bit. Honestly I only go into this menu to check licensing status. I figured I’d put up a post to show you what it’s talking about. You gain access to the Configuration Backup settings through the Veeam console settings menu.

veeam_config_backup2Then change the repository to a new remote location to store the .bco files for your configuration.

veeam_config_backup3Easy stuff but annoyed me for about 15 minutes while I hunt and pecked around for it.  Now that I changed the location of the backup, I can safely remove the decommissioned backup repository.