summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjekader <jekader@gmail.com>2014-09-19 23:08:56 +0200
committerjekader <jekader@gmail.com>2014-09-19 23:08:56 +0200
commit7257e0b0bad1a42db22ba9ddc8be366463895007 (patch)
treeb6b60da395038de0f070d34d1aeace5151efe204
parent84cdd5498ac15e43d38a9635e3febf9f13c19d85 (diff)
downloadfake_ilo-7257e0b0bad1a42db22ba9ddc8be366463895007.tar.gz
Update README.md
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6adc409..87f8f5f 100644
--- a/README.md
+++ b/README.md
@@ -46,3 +46,20 @@ USAGE:
The script starts listening on port 1234 and uses the username sent from the oVirt fencing agent as the name of the VM to query/fence. The password is not important. When a username is not equal to any VM name on the machine, "NaN" is returned, which should produce an error on oVirt side. Logs are written to /var/log/fake_ilo.log
Most of the settings are hardcoded, but the code is pretty simple so they can be changed as needed.
+
+TROUBLESHOOTING:
+----------------
+
+To test the script, install the fence agent (should be installed on oVirt nodes by default):
+
+ `# yum install fence-agents`
+
+On the libvirt host run fake_ilo in foreground:
+
+ `# /usr/local/bin/ilo.py`
+
+Test the fence agent manually:
+
+ `# fence_ilo -a 192.168.0.123 -u 1234 -l test -p test -o status`
+
+Observe the errors displayed by the script