Storage: Nexenta: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
mNo edit summary
(archive)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This storage module is in beta test for now
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
<pre>
zfs: mynexentastorage
        blocksize 4k
        target iqn.1986-03.com.sun:02:target1
        pool pool1
        iscsiprovider comstar
        portal 192.168.0.1
        content images
</pre>
== Prormox <= 3.1 ==
<pre>
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
</pre>


==Nexenta infos==
==Nexenta infos==
Line 17: Line 44:


==Nexenta Configuration==
==Nexenta Configuration==
You need to create a login in proxmox gui, and add all permissions to it (including Can_use_restapi)
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
https://nexentabox:2000/settings/users/?this_form=users_form&operation=edituser&selected_uid=3
Line 39: Line 66:


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


==Proxmox Configuration==
==Proxmox Configuration==
Line 62: Line 88:
Note: iscsi multipath doesn't work yet, so it's use only the portal ip for the iscsi connection.
Note: iscsi multipath doesn't work yet, so it's use only the portal ip for the iscsi connection.


[[Category: HOWTO]]
[[Category: Archive]]

Latest revision as of 15:43, 18 July 2019

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.