Weblogic and chef - quick question


#1

Hi

We are new to Chef
We are still trying to understand the value of Chef.
Could the experts share what Chef could do that Weblogic auto deployment
mechanism cannot do ?

Thanks


#2

Hi,

On Wed, Jan 23, 2013 at 4:59 AM, mpc8250@gmail.com wrote:

We are new to Chef
We are still trying to understand the value of Chef.
Could the experts share what Chef could do that Weblogic auto deployment
mechanism cannot do ?

Chef is just an automation tool and you can get it to do what ever you
want. We don’t use Weblogic but instead have opted for GlassFish.

In our environment we have chef setup the os, (ie tweak kernel settings,
fix up ntp etc), install glassfish, and deploy a range of resources into
glassfish. Chef actually invokes the underlying asadmin command line tool
to interact with the running glassfish server. Some of our applications
make use of configuration and customizations on the filesystem so we also
have chef set that up as well. In some cases we also use chef to run
database migrations, queue migrations and other middleware changes while it
pauses our ee application. So just recently we could automate the
construction of a cluster of populated GlassFish VMs to do load testing and
it was no more effort to create one VM than it was to create 30.

If you never have to install the application server, and never care about
the underlying OS settings, have no applications that interact with
services outside WL and are capable of setting up idempotent deployment
scripts then I wouldn’t bother with chef … but I have never quite been in
that situation.


Cheers,

Peter Donald


#3

Hi Peter

Thanks for responding.
What tutorials out there could you share on simple deployments and
auto installations of custom bundled software using chef in different
environments ?

Thanks

On Tue, Jan 22, 2013 at 8:24 PM, Peter Donald peter@realityforge.org wrote:

Hi,

On Wed, Jan 23, 2013 at 4:59 AM, mpc8250@gmail.com wrote:

We are new to Chef
We are still trying to understand the value of Chef.
Could the experts share what Chef could do that Weblogic auto deployment
mechanism cannot do ?

Chef is just an automation tool and you can get it to do what ever you want.
We don’t use Weblogic but instead have opted for GlassFish.

In our environment we have chef setup the os, (ie tweak kernel settings, fix
up ntp etc), install glassfish, and deploy a range of resources into
glassfish. Chef actually invokes the underlying asadmin command line tool
to interact with the running glassfish server. Some of our applications make
use of configuration and customizations on the filesystem so we also have
chef set that up as well. In some cases we also use chef to run database
migrations, queue migrations and other middleware changes while it pauses
our ee application. So just recently we could automate the construction of a
cluster of populated GlassFish VMs to do load testing and it was no more
effort to create one VM than it was to create 30.

If you never have to install the application server, and never care about
the underlying OS settings, have no applications that interact with services
outside WL and are capable of setting up idempotent deployment scripts then
I wouldn’t bother with chef … but I have never quite been in that
situation.


Cheers,

Peter Donald


#4

Hi,

On Thu, Jan 24, 2013 at 12:47 PM, Z W mpc8250@gmail.com wrote:

Thanks for responding.
What tutorials out there could you share on simple deployments and
auto installations of custom bundled software using chef in different
environments ?

I don’t know of any java specific tutorials - I would just go with the
standard set of guides at [1] - the way we learnt was to go through the
tutorial materials that opscode used to provide (Essentially they were
lecture notes for the training they provided). Can no longer find them.
Good luck!

[1] http://wiki.opscode.com/display/chef/Guides


Cheers,

Peter Donald


#5

The source for the Chef Fundamentals course that you’re referring to is on
Github here - https://github.com/opscode/chef-fundamentalshttps://github.com/opscode/chef-fundamentals

Also, don’t forget the new docs site - http://docs.opscode.com/

-Matt Moretti

On Wed, Jan 23, 2013 at 9:53 PM, Peter Donald peter@realityforge.orgwrote:

Hi,

On Thu, Jan 24, 2013 at 12:47 PM, Z W mpc8250@gmail.com wrote:

Thanks for responding.
What tutorials out there could you share on simple deployments and
auto installations of custom bundled software using chef in different
environments ?

I don’t know of any java specific tutorials - I would just go with the
standard set of guides at [1] - the way we learnt was to go through the
tutorial materials that opscode used to provide (Essentially they were
lecture notes for the training they provided). Can no longer find them.
Good luck!

[1] http://wiki.opscode.com/display/chef/Guides


Cheers,

Peter Donald


#6

there are a series of youtube videos that Nathan Harvey has built that walk you thru Chef and getting started step by step.

this is the first - it can guide you to the others.


From: Matthew Moretti [werebus@gmail.com]
Sent: Wednesday, January 23, 2013 7:33 PM
To: chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Re: weblogic and chef - quick question

The source for the Chef Fundamentals course that you’re referring to is on Github here - https://github.com/opscode/chef-fundamentalshttps://github.com/opscode/chef-fundamentals

Also, don’t forget the new docs site - http://docs.opscode.com/

-Matt Moretti

On Wed, Jan 23, 2013 at 9:53 PM, Peter Donald <peter@realityforge.orgmailto:peter@realityforge.org> wrote:
Hi,

On Thu, Jan 24, 2013 at 12:47 PM, Z W <mpc8250@gmail.commailto:mpc8250@gmail.com> wrote:
Thanks for responding.
What tutorials out there could you share on simple deployments and
auto installations of custom bundled software using chef in different
environments ?

I don’t know of any java specific tutorials - I would just go with the standard set of guides at [1] - the way we learnt was to go through the tutorial materials that opscode used to provide (Essentially they were lecture notes for the training they provided). Can no longer find them. Good luck!

[1] http://wiki.opscode.com/display/chef/Guides


Cheers,

Peter Donald


#7

The best way to navigate the videos that Mitch mentioned is via my blog so that you can see code samples, leave and read comments, etc.

http://nathenharvey.com/blog/2012/12/06/learning-chef-part-1/

-Nathen

From: Mitchell Hill <mitch@opscode.commailto:mitch@opscode.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Thursday, January 24, 2013 9:18 AM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] RE: Re: Re: Re: Re: weblogic and chef - quick question

there are a series of youtube videos that Nathan Harvey has built that walk you thru Chef and getting started step by step.

this is the first - it can guide you to the others.


From: Matthew Moretti [werebus@gmail.commailto:werebus@gmail.com]
Sent: Wednesday, January 23, 2013 7:33 PM
To: chef@lists.opscode.commailto:chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Re: weblogic and chef - quick question

The source for the Chef Fundamentals course that you’re referring to is on Github here - https://github.com/opscode/chef-fundamentalshttps://github.com/opscode/chef-fundamentals

Also, don’t forget the new docs site - http://docs.opscode.com/

-Matt Moretti

On Wed, Jan 23, 2013 at 9:53 PM, Peter Donald <peter@realityforge.orgmailto:peter@realityforge.org> wrote:
Hi,

On Thu, Jan 24, 2013 at 12:47 PM, Z W <mpc8250@gmail.commailto:mpc8250@gmail.com> wrote:
Thanks for responding.
What tutorials out there could you share on simple deployments and
auto installations of custom bundled software using chef in different
environments ?

I don’t know of any java specific tutorials - I would just go with the standard set of guides at [1] - the way we learnt was to go through the tutorial materials that opscode used to provide (Essentially they were lecture notes for the training they provided). Can no longer find them. Good luck!

[1] http://wiki.opscode.com/display/chef/Guides


Cheers,

Peter Donald