From: Nathan F. <nf...@au...> - 2009-07-10 18:26:37
|
After a partition migration a refresh of the RMC framework is needed to avoid having to wait several minutes (5-10) for the framework to refresh itself. This patch adds a refresh directly from the drmgr command. The updates the current mechanism for invoking the refresh. Currently the refresh depends on drmgr being built with servicelog support and having the servicelog and ppc64-diag packages installed. This way ensures that refreshes occur. Signed-off-by: Nathan Fontenot <nf...@au...> -- Index: powerpc-utils/src/drmgr/drmig_chrp_pmig.c =================================================================== --- powerpc-utils.orig/src/drmgr/drmig_chrp_pmig.c 2009-07-10 14:46:25.000000000 -0500 +++ powerpc-utils/src/drmgr/drmig_chrp_pmig.c 2009-07-10 17:01:58.000000000 -0500 @@ -608,6 +608,10 @@ return rc; devtree_update(); + + dbg("Refreshing RMC via refrsrc\n"); + system("/usr/sbin/rsct/bin/refrsrc IBM.ManagementServer"); + #ifdef HAVE_SERVICELOG servicelog_update(sys_src); #endif |