02-12-2014 10:05 PM
I have installed NNMi 9.23 on rhel6.2
When I do configuring HA, as part of the steps when i do copy of database to shared drive am getting the below error.
./nnmhadisk.ovpl NNM -to /nnmmount
NOTE: Copying files to shared disk; this may take a few minutes.
Undefined subroutine &nmsha::copyRecursively called at /opt/OV/misc/nnm/ha/modules/NNM.pm line 1269.
Solved! Go to Solution.
02-13-2014 12:07 AM
Hmm ... to me it looks as an environment issue, the mentioned function is defined in the nmsha.pm module (/opt/OV/misc/nnm/ha/modules/nmsha.pm) which gets loaded by the nnmhadisk.ovpl (and other nnmha* script).
The lookup of the perl modules is affected by the perl variable @INC variable which we explicitly set to "/opt/OV/misc/nnm/ha/modules" in nnmhadisk.ovpl. Unless you have changed the nnmhadisk.ovpl the module should get loaded.
Other shell variables which affect the perl @INC variable are:
And to some extend, the $PATH variable.
The PERL5LIB and PERLLIB should not be set on a system wide basis, those are rather 'old style' variables. It is better to have the module location defined within the perl scripts (as it is done in the nnmha* scripts). If they are set on your system I would recommend to unset them prior running nnmhadisk.ovpl again:
I also understand you currently have a support case open. I suggest we catch-up there.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
4 weeks ago
cluster configuration files are not updated after the NNM patching
Its resolved by manualy copying the updated files.
Thanks a lot for your support on this case.