<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Hi!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 23, 2016 at 9:51 AM, Liron Aravot <span dir="ltr">&lt;<a href="mailto:laravot@redhat.com" target="_blank">laravot@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><br></span><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div style="font-family:monospace,monospace;font-size:x-small">3. What hsm.spmSchedule() method does?<br></div></div></div></div></blockquote></span><div>Schedules a task to be executed as SPM (used to perform operation that alter</div><div>the shared storage or data operations currently).</div></div></div></div></blockquote><div><br><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">​But SPM is a particular host.​ What does this method do, if it is called not on SPM host? Returns error? Or somehow transfers the task to the SPM host?<br></div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div style="font-family:monospace,monospace;font-size:x-small">7. Why in HSM we are using vars.task.getSharedLock(STORAGE, sdUUID) sometimes instead of domain lock?<br></div></div></div></div></blockquote></span><div>The task lock (which uses the resource manager) is used to acquire in memory logical lock within the current host.</div><div>Theoretical example- you wouldn&#39;t want to attempt to delete a domain while you create a volume on it.</div></div></div></div></blockquote><div class="gmail_quote"><br><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">​But this lock works only inside the host. So, if some other host will try to create a volume, this lock will not help. So what&#39;s​<br><br></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div style="font-family:monospace,monospace;font-size:x-small">11. What methods dom.linkBCImage(imgPath, imgUUID) and dom.unlinkBCImage(imgUUID) do?<br></div></div></div></div></blockquote></span><div>Creates/Removes a symlink to a given image. <br><br><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">​Where this symlink is located? What is its purpose?​</div><br></div><span class=""><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small;display:inline">​​</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div style="font-family:monospace,monospace;font-size:x-small"><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small;display:inline">​<div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small;display:inline">​</div>​</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small;display:inline">​&gt; ​</div>12. What methods dom.activateVolumes(imgUUID, imgVolumes) and dom.deactivateImage(imgUUID) do?</div></div></div></div></blockquote></span><div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small;display:inline">&gt; ​<div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small;display:inline">​</div>​</div>Can you be a bit more specific in the question? I don&#39;t have much to add</div><div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small;display:inline">&gt; ​<div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small;display:inline">​</div>​</div>over the method names.</div><span class=""></span><br><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">​I understand that it activates/deactivates volumes. But what does it mean? What is an &quot;active&quot; volume and how does it differ from &quot;inactive&quot;?​</div><br></div></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">​Shmuel​</div><br></div></div>