<div dir="ltr">So for option 2 (because option 1 is not possible because of tgtadm)<br>I mount the luns in my frontend (sdb is my connect lun)<div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
in /etc/fstab</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> /dev/sdb /iscsi-datastore/ ext4 _netdev 0 0</blockquote>
<div> </div><div><div>then create a shared file system.</div><div>so in the frontend:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
/etc/exports</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">/iscsi-datastore/ *(rw,sync,no_subtree_check,root_squash)</blockquote>
<div><br></div><div>and then in the nodes:</div><div>opennebula:/iscsi-datastore/ /iscsi-datastore/ nfs rw,sync,hard,intr 0 0 </div><div><br></div><div>Or do i need to mount the lun also in my nodes?</div><div><br></div></div>
</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 12, 2014 at 11:49 AM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">Christophe,
<div><br>
</div>
<div>there are two ways to use iSCSI:</div>
<div><br>
</div>
<div>1) The orchestrator (OpenNebula) communicates with the NAS and provisions a new iSCSI target for each image. In OpenNebula this is *only* supported with linux based NAS with ssh and tgtadm. </div>
<div><br>
</div>
<div>2) You can manually mount pre-existing luns in the opennebula frontend and nodes, and set up a shared file system on top of them. This is transparent to OpenNebula and therefore it is supported.</div>
<div><br>
</div>
<div>cheers,<br>
Jaime</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote"><div><div class="h5">On Mon, May 12, 2014 at 11:31 AM, Christophe Duez <span dir="ltr">
<<a href="mailto:christophe.duez@student.uantwerpen.be" target="_blank">christophe.duez@student.uantwerpen.be</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hello,
<div>Anyone that has succeed in combining a synology nas with opennebula?<br>
The reason why I ask is in the <a href="http://archives.opennebula.org/documentation:archives:rel3.4:iscsi_ds" target="_blank">
documentation </a>they say that the iSCSI Target<br>
needs password-less sudo permission for: tgtadm</div>
<div>however when i'm root there is no such command tgtadm in my synology nas....</div>
<div>any solutions or tips?<br>
</div>
<div>Kind regards</div>
</div>
<br></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
<br>
</font></span></div><span class="HOEnZb"><font color="#888888">
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>Jaime Melis<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">
jmelis@opennebula.org</a></div>
</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Kind regards,<div>Duez Christophe<div>Student at University of Antwerp :<br><div>Master of Industrial Sciences: Electronics-ICT<div><div><br><div>
E <a href="mailto:christophe.duez@student.uantwperen.be" target="_blank">christophe.duez@student.uantwperen.be</a></div><div>L <a href="http://www.linkedin.com/pub/duez-christophe/74/7/39" target="_blank">linkedin duez-christophe</a></div>
</div></div></div></div></div></div>
</div>