VMware {code} Community
itm_nakul
Contributor
Contributor

Use of VI Perl Toolkit on ESX 3.5

I am using VI Perl Toolkit onESX 3.5 directly....

I do this for using the script vminfo.pl , which is located in the sample scripts of VI Perl Toolkit.

when I am installing VI toolkit it gives unable to link crypt::SSLeay perl module.....

I have also install openSSL and Crypt::SSLeay.....

But when i try to run any script it gives error that Can't load LibXML.so

Is any method to run vminfo.pl on ESX server directly...???????

waiting for your response...........

Thanks........

Reply
0 Kudos
8 Replies
dconvery
Champion
Champion

Ummm... The VI Perl Toolkit is to manage an ESX server or ESXi server remotely from windows or linux. I would tink that you could break things by installing it directly on an ESX server.

Dave

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"
Reply
0 Kudos
Texiwill
Leadership
Leadership

Hello,

Moved to Management APIs Forum

Check out


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos
dconvery
Champion
Champion

Well...I stand corrected. Still seems like a lot of work to me. I am just a curmudgeon who thinks the COS should be left alone in its intended state. As much as possible should be offloaded somewhere else. You could get a Ubuntu JEOS VM (for free), install the perl stuff and put the toolkit there. That's one less thing you are making the COS do...

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"
Reply
0 Kudos
stumpr
Virtuoso
Virtuoso

If you peruse the thread Texiwill linked, I did put together a way to use perl executables to avoid any Service Console environment changes. Setting up the reference environment to build the scripts would take a bit of time to setup. Once you have this reference environment built though, you can re-use for any ESX environment.

Might be a good project to create a Virtual Appliance for this reference environment. I might have some time today to put together the proper steps to get this done. I figure it would take about an hour to setup this reference virtual appliance if all the steps are documented. That's not too bad.

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

In the very near future VMware will release the "VMware Infrastructure Management Assistant" (VIMA), a virtual machine that will include the VI Perl Toolkit and Remote CLI and will provide a standard Linux environment for running 3rd-party agents. It will also enable scripts and applications to automatically athenticate to ESX hosts which have been registered with VIMA. More information will be announced soon.

--Harvey

Harvey Alcabes

VIMA Product Manager

VMware, Inc.

--Harvey Harvey Alcabes Product Manager VMware, Inc.
Reply
0 Kudos
hicksj
Virtuoso
Virtuoso

Sweet! I look forward to testing it out.

Reply
0 Kudos
hicksj
Virtuoso
Virtuoso

FYI:

Reply
0 Kudos
stumpr
Virtuoso
Virtuoso

Nice, I think once this gets more traction it'll help a lot with the service scripts and tools lot of us have. I was a little put off by the 'obfuscated' part of the password handling on the VIMA, but its a lot better clear text passwords kept in utility scripts.

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