Posts

Showing posts from January, 2018

IBM WebSphere Application Server Profiles Management (Creation & Deletion of profiles)

Image
Useful link to understand on IBM WebSphere Application Server Profile https://www.slideshare.net/saxena_knp/ibm-websphere-application-server-types-of-profiles How to Create and Delete WAS Profiles ? To create Stand Alone Profile: [root@oc1660108063 bin]# pwd /data/ibm/WebSphere/AppServer/bin [root@oc1660108063 bin]# ./manageprofiles.sh -create -profileName AppSrv01 -profilePath /data/ibm/WebSphere/AppServer/profiles/AppSrv01 -templatePath /data/ibm/WebSphere/AppServer/profileTemplates/default To Delete Stand Alone Profile:   Note: Stop the WAS instance before executing the below command.   [root@oc1660108063 bin]# pwd /data/ibm/WebSphere/AppServer/bin [root@oc1660108063 bin]# ./manageprofiles.sh -delete -profileName AppSrv01   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Setup a Forward Proxy using IBM HTTP Server

Image

Jboss EAP 6.2 to 6.3 Upgradation

Steps: Download the Jboss EAP 6.3 zip file. Copy Jboss EAP 6.3 zip file into /users/appuser/ (Share location) Extract the EAP 6.3 zip file into /usr/local/ Take backup EAP 6.2 folder which is has previous version stop the server # /etc/init.d/jboss-as stop Copy domain, standalone and modules directories from EAP 6.2 to EAP 6.3. $ cp /usr/local/jboss-eap-6.2/domain /usr/local/jboss-eap-6.3/ $ cp /usr/local/jboss-eap-6.2/standalone /usr/local/jboss-eap-6.3/ $ cp /usr/local/jboss-eap-6.2/modules /usr/local/jboss-eap-6.3/ If any changes made to the bin directory of the previous installation jboss-eap 6.2 and make the equivalent modifications to the new directory of jboss-eap-6.3. $ cp /usr/local/jboss-eap-6.2/bin/domain.conf /usr/local/jboss-eap-6.3/bin/ $ cp /usr/local/jboss-eap-6.2/bin/init.d /usr/local/jboss-eap-6.3/bin/ Start the server and check the version upgradation. # /etc/init.d/jboss-as start

JBOSS EAP 6.3 INSTALLATION & Configuration

To represent the user add the following to the server-identities definition <secret value="dWF0cml56jAeNF8=" /> JBOSS EAP 6.3 INSTALLATION & Configuration: HomePath: /usr/local/jboss/ 1. Download the jboss-eap-6.3.0.zip from Red hat portal 2. Unzip the file to /usr/local $ unzip jboss-eap-6.3.0.GA.zip Jboss will be installed in /usr/local $ cd /usr/local/jboss-eap-6.3/bin 3. Adding the users ,these step is common for both domain and standalone mode. $ ./adduser.sh # it will ask which type of user you want for Management User select a What type of user do you wish to add? a) Management User (mgmt-users.properties) b) Application User (application-users.properties) (a): a Enter the details of the new user to add. Using realm 'ManagementRealm' as discovered from the existing property files. Username : master Password : # give user name and password for management user 4. Adding groups What grou

Apache Tutorials for Beginners

External Link - https://www.guru99.com/apache.html This is Complete Apache tutorials for beginners. In this tutorial, you will learn- Install and Download Apache What is Apache? How to install Apache Install Apache on Linux Platform Install Apache from Source What is Virtual Host? Types of Apache Virtualhost Name-based Virtual Host IP-based Virtual host How to Run PHP/Ruby with Apache? What Apache needs to Run Php File? Php handlers in Apache How to run Ruby with Apache How to Secure Apache Web Server? Hiding Apache version and OS information Disable Directory Listing Disabling unnecessary modules Restricting Access to files outside the web root directory Using mod_evasive to rebutting the DoS attack Using mod_security to enhance apache security Limiting request size Apache Log Format Available Apache Directives Types of Apache Log Format Common Log Format Combined Log Format

How to Generate and Analyse WebSphere Thread Dump?

Image
As a WebSphere administrator, you should be aware of taking thread dumps and tool to analyze them. Thread dumps are often needed to diagnose the application performance issue like deadlocks, hung threads, and bottlenecks in Java threads. Taking Thread Dumps in WebSphere It’s recommended to take multiple thread dumps in the interval of 5-8 seconds. You can use any of the following methods to generate it. 1. Using wsadmin.sh Login into WAS Server Go to profile and bin folder Execute wsadmin.sh file [root@localhost bin]# ./wsadmin.sh WASX7209I: Connected to process "dmgr" on node localhostCellManager01 using SOAP connector; The type of process is: DeploymentManager WASX7029I: For help, enter: "$Help help" wsadmin> Set JVM name in a variable set jvm [$AdminControl completeObjectName type=JVM,process= server1 ,*] Note:   server1  is for example. Change this to your actual JVM name. wsadmin> set jvm [$AdminControl completeObjectName type

How to create (SSL) Self Signed certificate for IBM HTTP Server ?

Image
1. Start the IHS instance: 2. Access the WebServer from Web Browser: Hit the URI - http://www.ibmlab.com/ Note: URI is not secured with SSL 3. To create self signed certificate:   4. Edit the httpd.conf file with below settings:   5. Start the IHS Instance:   6. Access the WebServer from Web Browser: Hit the URI - https://www.ibmlab.com/ Note: URI is secured with SSL   GOOD you are now successfully created the self signed certificate for IBM HTTP Server, now the site is secured with SSL. Useful Link - https://www-01.ibm.com/software/webservers/httpservers/doc/v1312/ibm/9atikeyu.htm

IBM Installation Manager Installation through GUI & CLI

Image
WAS Trail Free Download - https://developer.ibm.com/wasdev/downloads/#asset/WAS_traditional_for_Developers Installation of Installation Manager for Linux in GUI and CLI/Silent Mode Step 1: Got to IM package location and execute the command ./install Step 2: Click Next Step 3: Accept and click Next Step 4: Provide the installation location path were you want to install the Installation Manager then click Next Step 5: Review the summary information and then click Install Step 6: Installation Manager installation is completed. Step 7: Check Installation Manager is installed in the given installation Path. Good You have successfully completed the installation of IBM Installation Manager through GUI mode. Let see how to install in CLI/silent mode. To install in silent mode execute the below command from IM package directory. ./installc -acceptLicense -installationDirectory /data/ibm/InstallationManager/eclipse Un-Installation of Installation M