proxmox netapp storage plugin

spirit

Distinguished Member
Apr 2, 2010
6,980
1,086
273
www.groupe-cyllene.com
Hi,

I have put my proxmox netapp plugin on github, if someone is interested to use it.

https://github.com/odiso/proxmox-pve-storage-netapp



We are using it in production since 3years without any bug.

templates/snapshot/clone/clone rollback are done on the netapp san through netapp api integration.
 
  • Like
Reactions: Deepen Dhulla
Hi,

It looks very interesting, I am installing two Netapp (production and backup) with four HP servers. Is there any easy way to install this plugin? Or a detailed maual for installation? I'm trying to install it but I'm not able to do that.

I downloaded the plugin and tried to compile it and I get a lot of errors. I believed, reading Odiso post, that libpve-storage-perl Package is needed, then I installed libpve-storage-perl_4.0-4_all Package.

And when I try to compile it with make command I get more errors:

"...
root@samoa:/tmp# make
make: *** No targets specified and no makefile found. Stop.
root@samoa:/tmp# cd netapp
root@samoa:/tmp/netapp# clear
root@samoa:/tmp/netapp# make
cat: .git/refs/heads/master: No such file or directory
rm -rf debian
mkdir debian
make DESTDIR=/tmp/netapp/debian install
cat: .git/refs/heads/master: No such file or directory
make[1]: Entering directory `/tmp/netapp'
install -d /tmp/netapp/debian/usr/sbin
install -m 0755 pvesm /tmp/netapp/debian/usr/sbin
make -C PVE install
make[2]: Entering directory `/tmp/netapp/PVE'
install -D -m 0644 Storage.pm /tmp/netapp/debian/usr/share/perl5/PVE/Storage.pm
make -C Storage install
make[3]: Entering directory `/tmp/netapp/PVE/Storage'
for i in Plugin.pm DirPlugin.pm LVMPlugin.pm NFSPlugin.pm NetappPlugin.pm ISCSIPlugin.pm RBDPlugin.pm SheepdogPlugin.pm ISCSIDirectPlugin.pm GlusterfsPlugin.pm ZFSPoolPlugin.pm ZFSPlugin.pm; do install -D -m 0644 $i /tmp/netapp/debian/usr/share/perl5/PVE/Storage/$i; done
make -C LunCmd install
make[4]: Entering directory `/tmp/netapp/PVE/Storage/LunCmd'
for i in Comstar.pm Istgt.pm Iet.pm; do install -D -m 0644 $i /tmp/netapp/debian/usr/share/perl5/PVE/Storage/LunCmd/$i; done
make[4]: Leaving directory `/tmp/netapp/PVE/Storage/LunCmd'
make[3]: Leaving directory `/tmp/netapp/PVE/Storage'
make -C API2 install
make[3]: Entering directory `/tmp/netapp/PVE/API2'
make -C Storage install
make[4]: Entering directory `/tmp/netapp/PVE/API2/Storage'
for i in Content.pm Status.pm Config.pm Scan.pm; do install -D -m 0644 $i /tmp/netapp/debian/usr/share/perl5/PVE/API2/Storage/$i; done
make[4]: Leaving directory `/tmp/netapp/PVE/API2/Storage'
make[3]: Leaving directory `/tmp/netapp/PVE/API2'
make[2]: Leaving directory `/tmp/netapp/PVE'
install -d /tmp/netapp/debian/usr/share/man/man1
install -d /tmp/netapp/debian/usr/share/doc/libpve-storage-perl/pod
install -m 0644 pvesm.1.gz /tmp/netapp/debian/usr/share/man/man1/
install -m 0644 pvesm.1.pod /tmp/netapp/debian//usr/share/doc/libpve-storage-perl/pod
make[1]: Leaving directory `/tmp/netapp'
perl -I. ./pvesm verifyapi
Can't locate XML/Simple.pm in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at PVE/Storage/NetappPlugin.pm line 9, <DATA> line 558.
BEGIN failed--compilation aborted at PVE/Storage/NetappPlugin.pm line 9, <DATA> line 558.
Compilation failed in require at PVE/Storage.pm line 25, <DATA> line 558.
BEGIN failed--compilation aborted at PVE/Storage.pm line 25, <DATA> line 558.
Compilation failed in require at ./pvesm line 13, <DATA> line 558.
BEGIN failed--compilation aborted at ./pvesm line 13, <DATA> line 558.
make: *** [libpve-storage-perl_3.0-31_all.deb] Error 2
root@samoa:/tmp/netapp#
..."

I'm not experienced in compiling, thats why I ask for a easier installation procedure.

Thanks,

