VMware {code} Community
meelvi
Contributor
Contributor

install vCli to vCenter appliance

I'm not sure, does it rightest place for this discussion, but I have difficulties to install vCli into vSphere appliance.

This is actually based on SuSE Enterprise 11.

Installation script of VMware-vSphere-CLI-5.5.0-2043780.x86_64 requires openssl-devel and e2fsprogs-devel.

What is right SuSE ISO for that?

I downloaded SLE-11-SDK-DVD-x86_64-GM 2 DVD-s, but still there is some kind of dependency problem.

If I select libopenssl-devel, then I get warning, " break libopenssl-devel-0.9.8h-30.11.x86_64 by ignoring some of its dependencies"

0 Kudos
5 Replies
stumpr
Virtuoso
Virtuoso

Do you want all the vCLI utilities or just want to install the SDK for custom scripts?

If the latter, you can just install the Perl modules from {extracted perl sdk path}/lib/VMware/share/VMware/ into the Perl path of the vSphere appliance.  You may need to install a few modules, but those will be apparent when you try to run a test script.

Reuben Stump | http://www.virtuin.com | @ReubenStump
0 Kudos
meelvi
Contributor
Contributor

Main purpose is to make vCli script, whitch gracefully shutdown all vmware environment, when UPS sends power loss signal via little software agent.

0 Kudos
stumpr
Virtuoso
Virtuoso

Do you mean a bash script around the vCLI commands or a perl script using the VI Perl SDK?

Reuben Stump | http://www.virtuin.com | @ReubenStump
0 Kudos
meelvi
Contributor
Contributor

I thought bash script at first. I there any difference between these situations?

vCli should be installed anyway?

0 Kudos
stumpr
Virtuoso
Virtuoso

Even through the vCSA is a linux system (SUSE based), it's updated and supported like an appliance, so you probably should just use another VM instance to run your vCLI commands on a UPS event trigger.  You can look into the vMA (Management Assistant), which has all the CLI tools installed for you. vMA Download

And there were some community scripts to do basically what you're asking.  I don't recall any specifically, but a google search for say PowerChute, vSphere, etc should find some.

Reuben Stump | http://www.virtuin.com | @ReubenStump
0 Kudos