You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by Vincent YA Chen <ya...@tw.ibm.com> on 2013/10/15 17:07:30 UTC
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
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:
yachen@tw.ibm.com
Re: What are the required components on management node (CentOS6.2)
Posted by Aaron Coburn <ac...@amherst.edu>.
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 <ya...@tw.ibm.com> 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: yachen@tw.ibm.com
>
>
>
>
>
> From: Dmitri Chebotarov <dc...@gmu.edu>
> To: "user@vcl.apache.org" <us...@vcl.apache.org>
> 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 <ya...@tw.ibm.com>
> Reply-To: "user@vcl.apache.org" <us...@vcl.apache.org>
> Date: Tuesday, October 15, 2013 11:07
> To: "user@vcl.apache.org" <us...@vcl.apache.org>
> 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: yachen@tw.ibm.com
>
>
> [附件檔 "ATT00001.gif" 已被 Vincent YA Chen/Taiwan/IBM 刪除]
Re: What are the required components on management node (CentOS6.2)
Posted by Vincent YA Chen <ya...@tw.ibm.com>.
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
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:
yachen@tw.ibm.com
From: Dmitri Chebotarov <dc...@gmu.edu>
To: "user@vcl.apache.org" <us...@vcl.apache.org>
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 <ya...@tw.ibm.com>
Reply-To: "user@vcl.apache.org" <us...@vcl.apache.org>
Date: Tuesday, October 15, 2013 11:07
To: "user@vcl.apache.org" <us...@vcl.apache.org>
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
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:
yachen@tw.ibm.com
[附件檔 "ATT00001.gif" 已被 Vincent YA Chen/Taiwan/IBM 刪除]
Re: What are the required components on management node (CentOS6.2)
Posted by Dmitri Chebotarov <dc...@gmu.edu>.
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 <ya...@tw.ibm.com>>
Reply-To: "user@vcl.apache.org<ma...@vcl.apache.org>" <us...@vcl.apache.org>>
Date: Tuesday, October 15, 2013 11:07
To: "user@vcl.apache.org<ma...@vcl.apache.org>" <us...@vcl.apache.org>>
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
[cid:_1_071312C807130EF40053222248257C05]
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: yachen@tw.ibm.com<ma...@tw.ibm.com>