-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new feature suggestion: OS command and retrieve Operating System Messages #565
Comments
Hello @ScYang1991 Let me give an idea how I think this could be designed, just to have something to discuss, but I'm really interested in your ideas on that: One idea is to have a module that checks the console for a specific expected OS message, and if present, it sends a particular OS command to the console. Interesting questions are:
|
@andy-maier
So having "send OS command" and "retrieve OS console message list" independently would be enough for my purpose of use. Dynamically tracking system response would not be required. Then it would be able to achieve the same result with below logic.
Thanks. |
Support for "List OS Messages" is being added to the zhmcclient library in PR zhmcclient/python-zhmcclient#1279 (targeted for zhmcclient 1.12.0) |
Details: * Added new Ansible modules 'zhmc_lpar_messages' and 'zhmc_partition_messages' that retrieve and return console messages from the operating system running in an LPAR or DPM partition. (issue #565) Signed-off-by: Andreas Maier <maiera@de.ibm.com>
PR #819 adds support for new Ansible modules that retrieve OS messages for LPARs and DPM partitions. It is targeted for the ibm_zhmc Ansible collection version 1.8.0. @ScYang1991 Please review that functionality and speak up as needed. |
Details: * Added new Ansible modules 'zhmc_lpar_messages' and 'zhmc_partition_messages' that retrieve and return console messages from the operating system running in an LPAR or DPM partition. (issue #565) Signed-off-by: Andreas Maier <maiera@de.ibm.com>
Details: * Added new Ansible modules 'zhmc_lpar_messages' and 'zhmc_partition_messages' that retrieve and return console messages from the operating system running in an LPAR or DPM partition. (issue #565) Signed-off-by: Andreas Maier <maiera@de.ibm.com>
Details: * Added new Ansible modules 'zhmc_lpar_messages' and 'zhmc_partition_messages' that retrieve and return console messages from the operating system running in an LPAR or DPM partition. (issue #565) Signed-off-by: Andreas Maier <maiera@de.ibm.com>
Details: * Added new Ansible modules 'zhmc_lpar_messages' and 'zhmc_partition_messages' that retrieve and return console messages from the operating system running in an LPAR or DPM partition. (issue #565) Signed-off-by: Andreas Maier <maiera@de.ibm.com>
Details: * Added new Ansible modules 'zhmc_lpar_messages' and 'zhmc_partition_messages' that retrieve and return console messages from the operating system running in an LPAR or DPM partition. (issue #565) Signed-off-by: Andreas Maier <maiera@de.ibm.com>
Details: * Added new Ansible modules 'zhmc_lpar_messages' and 'zhmc_partition_messages' that retrieve and return console messages from the operating system running in an LPAR or DPM partition. (issue #565) Signed-off-by: Andreas Maier <maiera@de.ibm.com>
@ScYang1991 Somehow the request for supporting the sending of OS commands got lost in this discussion. I have created issue #938 for that. |
@ScYang1991 PR #1033 is adding support for executing OS consosle commands in LPARs and partitions. The new modules return the command output, so you do not have to get and compare the messages in the playbook. |
It would be very helpful if sending OS command and Retrieving Operating System Messages features can be added to this collection. Think IPLs and SHUTDOWNs that require certain OS commands to be executed can be automated.
Those features should be available from HMC web API from 2.14.1.
Thanks.
The text was updated successfully, but these errors were encountered: