Showing posts with label IBM Websphere Applicaiton Sever. Show all posts
Showing posts with label IBM Websphere Applicaiton Sever. Show all posts
Tuesday, January 21, 2014
Change the websphere plug-in log file with out restarting a web server
Normally if you want to delete, move or rename websphere web server plug-in log file, you must stop and start the web servers but UNIX systems to manually switch the web server plug-in over to a new log file, without having to stop the web server using the below steps
1 ) Go to the plug-in logs directory and create a new log file by using the touch command .
2 ) Change the permissions on the new file to 766.
3) Edit the plugin-cfg.xml file and change the log filename to the new filename.
4) Websphere plug-in instance will automatically switch over to the new log file name after "RefreshInterval".
5)Do not edit or delete the old plug-in log file for several minutes as it might still be in use by web server processes.
NOTE :
1) If you are using a multi-processed web server, there is no way of telling when a process will start using the new plug-in log file, because it is triggered from processing a request .
2 After all plug-in instances have switched over to the new log filename, you can delete, move, rename, or zero-out the old plug-in log file, if you want.
Tuesday, January 7, 2014
Disabling admin console security for WebSphere Application Server
Disabling global security in the WebSphere Application Server
1) using Websphere Admin console
2) By Editing security.xml file
Procedure :To disable global security, using websphere admin console
1)Login into admin console .
2)Go to the below Navigation
Security--->Global Security--->Administrative security---uncheck the check box
3)Restart the WebSphere Application Server. Global security is now disabled.
Procedure :To disable global security, edit the security.xml file
1)Locate the security.xml file. The file is in the following directory:
WAS_NODE_PROFILE_HOME/config/cells/webservicesm
where WAS_NODE_PROFILE_HOME is the directory of the WebSphere Application Server, and webservicesm is the name of the cell .
2)Edit the security.xml file
Search for the line that begins with the following tag security:Security
In that line, search for the enabled attribute, and change the value to false .
3)Save the security.xml file.
4)Restart the WebSphere Application Server. Global security is now disabled.
Monday, January 6, 2014
Websphere Application Server Multiple Data Centers for High Availability
Active/Passive:
1)One data center is serving requests, the other is not performing work but is standing by in case it is needed. Application data and applicationstate are replicated asynchronously between data centers so that when an outage occurs, failover to the surviving data center can be accomplished quickly witha minimal outage (minimal could mean some number of minutes or even a few hours in this context).
2)It is the easiest and safest to implement since only one is serving requests -- but it is also the most expensive, at least in termsof hardware, since you have two data centers with 100 percent capacity
Active/Active:
1)Both data centers are serving requests. Because each data center is active, application data (minimally) and application state (possibly) must be shared between the data centers, and replication of the application data and application state needs to be synchronous, with a minimal latency, in order to avoiding consistencies.
2)It is slightly more complex than Active/Passive -- but with some additional effort, it can work in a reliable manner .
Reformed Active/Active:
1)The key difference in this variation to Active/Active is that the data centers do not share application state and, if possible, there is no sharing of application data -- or it is at least minimized, if it can't be avoided altogether. For this to work, you need to provide affinity for requests to a specific data center, which is best accomplished with a network switch that distributes the load to the data centers (which, naturally, means it doesn't reside in either data center).
2)is the most complex topology to implement; to do so requires a sizable investment in suitable network capacity between the data centers.
Source : http://www.ibm.com/developerworks/websphere/techjournal/0707_col_alcott/0707_col_alcott.html
Saturday, December 28, 2013
Enable Websphere ( WAS ) Admin Console security with Standalone Ldap Registry
1)I have installed openDS as standalone ldap server and Created a primary adminstrataor user webservicesm in openDS Direct server .

2) websphere provides a security wizard to set up the security .
Login into was admin console and go the the below navigation in let side panel
security ---> Global security ---> securiry configuration Wizard
3) Click on the securiry configuration Wizard button.
4) Now you will be on Specify extent of protection , Leave the screen option set as default and Click on NEXT button .

5) Here you will select which type of repository you wish to use . select the Standalone LDAP Registry and Click on NEXT button .
6))provide primary administrator user name as webservicesm created in step-1 and ldap server config details .
7)Summary page of ldap configuration and click on FINISH Button 8)save the configuration and restart the server
9)Login in Was admin console with webservicesm Standalone Ldap Registry user .
Enable Websphere ( WAS ) Admin Console security with Local Operating System
1)Create a local user as show below in windows MyComputer-->rightClick--->Manage--->Local Users and Groups --->users--->rightClick--->New User 2) websphere provides a security wizard to set up the security . Login into was admin console and go the the below navigation in let side panel security ---> Global security ---> securiry configuration Wizard 3) Click on the securiry configuration Wizard button. 4) Now you will be on Specify extent of protection , Leave the screen option set as default and Click on NEXT button . 5) Here you will select which type of repository you wish to use . select the Local Operating System and Click on NEXT button . 6)provide primary administrator user name as webservicesm created in step-1 . 7)summary page to check the configuration and click the FINISHbutton
9)Login in Was admin console with webservicesm Local operation system user .
Enable Websphere ( WAS ) Admin Console security with Standlone Custom Registry
1) websphere provides a security wizard to set up the security .
Login into was admin console and go the the below navigation in let side panel
security ---> Global security ---> securiry configuration Wizard ---> Click on the securiry configuration Wizard button. 2) Now you will be on Specify extent of protection , Leave the screen option set as default and Click on NEXT button .
3) Here you will select which type of repository you wish to use . select the standlone custom registry and Click on NEXT button .
4)Now we need to create a folder called fileRegistry under and create a files under fileRegistry folder as user.props and group.props .
"user.props" file content as below:
webservicesm:webservicesm:101:101:Websphere Administrator
"group.props" file content as below:
admins:101:webservicesm:Administrative group
5)In configure standalone Custom Registry page type webservicesm in the primary admininstrative user name and two propertiles shown as below screen shot .
Properties file to point
usersFile :WAS_HOME/fileRegistry/user.props
groupsFile :WAS_HOME/fileRegistry/group.props
After pointing the above properties click on NEXT button
6)Save the Configuration changes .
7) Login in admin console with webservicesm user and pasword updated in step 5
Login into was admin console and go the the below navigation in let side panel
security ---> Global security ---> securiry configuration Wizard ---> Click on the securiry configuration Wizard button. 2) Now you will be on Specify extent of protection , Leave the screen option set as default and Click on NEXT button .
3) Here you will select which type of repository you wish to use . select the standlone custom registry and Click on NEXT button .
4)Now we need to create a folder called fileRegistry under
6)Save the Configuration changes .
7) Login in admin console with webservicesm user and pasword updated in step 5
Enable Websphere admin console security
There are four types of registries in WAS to enable admin console security as below :
1)Standalone Ldap Registry : LDAP defined users and groups reguires for LDAP configuration
Please go through the below link to enable was admin security using Standalone Ldap Registry http://jeeservers.blogspot.in/2013/12/blog-post_28.html
2)Local Operating System :Specifies the Registry with Local Operation System >/br>
Please go through the below link to enable was admin security using Local Operating System http://jeeservers.blogspot.in/2013/12/enable-websphere-was-admin-console.html
3)Standalone Custom registry:Custom registry based on java code implementation
Please go through the below link to enable was admin security using Standalone Custom registry http://jeeservers.blogspot.in/2013/12/was-admin-security-with-standlone_28.html
4)Federated Repositories:Managing users and grooups across multiple respositories using a virtual realm
Thursday, December 26, 2013
WebSphere Application Server Profiles V7
Types of profiles : The WebSphere Application Server installation process simply lays down a set of core product files required for the runtime processes. After installation, you need to create one or more profiles that define the runtime to have a functional system. The core product files are shared among the runtime components defined by these profiles.
1)Application server profile
2)Deployment manager profile
3)Custom profile
4)Cell profile
5)Administrative agent profile
6)Job manager profile
Application server profile : The application server profile defines a single standalone application server .
The profile consists of one cell, one node, and one server
The server has a dedicated administrative console.
Deployment manager profile : The deployment manager profile defines a deployment manager in a distributed server environment. Although you can conceivably have the Network Deployment package and run only standalone servers
A cell for the administrative domain
A node for the deployment manager
A deployment manager with an administrative console
No application servers
WebSphere Application Server V7: Working with Profiles on Distributed Systems
After you have the deployment manager, you can:
Federate nodes built either from existing application server profiles or custom profiles.
Create new application servers and clusters on the nodes from the administrative console.
Custom profile : A custom profile is an empty node, intended for federation to a deployment manager. This type of profile is used when you build a distributed server environment. You use a custom profile for these purposes:
1. Create a deployment manager profile.
2. Create one custom profile on each node on which you will run application servers.
3. Federate each custom profile to the deployment manager, either during the custom profile creation process or later by using the addNode command.
4. Create new application servers and clusters on the nodes from the administrative console.
Cell profile :
Cell profile is actually a combination of two profiles: a deployment manager profile and an application server profile. The application server profile is federated to the cell. The deployment manager and application server reside on the same system. This type of profile lets you get a quick start with a distributed server environment and is especially useful for test environments that typically have all nodes on one test system.
Administrative agent profile:
An administrative agent profile is created on the same node as the standalone servers and can only manage nodes on that server. The node configuration for each standalone server is totally separate from any other servers on the system, but it can be managed using the administrative console on the administrative agent.
Job manager profile(New in V7): The job manager is a new server type that was added to support flexible management. A job manager is defined by a job manager profile.
To participate in flexible management, a standalone application server first registers itself with the administrative agent. The administrative agent must then register the node for the application server with the job manager. If a deployment manager wants to participate in an environment controlled by a job manager, the deployment manager registers directly with the job manager; no administrative agent is involved in this case.
The main use of the job manager is to queue jobs to application servers in a flexible management environment. These queued jobs are pulled from the job manager by the administrative agent and distributed to the appropriate application server or servers.
Subscribe to:
Posts (Atom)












