Sunday, 24 February 2013

Selecting the scope | WebSphere Tutorial pdf free download for beginners

Selecting the scope:

In computer programming in general, a scope is an enclosing context. Scopes have contents which are associated with them . Here in WebSphere the scope is applicable for some variables and settings. One of them is configuration. Configuration information is defined at the following levels: cell, cluster, node, server, and application. The scope determines which applications or application servers will see and use that configuration.
Configuration information is stored in the repository directory that corresponds to the scope. For example, if you scope a resource at the node level, the configuration information for that resource is in <profile_home>/config/cells/<cell>/nodes/<node>/resources.xml. If you scoped that same resource at the cell level, the configuration information for that resource is in <profile_home> /config/cells/<cell>/resources.xml.
=> Resources and variables scoped at the application level apply only to that application
=> Resources scoped at the server level apply only to that server.
=> Resources scoped at the node level apply to all servers on the node

Creating and deleting items:

To create follow the below steps:
=> Navigate to the des ired item using the navigation tree.
=> Select scope and click apply
=> Click on the new button, you will be presented with one or two configuration pages, fill them and click ok.
=> Click save on the task bar for the changes to be reflected in master configuration
To remove
=> Find the item you want to delete
=> Check the box next to it.
=> Click delete, it will ask for confirmation
=> Click save on the task bar for the changes to be reflected in master configuration.

Starting and stopping items:

=> Navigate to the item you want to start
=> Check the box next to it
=> Click the start or stop button
For example you want to start the sever1 then go to servers -> application servers from navigation menu and check the box and click start.

No comments: