Running Chef client in a VMware VSphere 4 Service Console?


#1

Hi,

I have deployed a Chef infrastructure on my customer’s site, only on
Linux systems for now, and I wonder if it’s possible to install the Chef
client on the Service Console of the VMware VSphere 4.x hypervisors?

The VSphere Service Console is a modified Red Hat distribution:
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
# uname -a
Linux lsvsphere01 2.6.18-164.ESX #1 Tue Oct 26 03:35:26 PDT 2010
x86_64 x86_64 x86_64 GNU/Linux

The distribution is not complete, there is no Ruby interpreter, but even
Perl 5.8.8 & Python 2.4.3 are installed. So I guess it should be
feasible to install the needed dependency and run a Chef agent.

Has anyone already done this?

Regards,


Farzad FARID / Architecte Open Source
Pragmatic Source / http://www.pragmatic-source.com
Tel : +33 9 53 19 21 90 / Mob : +33 6 03 70 65 46


#2

If you added the deps, I don’t see why it wouldn’t work just fine.

Adam

On Tue, Jan 25, 2011 at 6:08 AM, Farzad FARID
ffarid@pragmatic-source.com wrote:

Hi,

I have deployed a Chef infrastructure on my customer’s site, only on Linux
systems for now, and I wonder if it’s possible to install the Chef client on
the Service Console of the VMware VSphere 4.x hypervisors?

The VSphere Service Console is a modified Red Hat distribution:

cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.1 (Tikanga)

uname -a

Linux lsvsphere01 2.6.18-164.ESX #1 Tue Oct 26 03:35:26 PDT 2010 x86_64
x86_64 x86_64 GNU/Linux

The distribution is not complete, there is no Ruby interpreter, but even
Perl 5.8.8 & Python 2.4.3 are installed. So I guess it should be feasible to
install the needed dependency and run a Chef agent.

Has anyone already done this?

Regards,


Farzad FARID / Architecte Open Source
Pragmatic Source / http://www.pragmatic-source.com
Tel : +33 9 53 19 21 90 / Mob : +33 6 03 70 65 46


Opscode, Inc.
Adam Jacob, Chief Product Officer
T: (206) 619-7151 E: adam@opscode.com


#3

Ugh, It’d be pretty ugly, although it’s doable. May I ask why you want to
do this?

Also, 4.1 would be the last ESX release. VMWare is going the ESXi model
(no service console) after 4.1. They even have migration guides for
migrating from ESX to ESXi.

-Paul

On 1/26/11 6:52 AM, “Adam Jacob” adam@opscode.com wrote:

If you added the deps, I don’t see why it wouldn’t work just fine.

Adam

On Tue, Jan 25, 2011 at 6:08 AM, Farzad FARID
ffarid@pragmatic-source.com wrote:

Hi,

I have deployed a Chef infrastructure on my customer’s site, only on
Linux
systems for now, and I wonder if it’s possible to install the Chef
client on
the Service Console of the VMware VSphere 4.x hypervisors?

The VSphere Service Console is a modified Red Hat distribution:

cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.1 (Tikanga)

uname -a

Linux lsvsphere01 2.6.18-164.ESX #1 Tue Oct 26 03:35:26 PDT 2010
x86_64
x86_64 x86_64 GNU/Linux

The distribution is not complete, there is no Ruby interpreter, but even
Perl 5.8.8 & Python 2.4.3 are installed. So I guess it should be
feasible to
install the needed dependency and run a Chef agent.

Has anyone already done this?

Regards,


Farzad FARID / Architecte Open Source
Pragmatic Source / http://www.pragmatic-source.com
Tel : +33 9 53 19 21 90 / Mob : +33 6 03 70 65 46


Opscode, Inc.
Adam Jacob, Chief Product Officer
T: (206) 619-7151 E: adam@opscode.com


#4

Hi,

Le 26/01/2011 20:57, Paul Choi a écrit :

Ugh, It’d be pretty ugly, although it’s doable. May I ask why you want to
do this?

For fun mostly, because it’s doable :slight_smile:

Also, 4.1 would be the last ESX release. VMWare is going the ESXi model
(no service console) after 4.1. They even have migration guides for
migrating from ESX to ESXi.

I already knew that. Maybe I won’t mess with the Service Console after
all. Thanks.

Regards,


Farzad FARID / Architecte Open Source
Pragmatic Source / http://www.pragmatic-source.com
Tel : +33 9 53 19 21 90 / Mob : +33 6 03 70 65 46