Hello, If you want to use vCenter, you will need to install the vSphere SDK. This is separate from the modules installed by the install_perl_libs.pl script.
You can get the toolkit from the vmware.com site [1]. I don't think you need to restart vcld after installing the perl library, but it may be a good idea, just in case. Once the vSphere SDK library is in place, you will absolutely need to set a username and password in the VM host profile; otherwise, vcld won't be able to authenticate into the vCenter API. Hope that helps, Aaron [1] http://www.vmware.com/support/developer/viperltoolkit/ -- Aaron Coburn System Administrator / Programmer Web Services, Amherst College On Oct 16, 2013, at 6:56 PM, Vincent YA Chen <[email protected]> wrote: > Dear > > thank you for your kindly advise , I ran > /usr/local/vcl/bin/install_perl_libs.pl to install Perl libs before , I think > vSphere_SDK isn't included . My environment has vCenter ,does it mean I have > to install vSphere_SDK? > btw , I try to clear username/password fields in VMHost profile and capture > again , but it still shows same error . > > Best Regards, > Vincent YA Chen 陳彥安 4F, 7 Song Ren Road > <Mail Attachment.gif> > I/T Specialist Taipei, 110 > End User Service Taiwan > GTS Service Delivery, Taiwan > Phone: +886-2-8723-9081 > Mobile: +886-911-227-378 > e-mail: [email protected] > > > > > > From: Dmitri Chebotarov <[email protected]> > To: "[email protected]" <[email protected]> > Date: 2013/10/15 下午 11:24 > Subject: Re: What are the required components on management node > (CentOS6.2) > > > > Hi > > I think you can run /usr/local/vcl/bin/install_perl_libs.pl to install Perl > libs, but I'm not sure if vSphere_SDK is included – I remember getting it > from vmware.com site. > > vSphere_SDK is used with vCenter. If your hosts are stand-alone try to clear > username/password fields in VMHost profile – this will make vcld to use SSH > to connect to hosts… > > -- > Thank you, > > Dmitri Chebotarov > VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & > Messaging > 223 Aquia Building, Ffx, MSN: 1B5 > Phone: (703) 993-6175 | Fax: (703) 993-3404 > > > From: Vincent YA Chen <[email protected]> > Reply-To: "[email protected]" <[email protected]> > Date: Tuesday, October 15, 2013 11:07 > To: "[email protected]" <[email protected]> > Subject: What are the required components on management node (CentOS6.2) > > Dears > > I encounter a problem on image capture recently , my OS for VCL management > node is CentOS 6.2 ( I select the default installation , minimal install ) > I follow the installation document to complete all tasks , however , while I > try to do "Capture A Base Image" , the vcld.log show errors at line 213 > (vSphere SDK for Perl does not appear to be installed on this managment node) > > 2013-10-15 16:45:34|23953|1:1|image|vSphere_SDK.pm:initialize(98)|vSphere SDK > for Perl does not appear to be installed on this managment node, unable to > load VMware vSphere SDK Perl modules, error: > |23953|1:1|image| Can't locate VMware/VIRuntime.pm in @INC (@INC contains: > /usr/local/vcl/bin/../../../.. /usr/local/vcl/bin/../.. > /usr/local/vcl/bin/../../.. /usr/local/vcl/bin/../../../../.. > /usr/local/vcl/bin/.. /usr/local/vcl/bin/../lib /usr/local/lib/perl5 > /usr/local/share/perl5 /usr/lib/perl5/vendor_perl > /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at (eval 219) > line 1. > |23953|1:1|image| BEGIN failed--compilation aborted at (eval 219) line 1. > > > > I am wondering what are the required components I need to install on the > management node , your kindly advise is appreciate . > Best Regards, > Vincent YA Chen 陳彥安 4F, 7 Song Ren Road > <Mail Attachment.gif> > I/T Specialist Taipei, 110 > End User Service Taiwan > GTS Service Delivery, Taiwan > Phone: +886-2-8723-9081 > Mobile: +886-911-227-378 > e-mail: [email protected] > > > [附件檔 "ATT00001.gif" 已被 Vincent YA Chen/Taiwan/IBM 刪除]
signature.asc
Description: Message signed with OpenPGP using GPGMail
