Updated WebSphere Application Server - SOP
Updated WebSphere Application Server - SOP
mv abc 123
mv <old_Path> <New_Path>
rm -f <File_Name>
rm -Rf <File_Name/Directory>
/boot
/root
/opt
/var/
/usr/ etc....
change permissions of a file and ownership of the file
R:4,W:2,X:1 ====>777
7===>OWNER
7===>USER
7====>OTHERS
1.SCP
2.SFTP
SFTP :-
cd /WEBSPHERE/IBM/InstallationManager/eclipse/tools
vim ./disk1/md/repository.xml
findout offeringId
<repository>
<property name='LayoutPolicy' value='P1'/>
<property name='LayoutPolicyVersion' value='0.0.0.1'/>
<property name='RequireContext'
value='EnclosingVolumeRepository:path=..'/>
<offering id='com.ibm.websphere.ND.v85'
version='8.5.0.20120501_1108'>
/WEBSPHERE/IBM/WebSphere/AppServer/bin
DMGR [management/dmgr]
APPLICATION SERVER [default]
CUSTOM PROFILE [managed]
CELL PROFILE [cell]
ADMIN AGENT [management]
JOB MANAGER [manager]
Dmgr Profile
ADMU0306I: Note:
ADMU0302I: Any cell-level documents from the standalone
localhostCell01
configuration have not been migrated to the new cell.
ADMU0307I: You might want to:
ADMU0303I: Update the configuration on the
localhostCell01 Deployment Manager
with values from the old cell-level documents.
ADMU0306I: Note:
ADMU0304I: Because -includeapps was not specified,
applications installed on
the standalone node were not installed on the new cell.
ADMU0307I: You might want to:
ADMU0305I: Install applications onto the localhostCell01
cell using wsadmin
$AdminApp or the Administrative Console.
AppSrv03
ADMU0306I: Note:
ADMU0302I: Any cell-level documents from the standalone
localhostCell01
configuration have not been migrated to the new cell.
ADMU0307I: You might want to:
ADMU0303I: Update the configuration on the
localhostCell01 Deployment Manager
with values from the old cell-level documents.
ADMU0306I: Note:
ADMU0304I: Because -includeapps was not specified,
applications installed on
the standalone node were not installed on the new cell.
ADMU0307I: You might want to:
ADMU0305I: Install applications onto the localhostCell01
cell using wsadmin
$AdminApp or the Administrative Console.
Custom01
[wasadmin@localhost bin]$ ./addNode.sh 192.168.121.140
19026
ADMU0116I: Tool information is being logged in file
/WEBSPHERE/IBM/WebSphere/AppServer/profiles/C
ustom01/logs/addNode.log
ADMU0128I: Starting tool with the Custom01 profile
CWPKI0308I: Adding signer alias "CN=localhost, OU=Root
Certifica" to local
keystore "ClientDefaultTrustStore" with the following
SHA digest:
32:A0:13:6D:62:81:6C:E4:84:AC:04:59:F4:85:88:0E:F
3:FA:43:AA
PuTTY X11 proxy: unable to connect to forwarded X server:
Network error: Connection refused
Realm/Cell Name: <default>
Username: wasadmin
Password:
CWPKI0309I: All signers from remote keystore already
exist in local keystore.
ADMU0001I: Begin federation of node localhostNode05 with
Deployment Manager at
192.168.121.140:19026.
ADMU0009I: Successfully connected to Deployment
Manager Server:
192.168.121.140:19026
ADMU0507I: No servers found in configuration under:
/WEBSPHERE/IBM/WebSphere/AppServer/profiles/C
ustom01/config/cells/localhostCell05/nodes/
localhostNode05/servers
ADMU2010I: Stopping all server processes for node
localhostNode05
ADMU0024I: Deleting the old backup directory.
ADMU0015I: Backing up the original cell repository.
ADMU0012I: Creating Node Agent configuration for node:
localhostNode05
ADMU0014I: Adding node localhostNode05 configuration to
cell: localhostCell01
ADMU0016I: Synchronizing configuration between node and
cell.
ADMU0018I: Launching Node Agent process for node:
localhostNode05
ADMU0020I: Reading configuration for Node Agent process:
nodeagent
ADMU0022I: Node Agent launched. Waiting for initialization
status.
ADMU0030I: Node Agent initialization completed
successfully. Process id is:
32982
ADMU0306I: Note:
ADMU0302I: Any cell-level documents from the standalone
localhostCell01
configuration have not been migrated to the new cell.
ADMU0307I: You might want to:
ADMU0303I: Update the configuration on the
localhostCell01 Deployment Manager
with values from the old cell-level documents.
ADMU0306I: Note:
ADMU0304I: Because -includeapps was not specified,
applications installed on
the standalone node were not installed on the new cell.
ADMU0307I: You might want to:
ADMU0305I: Install applications onto the localhostCell01
cell using wsadmin
$AdminApp or the Administrative Console.
FixPack Installation
<offering id='com.ibm.websphere.PLG.v85'
version='8.5.5021.20220202_1245'>
‘IHS OfferingId
------------------
<offering id='com.ibm.websphere.IHS.v85'
version='8.5.5021.20220202_1245'>
6.WAS_FixPack:
Offering Id
<offering id='com.ibm.websphere.ND.v85'
version='8.5.5021.20220202_1245'>
7. Go to InstallationManager/eclipse/tools
8.
10.Install ‘IHS_FixPack
11.
ListInstalledPackages verifying
DMGR
Console Url:-
https://192.168.121.140:19024/ibm/console
Click New
Click Next
Application Deployment
Click Next
Click Next
Click Next
Map Contextroots for web modules
Click Next
Click Finish
Go to Application Type
Click WebSphere Enterprise Application
Select the Application and apply start
After starting the Application
We have to access the application via Clustermembers
Error
Tree_Cl02
--------------
http://192.168.121.140:19140/ShoppingCart/
Tree_Cl03
------------
http://192.168.121.140:19160/ShoppingCart/
Tree_Cl05
http://192.168.121.140:19180/ShoppingCart/
Go to Serevers ----Webserver
Click Next
Click Next
Click Finish
Click Review and Sync Changes
Generate and Propagate Plugins
Click Ok
http://192.168.121.140:8082/ShoppingCart/
Data Source Creation
Steps:-
--------
What is a Data Source
--------------------------
1.ORACLE
2.SQL
3.MYSQL
4.DB2
5.DERY BY
i.e. 1521 is ORACLE PORT //ORACLE 11G is the Database
Client//
JDBC, JNDI
Properties: -
-------------
1.Scope
2.DataBase Type
3.Provide
4. Implementation type
Click Next > Summary > Finish > JDBC providers > Save >
JDBC providers > Synchronize changes with Nodes > OK
Additional Properties
Data sources
Properties:
----------
1.Scope :
cells:cropcaptzsfpo_Cell01:clusters:Cropcaptzsfpo_Cluster
URL:jdbc:oracle:thin:@localhost:1521:XE
jdbc:oracle:thin:@192.168.121.1:1521:XE
6.Setup security aliases
7.Summary > Finish > JDBC providers > Oracle JDBC Driver
(XA) > Data sources > Save > JDBC providers > Oracle
JDBC Driver (XA) > Data sources > Synchronize changes
with Nodes > click OK
Success No issues > any errors you will see Node agent Logs
SSL
.KDB
.RDB
.STH
keydatabase .kdb
Steps:
-----
/usr/opt/HTTPServer/
2.go to <IHS_HOME>/bin
OR
Full Name:
URI:http://crl.cacert.org/revoke.crl
KDB Creation
-------------
Definitions:
--------------
#!/usr/bin/perl
my $file=$ARGV[0];
open F, $file;
my $stash;
read F, $stash, 1024;
my @unstash=map {$_^0xf5} unpack ("C*", $stash);
foreach $c (@unstash) {
last if $c eq 0;
printf "%c", $c;
}
print "\n";
total 28K
-rw-r--r--. 1 root root 80 Mar 31 06:57 IHS.kdb
-rw-r--r--. 1 root root 80 Mar 31 06:57 IHS.rdb
-rw-------. 1 root root 129 Mar 31 07:04 IHS.sth
-rwxrwxrwx. 1 root root 204 Mar 31 07:20 unstash.pl
-rw-r--r--. 1 root root 80 Mar 31 07:37
cropcaptzsfpo.kdb
-rw-r--r--. 1 root root 129 Mar 31 07:37
cropcaptzsfpo.sth
-rw-r--r--. 1 root root 80 Mar 31 07:37 cropcaptzsfpo.rdb
[root@cropcaptzsfpo SSL]#
Referenced Url:
---------------
https://d1wl9nui6miy8.cloudfront.net/media/965760/wp-a-
guide-to-password-use-in-websphere-application-server.pdf
Step 2:
/WEBSPHERE/IBM/WebSphere/AppServer/profiles/
Dmgr01/SSL/
total 12K
-rwxrwxrwx. 1 wasadmin wasadmin 2.5K Aug 8 2022
root_X0F.cer [Root Certificate]
-rwxrwxrwx. 1 wasadmin wasadmin 2.2K Aug 8 2022
CAcert_Class3Root_x14E228.cer [Intermediate
Certificate]
-rwxrwxrwx. 1 wasadmin wasadmin 1.8K Apr 22 23:13
server.cer
[wasadmin@localhost SSL]$
After that Stop all Servers and Sync the Dmgr and start the
Nodeagent and Servers.
Alias:
FileName:
Troubleshooting
For Ex: CPU Utilization is more than 80% taken that process
id and check the server ps -ef|grep 3472
its getting the results later stop the server,Nodeagent
rm -Rf *
2. OOM Issues
Verified the SystemOut.log and SystemErr.logs find out error
I related to OOM
Suppose JAVA.LANG.IO EXCEPTION ----- JAVA HEAP
SPACE
Thread Analyzer
Heap Analyzer
------------------
Scripts
Examples:
To generate a plug-in configuration for all of the clusters in
a cell:
GenPluginCfg -cell.name NetworkDeploymentCell
wsadmin>$AdminConfig save
wsadmin>
[aganes2@localhost bin]$
Memory Management tool
-Djavax.management.builder.initial=
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.port=9000
Application servers > Test_Server > Process definition > Java Virtual Machine
-------------------------Prepared By AMIRINENI
GANESH---------------------------