Storage: Nexenta

From Proxmox VE
Revision as of 15:43, 18 July 2019 by O.bektas (talk | contribs) (archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This storage module is in beta test for now

Proxmox > 3.1, this module has been replaced with zfs plugin

If you use it before, simply edit /etc/pve/storage.cfg and replace storage configuration with

zfs: mynexentastorage
        blocksize 4k
        target iqn.1986-03.com.sun:02:target1
        pool pool1
        iscsiprovider comstar
        portal 192.168.0.1
        content images

Prormox <= 3.1

nexenta: mynexentastorage
       portal 192.168.0.1
       blocksize 4K
       pool mynexentavolume
       login myjsonlogin
       password mypassword
       target iqn.1986-03.com.sun:02:target1
       ssl
       content images

Nexenta infos

This Storage module implement nexentastor api

for create nexenta iscsi luns and other managements (snapshots,...)


It's compatible with commercial and community edition of nexenta


http://www.nexenta.com/corp/nexentastor-download

http://www.nexentastor.org/projects/site/wiki/CommunityEdition


Nexenta Configuration

You need to create a login in nexenta gui, and add all permissions to it (including Can_use_restapi)

https://nexentabox:2000/settings/users/?this_form=users_form&operation=edituser&selected_uid=3

Can_view	X
Can_admin_groups X	 
Can_admin_services X	
Can_admin_runners X	
Can_admin_datasets X	 
Can_admin_shares X	
Can_admin_users	 X
Can_admin_disks	 X
Can_admin_network X	
Can_admin_appliance X	
Can_admin_prefs	  X
Can_search_folders X	
Can_use_restapi	  X

Then you need to create an iscsi target:

https://nexentabox:2000/data/scsitarget/iscsi/targets/

Proxmox Configuration

Gui is not yet available for storage creation.

You need to edit your /etc/pve/storage.cfg

nexenta: mynexentastorage
       portal 192.168.0.1
       blocksize 4K
       pool mynexentavolume
       login myjsonlogin
       password mypassword
       target iqn.1986-03.com.sun:02:....
       ssl
       content images

Then you can simply create disk with proxmox gui.

Note: iscsi multipath doesn't work yet, so it's use only the portal ip for the iscsi connection.