Re: Unable to copy NNM databse to shared drive as part of HA configuration? (158 Views)
Reply
Valued Contributor
Posts: 67
Registered: ‎07-27-2011
Message 1 of 3 (176 Views)
Accepted Solution

Unable to copy NNM databse to shared drive as part of HA configuration?

Hi Experts,

 

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.

 

Thanks,

Easwar

Honored Contributor
Posts: 236
Registered: ‎12-18-2008
Message 2 of 3 (158 Views)

Re: Unable to copy NNM databse to shared drive as part of HA configuration?

Hi Eswar

 

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:

PERL5LIB

PERLLIB

 

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:

 

unset PERL5LIB

unset PERLLIB

 

I also understand you currently have a support case open. I suggest we catch-up there.

 

Kind regards

Dieter

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Valued Contributor
Posts: 67
Registered: ‎07-27-2011
Message 3 of 3 (52 Views)

Re: Unable to copy NNM databse to shared drive as part of HA configuration?

Hi Dieter,

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.

 

Thanks,

easwar

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.