linux-ras / ServiceReport

ServiceReport
GNU General Public License v2.0
5 stars 9 forks source link

Add RSCT validity check in ServiceReport tool #9

Open seeteena opened 4 years ago

seeteena commented 4 years ago

Background details

Customers raise Sales force Ticket with IBM when they see their system showing "No RMC Connection". L1/L2 will ask for the Preliminary logs (sos/supportconfig) and sees RSCT package not installed or deamon not running. sosreport/supportconfig is having enough ctnaps logs to troubleshoot RMC connection issues and hence L1/L2 would ask Customer to install right package pointing the IBM Official site. https://www.ibm.com/support/pages/service-and-productivity-tools ctnaps logs have rpm.out and RM logs to check if the package is installed or not.

Proposed Solution

We can improve this process with the following proposed solution. As there is a plan to include servicereport tool in future distro's all the customers would make use of this tool. why don't we include RMC/RSCT check in servicereport tool. All the Customers would not need this package installed but including this package in servicereport tool would help diagnose and fix the issue. .

  1. Include RMC Daemon availability check or package available check in service report tool so customer who want to fix RMC connection issue can fix this themselves when they see this RMC connection issue.

servicereport -v

Daemon availability checks PASS

rtas_errd PASS irqbalance PASS

FADump configuration check FAIL .. HTX configuration check FAIL .. Package availability check PASS

ppc64-diag PASS irqbalance PASS perf PASS supportutils PASS powerpc-utils PASS

2. servicereport -r rmc

                should autorepair if they want to fix RMC connection error.

All the rsct distro packages are available in https://www.ibm.com/support/pages/service-and-productivity-tools say example for RHEL rsct packages are available here

http://public.dhe.ibm.com/software/server/POWER/Linux/yum/OSS/RHEL/8/ppc64le/

so servicereport should autorepair by fetching and installing the right package for the appropriate distro.

Regarding the daemon availability check Support team would always check following to see if the deamon is up or not.

lssrc -a

ctrmc rsct 32216 active IBM.HostRM rsct_rm 32319 active IBM.MgmtDomainRM rsct_rm 32382 active IBM.ServiceRM rsct_rm 32413 active IBM.DRM rsct_rm 32465 active

Proposal had been discussed with Ananth and he had agreed with the proposal.

ServiceReport now has an optional plugins concept and the RMC/RSCT validity checks can become part of an LPM plugin.

Sourabh is been added to the mail thread and been discussed with him offline.

seeteena commented 4 years ago

RSCT/management packages are really only needed on PowerVM, will the ServiceReport plugin be able to determine that it is in that environment?

We don't want to cause problems by the customer thinking they need them for other environments, right?

sourabhjains commented 3 years ago

Plugin is ready need to be verified.

Need someone from IS team to verify it.

seeteena commented 2 years ago

let me know the service report version which this issue is fixed so that i can go ahead and verify this issue. please put the link where I can download service report tool.

seeteena commented 1 year ago

verified successfully. attaching the logs. verify.log

seeteena commented 1 year ago

Verified.

On 03/26/2021 11:31 AM, Sourabh jain wrote:

Plugin is ready need to be verified. Need someone from IS team to verify it. Sourabh Jain — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd

Plugin is ready need to be verified.

Need someone from IS team to verify it.

  • Sourabh Jain

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linux-ras/ServiceReport/issues/9#issuecomment-807960263, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVSP5HAVI4IDNCMG2WKHQ3TFQPJ5ANCNFSM4PCDZKIQ.