Wednesday

Grid Control – Refreshing Weblogic Domains

WebLogic domains, especially SOA, tend to be very dynamic. Over time new applications may be deployed or others upgraded to the latest release, SOA partitions created/deleted, BPEL processes new/updated/deleted, etc. By default, Grid control is not aware of these changes. This can be a problem if you use grid control to centrally manage/monitor your environment. There are two options available to you:

1. Manually refresh the weblogic domain.
2. Enable Automatic Refresh

Manually refreshing a Weblogic Domain


One of the places this can be done is from the WebLogic Domain drop down menu, click on Refresh WebLogic Domain.


clip_image002

The following screen will appear, click on Continue.

clip_image004

After you click on continue target discovery will take place and a confirmation window will show how many targets were found:

clip_image006

After you click on close you’ll be brought to the assign agents screen. I’m not aware of any reason why you would want to reassign to a different agent, so I just continued by clicking on Add Targets.

clip_image008

Once you have made any changes, if necessary, above click on add targets to save the changes.

clip_image010

Automatically refreshing a Weblogic Domain


If your environment changes quite frequently you may want to enable an automatic refresh. To do this login to Grid Control, click on the Targets Table, Middleware section and select the domain you wish to make the change for.

clip_image012

Notice above that my domain was last refreshed Apr. 1st. Click on the timestamp next to WebLogic Domain Refreshed and the following window will appear:

clip_image014

After you click ok, a confirmation message will be displayed saying that it was successfully scheduled:

clip_image016

If you click on the timestamp above next to Weblogic Domain Refreshed again:

clip_image018

You can click on the job name and it will bring you to the Job Activity section of Grid Control. From here you can change the schedule of the refresh, etc.

clip_image020



Thats it, pretty simple.  I prefer to use the manual method because it provides a summary of the new or modified targets,  which you don't get by scheduling it automatically.    I haven't checked the Grid Control job logs tho to see if that information is included there.

1 comment:

George Hannuneh said...

Might come in handy!