Key Tool commands Keystores and truststores are repositories that contain cryptographic artifacts like certificates and private keys that are used for cryptographic protocols such as TLS. Keystore: A keystore contains personal certificates, plus the corresponding private keys that are used to identify the owner of the certificate. Truststore: A truststore contains the signer certificates (also known as certificate authority certificates) which the endpoint trusts. A signer certificate contains a public key, which is used to validate personal certificates. By installing the server’s signer certificate into the client's truststore, you are allowing the client to trust the server when it establishes a TLS connection. The same principle is true for a server to trust a client when TLS client authentication is enabled. Generate Key store and self signed in one command : keytool -genkey ...
Posts
- Get link
- X
- Other Apps
Reason Codes Success Response: 200 – OK: The standard HTTP response for successful HTTP requests. In another way, the web server will return 200 when requested content is served successfully. 202 – Accepted: The server has accepted your request and yet to process them. 206 – Partial Content: Only partial content is delivered due to the range header sent by a client like wget. Redirection Response: 301 – Moved permanently: Your requested page has been moved permanently to a new location. This instructs search engine bot to crawl new location. 302 – Moved temporarily: Your requested is served from a different location but that is temporary arrangement. This instructs search engine bot to crawl the original location. 305 – Use proxy: The requested resource is only available through a proxy. That means you must use a relevant proxy to get the requested page successfully. 304 – Not modified: Usually when cache...
IBM WebSphere - Synchronize a node (syncNode)
- Get link
- X
- Other Apps
IBM WebSphere - Synchronize a node (syncNode) Before we get into synchronization, let's talk about nodes and the master configuration. The master configuration is a collection of XML files that contain all sorts of information about a cell, such as the security settings and the applications in the cell. A node contains one or more WebSphere application servers. When a managed nodes is federated into the dmgr, the node needs to be synchronized with the master configuration so that the node is using the dmgr configuration. The synchronization is always from Dmgr to Nodes and it never happens vise versa. If you made any changes from the node side it will be cleared during next synchronization process. Let's consider a common example. You make some change in the WebSphere admin console, and you are presented wit the Save option. Selecting save updates the master configuration. This will cause the node to be out of sync with the master configuration. To know if a node is synchroni...
Monitoring Policy on Websphere Application Server Process
- Get link
- X
- Other Apps
Monitoring Policy on Websphere Application Server When ever JVM goes down or unreachable or JVM ran into OOM( Out of Memory ) ,explicitly user will be notified by Application team or monitoring team till that time Application will be un reachable or down. This will be potentially an impact and this need to have a manual efforts or intervention to start the JVM or Services . To avoid this Websphere has a feature called monitoring policy which will monitor the health of the JVM process by nodeagent and start it when ever JVM goes down or un reachable or ran into OOM. We don't need any manual intervention needed until and unless if Nodeagent also fails to restart the JVM process. In order for the Nodeagent to intervene and automatically restart a failed ap...
Daily usage Linux Commands for Any Middleware Administration
- Get link
- X
- Other Apps
Daily usage Linux Commands for Any Middleware Administration Processes related: ------------------ $ ps -ef | grep <process_name> ----- will show the process ID of the proces $ ps -eaf --> to see the Process ID's $ telnet <hostname> <Port_Number> --> It is used to check whether port(server) is listening or not $ scp -r file_Name username@hostname:path ----- If you want to copy a file from one linux server to another sever $ kill -9 PID ----- Killing an unwanted process $ kill -3 PID ----- Used to take thredDump of the process $ ssh username@servername --> Command used to login to server $ nslookup <host_name> --> Query the nameserver for the IP address of the given HOST optionally using a specified DNS server (To identify the server ip_address by using nslookup command ) $ crontab Minute Hour DayOfMonth Month DayOfWeek (eg: 30 08 10 06 * /home/was/full-backup) ----- Used to scheduled a job on Li...
Backup and Restore of WebSphere Application Server configuration
- Get link
- X
- Other Apps
Backup & Restore of IBM WebSphere Application Server Configuration Backup configuration in WebSphere One of the major activity that we can perform in Websphere as a pre-requisites when ever we intended to perform any major configuration changes like Fix Pack upgrade ,Interim Fix upgrade, JDK upgrade etc. For any mission critical application, taking frequent backups is essential for recovering from severe errors. In the case of WebSphere Application Server, setting up of the application server environment is a demanding task and it is not an easy to repeat the setup if something bad happens. So, its wise to take backups whenever we make the first setup or when we do configuration changes. Depending upon our diskspace availability two types of backups is possible . 1) Full Backup A full backup can be performed by running the ./backupConfig command from the<WAS-ROOT>/bin di...
Websphere Command References
- Get link
- X
- Other Apps
Websphere Commands Here is a quick guide about how to Start and Stop Application Server, Node Agent and Deployment Manager in WebSphere Application Server. Stop Application Server: Go to the /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin folder and run: ./stopServer.sh <Server Name or JVM Name> -user <username> -password <password> Stop Node Agent: Go to the respective profile bin /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin folder and run: ./stopNode.sh -user <username> -password <password> Stop Deployment Manager: Go to the /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin folder and run: ./stopManager.sh -user <username> -password <password> or ./stopServer.sh <DMGR Server Name> -user <username> -password <password> Start Deployment Manager Go to the /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin folder and run: ./startManager.sh or ...