Xavier.
 
Hi,

It looks very interesting, I am installing two Netapp (production and backup) with four HP servers. Is there any easy way to install this plugin? Or a detailed maual for installation? I'm trying to install it but I'm not able to do that.

I downloaded the plugin and tried to compile it and I get a lot of errors. I believed, reading Odiso post, that libpve-storage-perl Package is needed, then I installed libpve-storage-perl_4.0-4_all Package.

And when I try to compile it with make command I get more errors:

"...
root@samoa:/tmp# make
make: *** No targets specified and no makefile found. Stop.
root@samoa:/tmp# cd netapp
root@samoa:/tmp/netapp# clear
root@samoa:/tmp/netapp# make
cat: .git/refs/heads/master: No such file or directory
rm -rf debian
mkdir debian
make DESTDIR=/tmp/netapp/debian install
cat: .git/refs/heads/master: No such file or directory
make[1]: Entering directory `/tmp/netapp'
install -d /tmp/netapp/debian/usr/sbin
install -m 0755 pvesm /tmp/netapp/debian/usr/sbin
make -C PVE install
make[2]: Entering directory `/tmp/netapp/PVE'
install -D -m 0644 Storage.pm /tmp/netapp/debian/usr/share/perl5/PVE/Storage.pm
make -C Storage install
make[3]: Entering directory `/tmp/netapp/PVE/Storage'
for i in Plugin.pm DirPlugin.pm LVMPlugin.pm NFSPlugin.pm NetappPlugin.pm ISCSIPlugin.pm RBDPlugin.pm SheepdogPlugin.pm ISCSIDirectPlugin.pm GlusterfsPlugin.pm ZFSPoolPlugin.pm ZFSPlugin.pm; do install -D -m 0644 $i /tmp/netapp/debian/usr/share/perl5/PVE/Storage/$i; done
make -C LunCmd install
make[4]: Entering directory `/tmp/netapp/PVE/Storage/LunCmd'
for i in Comstar.pm Istgt.pm Iet.pm; do install -D -m 0644 $i /tmp/netapp/debian/usr/share/perl5/PVE/Storage/LunCmd/$i; done
make[4]: Leaving directory `/tmp/netapp/PVE/Storage/LunCmd'
make[3]: Leaving directory `/tmp/netapp/PVE/Storage'
make -C API2 install
make[3]: Entering directory `/tmp/netapp/PVE/API2'
make -C Storage install
make[4]: Entering directory `/tmp/netapp/PVE/API2/Storage'
for i in Content.pm Status.pm Config.pm Scan.pm; do install -D -m 0644 $i /tmp/netapp/debian/usr/share/perl5/PVE/API2/Storage/$i; done
make[4]: Leaving directory `/tmp/netapp/PVE/API2/Storage'
make[3]: Leaving directory `/tmp/netapp/PVE/API2'
make[2]: Leaving directory `/tmp/netapp/PVE'
install -d /tmp/netapp/debian/usr/share/man/man1
install -d /tmp/netapp/debian/usr/share/doc/libpve-storage-perl/pod
install -m 0644 pvesm.1.gz /tmp/netapp/debian/usr/share/man/man1/
install -m 0644 pvesm.1.pod /tmp/netapp/debian//usr/share/doc/libpve-storage-perl/pod
make[1]: Leaving directory `/tmp/netapp'
perl -I. ./pvesm verifyapi
Can't locate XML/Simple.pm in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at PVE/Storage/NetappPlugin.pm line 9, <DATA> line 558.
BEGIN failed--compilation aborted at PVE/Storage/NetappPlugin.pm line 9, <DATA> line 558.
Compilation failed in require at PVE/Storage.pm line 25, <DATA> line 558.
BEGIN failed--compilation aborted at PVE/Storage.pm line 25, <DATA> line 558.
Compilation failed in require at ./pvesm line 13, <DATA> line 558.
BEGIN failed--compilation aborted at ./pvesm line 13, <DATA> line 558.
make: *** [libpve-storage-perl_3.0-31_all.deb] Error 2
root@samoa:/tmp/netapp#
..."

I'm not experienced in compiling, thats why I ask for a easier installation procedure.

Thanks,

Xavier.
oh, it seem that I forgot to add a depend on libxml-simple-perl package.

apt-get install libxml-simple-perl

should fix it.

I'll try to push a new prebuild libpve-storage-perl .deb for proxmox 3.4 on the github next week)
 
I don't use it anymore (have migrated all my production to ceph since 10years),

it shouldn't be too difficult to adapt, the proxmox side don't have changed too much. (but yes, I need to be updated)

Not sure about netapp api side.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!