3. What hsm.spmSchedule() method does?Schedules a task to be executed as SPM (used to perform operation that alterthe shared storage or data operations currently).
7. Why in HSM we are using vars.task.getSharedLock(STORAGE, sdUUID) sometimes instead of domain lock?The task lock (which uses the resource manager) is used to acquire in memory logical lock within the current host.Theoretical example- you wouldn't want to attempt to delete a domain while you create a volume on it.
11. What methods dom.linkBCImage(imgPath, imgUUID) and dom.unlinkBCImage(imgUUID) do?
> 12. What methods dom.activateVolumes(imgUUID, imgVolumes) and dom.deactivateImage(imgUUID) do?