Posts

Install Jenkins Using Chef on Redhat OS

On the Workstation Step1: Goto the repository location -- /root/chef-repo/cookbook knife cookbook create jenkins The command will create these directories. drwxr-xr-x 10 root root 4096 Dec  2 12:38 . drwxrwxrwx  5 root root 4096 Dec  2 10:58 .. drwxr-xr-x  2 root root 4096 Dec  2 00:16 attributes -rw-r--r--  1 root root  455 Dec  2 00:16 CHANGELOG.md drwxr-xr-x  2 root root 4096 Dec  2 00:16 definitions drwxr-xr-x  3 root root 4096 Dec  2 00:16 files drwxr-xr-x  2 root root 4096 Dec  2 00:16 libraries -rw-r--r--  1 root root  309 Dec  2 10:57 metadata.rb drwxr-xr-x  2 root root 4096 Dec  2 00:16 providers -rw-r--r--  1 root root 1456 Dec  2 00:16 README.md drwxr-xr-x  2 root root 4096 Dec  2 12:33 recipes drwxr-xr-x  2 root root 4096 Dec  2 00:16 resources drwxr-xr-x  3 root root 4096 Dec  2 00:16 templates Step2: Open the defaul...

Aix Interview Commands

top/topas nmon crontab, nslookup, ifconfig NMON: nmon is a popular system monitoring tool for AIX and Linux. nmon can be recorded in online and capture mode. Use this command to collect the nmon data, and move the generated file to the Windows to analyze the data. command: nmon -s 30 -t -f  -s - intervals -t - include top process -f - save to file This command will be executed the as a background process and to find that  ps -ef | grep nmon Once after the sufficient data is collected, kill the process kill -9 Now FTP the file to windows, and this will be executed at the same location now download the nmon analyzer from  http://www.ibm.com/developerworks/aix/library/au-nmon_analyser/ and extract the statistics  Detailed Explanation: Please use: https://www.youtube.com/watch?v=qNIBbw9RhGY TOPAS: Topasrec can collect topas -C type data & this can be analysed by Excel for graphing Example of use: Collecting...

Websphere Portal

Image
Here are some the artifacts to consider when creating build and deployment scripts. Portlets Skins Themes Property files NLS Resource Bundles Configuration files that go under /shared/app/config/services Shared Libraries XMLAccess scripts Web Files Portal:  - A set of J2EE application supported by Websphere's web container. - A Container providing services to Java programs called portlets. Portlet is an application, which are deployed on to a page. Page is nothing but a website. Themes -  decides the look and feel of the page (Header and Footer) -                                default.jsp Skin - decides the look and feel of the Portlet. - control.jsp API - Application programming Interface JSR API - is an independent API  We have 2 JSR's  JSR 168 - Supports 5.0, 5.1, 6.0, 6.1 and 7.1 JSR 286 - Introduced from 6.1  Portal Components: ...