AIX 7.3 and lpar2rrd
Hello.
I have installed lpar2rrd on AIX LPAR verzion of AIX 7300-01-01-2246.
In this version of AIX this perl is installed by default:
root@lpar2rrd:/# perl -v
This is perl 5, version 34, subversion 1 (v5.34.1) built for aix-thread-multi
Installation was done over yum by installation document.
Thank you.
After I started a load.sh, this error occurs:
$ ./load.sh
VMware : not identified, no credentials
jobs -l vmware :
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /home/lpar2rrd/lpar2rrd/bin /home/lpar2rrd/lpar2rrd/vmware-lib /home/lpar2rrd/lpar2rrd/lib /opt/freeware/lib64/perl5/5.34/vendor_perl /opt/freeware/lib/perl5/5.34/vendor_perl /usr/opt/perl5/lib/site_perl/5.34.1/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.34.1 /usr/opt/perl5/lib/5.34.1/aix-thread-multi /usr/opt/perl5/lib/5.34.1) at /home/lpar2rrd/lpar2rrd/bin/xml.pl line 6.
BEGIN failed--compilation aborted at /home/lpar2rrd/lpar2rrd/bin/xml.pl line 6.
Compilation failed in require at /home/lpar2rrd/lpar2rrd/bin/hmc_list.pl line 8.
installing WWW : install-html.sh vmware
Host identif : AIX
Updating : start updating rrdfiles with vcenter data in background
timestamp : Thu Mar 2 11:31:35 CET 2023
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /home/lpar2rrd/lpar2rrd/bin /home/lpar2rrd/lpar2rrd/vmware-lib /home/lpar2rrd/lpar2rrd/lib /opt/freeware/lib64/perl5/5.34/vendor_perl /opt/freeware/lib/perl5/5.34/vendor_perl /usr/opt/perl5/lib/site_perl/5.34.1/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.34.1 /usr/opt/perl5/lib/5.34.1/aix-thread-multi /usr/opt/perl5/lib/5.34.1) at /home/lpar2rrd/lpar2rrd/bin/xml.pl line 6.
BEGIN failed--compilation aborted at /home/lpar2rrd/lpar2rrd/bin/xml.pl line 6.
Compilation failed in require at /home/lpar2rrd/lpar2rrd/bin/hmc_list.pl line 8.
Menu : no menu refresh for vmware /home/lpar2rrd/lpar2rrd/tmp/7.60-vmware
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /home/lpar2rrd/lpar2rrd/bin /home/lpar2rrd/lpar2rrd/vmware-lib /home/lpar2rrd/lpar2rrd/lib /opt/freeware/lib64/perl5/5.34/vendor_perl /opt/freeware/lib/perl5/5.34/vendor_perl /usr/opt/perl5/lib/site_perl/5.34.1/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.34.1 /usr/opt/perl5/lib/5.34.1/aix-thread-multi /usr/opt/perl5/lib/5.34.1) at /home/lpar2rrd/lpar2rrd/bin/xml.pl line 6.
BEGIN failed--compilation aborted at /home/lpar2rrd/lpar2rrd/bin/xml.pl line 6.
Compilation failed in require at /home/lpar2rrd/lpar2rrd/bin/hmc_list.pl line 8.
HMC web cfg : HMC is configured through GUI, (HMC_LIST in lpar2rrd.cfg is ignored). Actual HMC_LIST is made from etc/web_config/hosts.json =>
Host Configuration not found, use old HMC_LIST from etc/lpar2rrd.cfg
jobs -l :
[1] + 20644304 Running <command unknown>
Waiting for HMC: 20644304
date end all VM: Thu Mar 2 11:31:35 CET 2023
heatmap : start Thu Mar 2 11:31:35 2023
heatmap : (VMware) set cpu utilization for 0 vm
heatmap : (VMware) set memory utilization for 0 vm
heatmap : (VMware) set cpu utilization for 0 pools
heatmap : (VMware) set memory utilization for 0 pools
datastores : (VMware) 0 active in menu
heatmap : end Thu Mar 2 11:31:35 2023
rmc check : not this time 2 == 2
RMC from load.sh
============================== TOPTEN start ==============================
Comments
-
I strongly recomend tyo use any Linux for hosting of LPAR2RD, it works on AIX but there is a lot of compatability issues with Perl packages, and even when it works then next AIX TP/SP upgrade might easilly broke it down what causes another hours of work to make it work.
Let me know if you have no Linux option,
-
Does lpar2rrd also work on Linux for Power?
Do you have some experience?
-
sure, whatever Linux
-
Just ran in to this exact problem.
My brute force "fix" was to restore
directory "/usr/opt/perl5/lib/site_perl/5.28.1/XML/Simple" and file "/usr/opt/perl5/lib/site_perl/5.28.1/XML/Simple/FAQ.pod" and file "/usr/opt/perl5/lib/site_perl/5.28.1/XML/Simple.pm" to respective locations in "/usr/opt/perl5/lib/site_perl/5.34.1/XML" directory tree.
And to state the obvious there is very high probability that running _any_ perl based software on non AIX operating system will be less, erm arduous task as running it on AIX.
But I digress, "fix" because after restoring one directory and two files to another directory branch, both "load.sh" and "load_hmc_rest_api.sh" worked and most recent data was inserted in to RRD.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 43 XORMON NG
- 25 XORMON
- 152 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle