<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 5, 2017 at 9:53 AM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></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">Hello,<div>on 4.1.6 I'm configuring fencing on HP blades Gen9.</div><div>It seems I'm able to use ilo_ssh as agent and that I have only to set 22 as the port and ssh=1 in options </div><div><br></div><div>Question: why ssh=1??? the agent is named ilo_ssh.... shouldn't be obvious???</div><div>The same form command line I MUST set -x even if I use fence_ilo_ssh command</div><div><br></div><div>Nevertheless, this way I get successful test</div><div><br></div><div>Sometimes I don't get the same result if I run from shell eg:</div><div><br></div><div><div>fence_ilo_ssh -a ilo_ip -l fenceuser -S /usr/local/bin/my_fence_<wbr>script.sh -x -o status </div></div><div><br></div><div>I get sometimes:</div><div><div>Unable to connect/login to fencing device</div></div><div><br></div><div>I think it could be some sort of delay timeout.</div><div>In fence_ilo_ssh I see these kinds of timeouts in help</div><div><br></div><div><div> --power-timeout=[seconds] Test X seconds for status change after ON/OFF</div><div> --shell-timeout=[seconds] Wait X seconds for cmd prompt after issuing command</div><div> --login-timeout=[seconds] Wait X seconds for cmd prompt after login</div><div> --power-wait=[seconds] Wait X seconds after issuing ON/OFF</div><div> --delay=[seconds] Wait X seconds before fencing is started</div></div><div><br></div><div>How do they map with gui settings options in case I would use some of them?</div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">Please take a look at man page of fence_ilo_ssh and scroll down to STDIN PARAMETERS section. These parameters needs to be used in Options field in webadmin<br></div> </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><br></div><div>Also, how do I map the command line option</div><div><br></div><div>-4, --inet4-only<br></div><div><br></div><div>Perhaps inet4_only=1 ?</div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">Correct<br></div> </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><br></div><div>I see that </div><div><br></div><div>ssh=1,inet4_only=1 </div><div>works</div><div><br></div><div>but also</div><div>ssh=1,inet4_only=1,foo=1<br></div><div>works</div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">Yes, we just pass the parameters to fence agent and if it don't complain about unknown parameter, we have no way how to present that to a user.</div> <br><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><br></div><div>So it is not a reliable test to verify syntax...</div><div><br></div><div>All in all do you think it is the best agent for ilo4 based blades?</div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">Yes, according to our knowledge ilo4 should be used for all new HP servers (and also ilo4 agent has most of default parameters, so if you don't have some special configuration on your server you should be fine.<br></div> </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>I have made some test with fence_ilo4 but unable to get success... what should I enable on ilo web administration page in this case, if you think the agent would be better for any reason?</div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">If you are using admin user, then the default should be fine. If you are want to create a special user just for oVirt PM operations then following permissions needs to be assigned to user within iLO4 configuration:<br><br> Virtual power and reset<br> Remote Console Access<br> Virtual Media<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">And you need to add following into Options for the host PM settings:<br><br> privlvl=operator</div><br><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Thanks<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Martin</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><br></div><div>Thanks,</div><div>Gianluca</div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>