December 4, 2012

CommVault Console on Linux

I look after backups using Commvault.  While it isn’t my favourite backup product, it gets the job done, and does a pretty good job of it too.  One big downside for me is the lack of a Linux console.  Yes the GUI console application is a Java application packaged in a jar file, but unfortunately it is very Windows specific, to the point where it just doesn’t seem to work on Linux.

I have tried used JDK7 and JDK6 from Oracle, as well as OpenJDK7, and they all have the same result, you get the login screen, and not much after that, with a large stack trace on the command line, which I am not able to make much sense of (e.g. NullPointerException).

Solution: run java in wine.

Download JDK6 from Oracle. (I didn’t use 7 as it wasn’t on the list at winehq)

Grab a copy of the ‘GUI’ directory from a Commcell install on Windows.

Now install and setup wine, and a wrapper script:

`I look after backups using Commvault.  While it isn’t my favourite backup product, it gets the job done, and does a pretty good job of it too.  One big downside for me is the lack of a Linux console.  Yes the GUI console application is a Java application packaged in a jar file, but unfortunately it is very Windows specific, to the point where it just doesn’t seem to work on Linux.

I have tried used JDK7 and JDK6 from Oracle, as well as OpenJDK7, and they all have the same result, you get the login screen, and not much after that, with a large stack trace on the command line, which I am not able to make much sense of (e.g. NullPointerException).

Solution: run java in wine.

Download JDK6 from Oracle. (I didn’t use 7 as it wasn’t on the list at winehq)

Grab a copy of the ‘GUI’ directory from a Commcell install on Windows.

Now install and setup wine, and a wrapper script:

`

Enjoy!

© Greg Cockburn

Powered by Hugo & Kiss.