aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSourabh Jain <sourabhjain@linux.ibm.com>2023-05-16 09:48:32 +0530
committerJake Hunsaker <jhunsake@redhat.com>2023-05-19 12:53:38 -0400
commitcf26dc6fcd9bcd798c1b27dd6fdba5e400260858 (patch)
tree225715d7680c46848ad033d4f414109c3b49a519
parent9fb431f35247cdb711d6886a8c2b3ee4280e0187 (diff)
downloadsos-cf26dc6fcd9bcd798c1b27dd6fdba5e400260858.tar.gz
powerpc: collect RMC status logs
Resource Monitoring and Control (RMC) responsible for establishing management connection between HMC (Hardware Management Console) and Logical partition (LPAR). Add commands to collect the status/info of RMC service, node, and other system resource. Additionally collect RSCT node ID file. Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com> Tested-by: Borislav Stoymirski <borislav.stoymirski@bg.ibm.com> Suggested-by: Borislav Stoymirski <borislav.stoymirski@bg.ibm.com>
-rw-r--r--sos/report/plugins/powerpc.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/sos/report/plugins/powerpc.py b/sos/report/plugins/powerpc.py
index 643ccd05..597fcd97 100644
--- a/sos/report/plugins/powerpc.py
+++ b/sos/report/plugins/powerpc.py
@@ -39,7 +39,8 @@ class PowerPC(Plugin, IndependentPlugin):
"/proc/swaps",
"/proc/version",
"/dev/nvram",
- "/var/lib/lsvpd/"
+ "/var/lib/lsvpd/",
+ "/etc/ct_node_id"
])
self.add_cmd_output([
"ppc64_cpu --info",
@@ -55,7 +56,11 @@ class PowerPC(Plugin, IndependentPlugin):
"lscfg -v",
"opal-elog-parse -s",
"opal-elog-parse -a",
- "opal-elog-parse -l"
+ "opal-elog-parse -l",
+ "lssrc -a",
+ "lsrsrc IBM.MCP",
+ "rmcdomainstatus -s ctrmc",
+ "rmcdomainstatus -s ctrmc -a ip"
])
if ispSeries:
@@ -87,7 +92,10 @@ class PowerPC(Plugin, IndependentPlugin):
"lsslot",
"amsstat"
])
- self.add_service_status("hcn-init")
+ self.add_service_status([
+ "hcn-init",
+ "ctrmc"
+ ])
if isPowerNV:
self.add_copy_spec([