Storage: Nexenta: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
If you use it before, simply edit /etc/pve/storage.cfg and replace storage configuration with  
If you use it before, simply edit /etc/pve/storage.cfg and replace storage configuration with  


<pre>
zfs: mynexentastorage
zfs: mynexentastorage
         blocksize 4k
         blocksize 4k
Line 12: Line 13:
         portal 192.168.0.1
         portal 192.168.0.1
         content images
         content images
 
</pre>


== Prormox <= 3.1 ==
== Prormox <= 3.1 ==

Revision as of 04:07, 10 October 2013

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:....
      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.