Weblogic Lab Guide

Posted on by admin

Middleware Administration tasks Click Here - Click Here - 1. Weblogic Server Installation 1.1 Types of installation 1.2 Installation Prerequisites 1.3 Installation Issues 1.4 Different versions of Weblogic Server installation. 2.Weblogic Server concepts discussion 2.1 Jar, WAR, EAR, RAR files understanding. 2.2 Domians, AdminServer, Nodenamager, Managed Servers 2.3 JDBC,JMS,SSL 2.4 Clusters,Virtual Host 2.5 Weblogic Server Architecture 3.Various types of Domain creation 3.2 Prerequisites for Domain creation 3.2 Domain creation in different ways 3.3 Domain creation issues 4.Configuring the Clusters and Big picture of clusters 4.1 Understanding of clusters and creation of clusters 4.2 Clusters types 4.3 Cluster Algothm 4.4 Cluster scenarios 4.5 Cluster Architecture 4.6 Case studies on Clusters 4.7 Managed Servers 4.8 Session replication 5. Deploymets 5.1 Under stading of JAR, EAR, WAR, RAR files 5.2 Side by side deployments 5.3 Two phase deoployments 5.4 Java Weblogic.Deployer utility 5.5 WLST/python deployemnts 5.6 Ant Script Deployments 6. 2007 subaru outback 6 cyl repair manual.

Monitoring Concepts 6.1 Monitoring os Servers 6.2 Monitoring os JDBC 6.3 Monitoring os JMS 6.4 Monitoring of Threads 6.5 Monitoring of Applications 7.Middleware Services 7.1 JDBC Concepts 7.2 JMS Concepts 7.3 JMS Server configuration 7.4 JMS Resources 7.5 JMS Queues 7.6 JMS Topics 7.7 Distributed Queues & Topics 7.8 JNDI Concepts 7.9 Persistent Stores 7.10 JMS Bridges 8.Virtual hosts 81 Understanding of the virtual host 8.2 Virtual host creation 8.3 Virtual host scenarios 9. Viewing and Managing log files 9.1 Defining and Configuring Server and Domain Logs 9.2 Understanding of different types of log files 9.3 Understanding of application server log files configuration by using Log4j 9.4 Understanding configuring log filters and logformat 10. Configuring Network channels and Network access Points 11. Using SNMP with Weblogic 12. Secure Socket Layer (SSL) 12.1 Discussion on SSL 12.2 SSL Generation Process for Weblogic 12.3 Keytool commands and certificate creation process 12.4 Discussion on CA Certs - Root, Chain and intermediate certificate 12.5 Different Types of SSL Certificates 12.6 SSL Hand Shake, Cipher Algorithms 12.7 Issues and Trouble shooting 13. Back up and Recovery Options 13.1 Online and Offline Domain Backup 13.2 Offline Domain Recovery 14.

Weblogic Work Managers 15. Weblogic Connectivity with External Application Server 15.1 Weblogic Tuxedo Connectivity configuration 16. Weblogic Startup and Shutdown classes 17. Weblogic Security - LDAP (Embeded LDAP and External LDAP Servers) 17.1 Concepts of Security Realm 17.2 Security Realm creation 17.3 User and groups creation 17.4 Policy and Roles creation 18.Applying the Weblogic Patches. 18.1 Installation And applying the Patches 18.2 Understanding of the BEA Smart Update Tool 18.3 Understanding of Opatch Utility 19. Performance Tunning Techniques 19.1 Understanding of the Various Types of JVM's 19.2 JVM Algorithms 19.3 Performance tunning of the JVM's 19.4 JMS and JDBC Performance Tunning.

19.5 Weblogic Server Performance Tunning Topics 20. Trouble shooting Issues 20.1 Weblogic Trouble Shooting Real time Issues and solutions 20.2 Discussion on Top most Middleware issues. Thread Dump And Heap Dump Analysis 21.1 Analysis of thread dumps and taking of thread dupms 21.2 Samurai tool 21.3 Heap Dump analysys and GC 22. Weblogic Up gradation 22.1 Weblogic Upgrade from one version to another version 22.2 Upgrade weblogic JDK 23 Web Server Concepts (Apache) 23.1 Apache Installation 23.2 Configuration 23.3 Apache Commands 23.4 SSL in Apache 23.5 Load Balancing in Apache 23.6 Integration Apache with Weblogic 23.7 URL Redirection in Apache 24. IBM Websphere MQ 25. Unix Basic Commands 26. Shell scripting 27.

Weblogic Lab Guide

Perl Scripting 28. WLST (Weblogic Scripting Tool) 29. ITIL Concepts and Production Environment methodologies 29.1 Change Management 29.2 Incident Management 29.3 Problem management 29.4 Release and Deploy Management 29.5 Real Time Tools - (BMC Remedy) 30. Tools and Usage 30.1 Putty and WINSCP Tools 30.2 Jprofiler 30.3 Samurai 30.4 Eclipse MAT. Step 2) Exact the downloaded jdk file to the directory where you want to install java.

I have extracted under /home/oracle cd /home/oracle gunzip jdk-8u161-linux-x64.tar.gz tar -xvf jdk-8u161-linux-x64.tar Step 3) Setup JAVAHOME After the extraction you should see the extracted version /home/oracle/jdk1.8.0161 Go to the user home directory cd update the.bashprofile vi.bashprofile - if -f /.bashrc ; then. /.bashrc fi # Get the aliases and functions # User specific environment and startup programs JAVAHOME=/home/oracle/jdk1.8.0161 PATH=$PATH:$JAVAHOME/bin export PATH - Restart the Unix terminal or execute.bashprofile for setting up JAVAHOME variable. Verify the java version by executing the following command. oracle@OracleLinux6 $ java -version java version '1.7.021' Java(TM) SE Runtime Environment (build 1.7.021-b11) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode) Step 4) Download and install Apache tomcat application server. Download the tomcat version from the following site: I have selected the highlighted version for my installation. Step 6) Copy the jenkins.war file to the webapp directory and restart tomcat instance for deployment. Cp /home/oracle/Downloads/jenkins.war /home/oracle/apache-tomcat-8.5.30/webapps/ oracle@OracleLinux6 webapps$ ls -rlt total 72924 drwxr-x-.

3 oracle oracle 4096 Apr 11 21:09 ROOT drwxr-x-. 5 oracle oracle 4096 Apr 11 21:09 manager drwxr-x-. 5 oracle oracle 4096 Apr 11 21:09 host-manager drwxr-x-.

6 oracle oracle 4096 Apr 11 21:09 examples drwxr-x-. 14 oracle oracle 4096 Apr 11 21:09 docs -rw-rw-r-. Bell Labs’ Ken Thompson developed UNIX in 1969 so he could play games on a scavenged DEC PDP-7. With the help of Dennis Ritchie, the inventor of the “C” programing language, Ken rewrote UNIX entirely in “C” so that it could be used on different computers.

In 1974, the OS was licensed to universities for educational purposes. Over the years, hundreds of people added and improved upon the system, and it spread into the commercial world. Dozens of different UNIX “flavors” appeared, each with unique qualities, yet still having enough similarities to the original AT&T version.

All of the “flavors” were based on either AT&T’s System V or Berkeley System Distribution (BSD) UNIX, or a hybrid of both. Then came the GUIs. Apple’s Macintosh operating system and Microsoft’s Windows operating environment simplified computing tasks, and made computers more appealing to a larger number of users. UNIX wizards enjoyed the power of the command line interface, but acknowledged the difficult learning curve for new users.

The Athena Project at MIT developed the X Windows Graphical User Interface for UNIX computers. Also known as the X11 environment, corporations developed their own “flavors” of the UNIX GUIs based on X11. Eventually, a GUI standard called Motif was generally accepted by the corporations and academia. Linus Torvalds had a dream.

He wanted to create the coolest operating system in the world that was free for anyone to use and modify. Based on an obscure UNIX flavor called MINIX, Linus took the source code and created his own flavor, called Linux. Using the power of the Internet, he distributed copies of his OS all over the world, and fellow programmers improved upon his work. In 1999, with a dozen versions of the OS and many GUIs to choose from, Linux is causing a UNIX revival. Knowing that people are used to the Windows tools, Linux developers are making applications that combine the best of Windows with the best of UNIX. UNIX Principles.

Df -kh This command is used to find disk space of the file system Kilo bytes in human Syn:df -kh root@oraclelinux # df -kh It displays diskspace of all file systems df -a: Syn:df -a root@oraclelinux # df -a Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 82490 5% / proc 0 0 0 - /proc sysfs 0 0 0 - /sys devpts 0 0 0 - /dev/pts tmpfs 890204 0 890204 0% /dev/shm none 0 0 0 - /proc/sys/fs/binfmtmisc df -i This command is used to find disk space in Inodes,I used, Ifree,I use Syn:df -i. root@oraclelinux # df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda1 52 3% / tmpfs 222551 1 222550 1% /dev/shm du: This command is used to find disk usage of the file System.

Weblogic Lab Guide

Syn: du root@oraclelinux # du 4./.local/share 8./.local 8./.gconfd 4./dir2 4./.kde 4./.gconf 4./dir1 140 du -sh dir It displays dir directory size in human readable format root@oraclelinux # du -sh dir1 4.0K dir1 du -sh It displays total size of the directory in human readable format Syn: du -sh. Process Related Commands ps: This is used for to show current running process. Syn: ps root@oraclelinux # ps PID TTY TIME CMD 15343 pts/2 00:00:00 bash 15575 pts/2 00:00:00 ps ps -aux: UID PID PPID C STIME TTY TIME CMD root 1 0 0 Jan30?

00:00:02 /sbin/init root 1 0.0 0.0? Ss Jan30 0:02 /sbin/init root 2 0.0 0.0 0 0?

S Jan30 0:00 kthreadd root 3 0.0 0.0 0 0? S Jan30 0:00 ksoftirqd/0 root 5 0.0 0.0 0 0? Ps -ef e=every process, f = full-format listing root@oraclelinux # ps -ef This command is used to see every process in the system using BSD Syntax Syn:ps -aux USER PID%CPU%MEM VSZ RSS TTY STAT START TIME COMMAND It is used find the cpu usage, memory usage, uptime, load average and process states Syn:Top top - 18:42:13 up 1 day, 23:39, 3 users, load average: 0.13, 0.04, 0.05 PID USER PR NI VIRT RES SHR S%CPU%MEM TIME+ COMMAND nohup: This command will execute the process even if you logout from the System. Syn: nohup cmd & top: Tasks: 94 total, 1 running, 93 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1780408k total, 482940k used, 1297468k free, 93720k buffers Swap: 20970492k total, 0k used, 20970492k free, 168220k cached 16178 root 20 0 98.1m 4736 3728 S 0.3 0.3 0:01.61 sshd 1 root 20 0 1224 S 0.0 0.1 0:02.46 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.12 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.08 ksoftirqd/0 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H. COMMAND - Name of the command Ex: nohup sleep 300 & KILL kill -9 pid To kill multiple process kill -9 pid1 pid2 pid3 pid4 root@oraclelinux # nohup sleep 600 & 1 16577 root@oraclelinux # ps -ef grep sleep root 5 0 19:15 pts/0 00:00:00 sleep 600 root 5 0 19:15 pts/0 00:00:00 grep sleep root@oraclelinux # kill -9 16577 root@oraclelinux # ps -ef grep sleep root 5 0 19:15 pts/0 00:00:00 grep sleep 1+ Killed nohup sleep 600 Network Related Commands netstat ( network statistics): This command is used to display the all Ip- address and port number. Syn: netstat This is used to connect the remote servers.

Syn:telnet ip-address port ftp ( file transfer protocol ) This is used to transfer the files in one system to another system. Syn: ftp Ip-address. Ping: This is used to cheek the network connectivity from source system to destination system. Syn:ping Ipaddress C: Users pavanping 192.168.224.129 Pinging 192.168.224.129 with 32 bytes of data: Ping statistics for 192.168.224.129. How to delete files which are older than 15 days.type f -mtime +20!

-name '.log' list ls -lrt $( find / -name sample.txt 2.Display the numbers in sorted order sort -nu 3.Display the updated lines in file tail -f filename 4.How to zip a Directory gzip -r /hom/bea/app 5.How to kill a prosess. Kill -9 pid 6.Display all java process in unix. Ps -ef grep java 7.How to delete 10 lines in vi editor. 10dd 8.How to search a string and replace tin vi editor.:'%s/old string /new string/ gi' 9.How to search a string in vi editor from bottom to top.?string name 10.How to insert a line above the current line in vi editor. Esc+o 11.How to rename a file. Mv file1 file2 12. Copy the content one directory to another directory.

Cp -r dir1/file1 dir2/file2 13. How can delete blank lines in directory. Grep -v '^$' sample temp mv temp sample 14.How can replace astring in unix.

Sed 's/oldstring/newstring/g' filename 15.Syntax for zip and unzip afile. Gzip filename guzip filename.gz 16.How can display top 10 disk usage files. Du -sh. sort -nr head -10 17.How to retrieve a field in a file. Cut -f 1,2 stud. 18.what is command search a string in a file. Grep 19).How to go to the end of the line in Vi editor?

G 20).Copy 10 line in vi editor? 10yy 21).How to go to insert mode in vi editor? Esc+i 22).How to search a string in a file(filename=sample,string=weblogic)?

Grep weblogic sample 23).How to copy file from one unix to other unix system and syntax (file= sample.txt, target host=192.168.11.128,target file path=/home/bea)? Scp -rp sample.txt username@192.168.11.128:/home/bea 24).Copy file from path to other tree structure is given below? 25).How to find out CPU utiligation?

Top 26).How to execute a script using nohup (script name=startweblogic.sh)? Nohup./startWeblogic.sh & 27).Which command is used to search and replace a string? Sed 28).wich command is used to search a string in multiple files? Fgrep A) /weblogic 2)how to save and quit from vi Editor's?

A)wq 3)what are the Advantages of nohup command? A)nohup will execute the process if you layout system. 4)Differance b/w the ping and tracert? Traceroute takes advantage of TTL, time to live, to determine the address of each hop between souce and destination. Each router decrements TTL before forwarding it, this mechanism is designed to prevent packets from circulating endlessly. When a router is unable to decrement TTL it sends a message back to the originator. This provides the address of each router.

With that knowledge a ping request is sent to each other. 5)How to execute unix commands in vi?

Fairview lab guide

Unix command 6)tar dir1 dir2 dir3 and newdir? A)syn:tar -cvf newdir.tar dir1 dir2 dir3. 7)How to display the ipaddress and portnumber? A)netstat -anp 8)how to delete directory with recursion and force? A)rm -rf filename. 9)How to Open a file with page to page? A)more filename 10)How to Hide a file (file name=tuxedo)?

A)mv tuxedo.tuxedo 11)How to do undo in vi Editor's? A)u 12)How to goto 100 Line in Vi Editor's? A)100L 13)How to display last 100 Line from a file? A)tail -100 filename 14)How to Reterive the fields from a file? A)cut 15)How to zip a directory?(/home/directory)? A)gzip -r /home/directory 16)How to go to end of the line in Vi?

A)G 17)Display the directiory count in current dir? A)ls -lrt!wc -l 18)How to display all files ending with 'log'? 19)How to appeand data to the existing file? A)catfilename 20)How to find out the diskspace of the fileSystem? A)df -sh 21)write A syntax for the scp Commands? A) Scp filename root@ipaddress:filename.

22)How to display the updated lines in file? A)tail -f filename. 23)How to display the ipaddress and portnumber? A)netstat -anp 24)which command is used to connect to the remote server? A)telenet ipaddress. 25)How to repalce and String in vi Editor's? A) sed%s/oldstring/newstring/g 25)How to repalce and String in unix?

A) sed s/oldstring/newstring/g filename 26)How to display top 10 lines from a file? A) head -10 filename. 27)syntax for tar and untar a file? A)tar -cvf filename.tar file1 file2 file3.

Tar -Xvf filename.tar 28)How to display hiddean a file? 29)How to Delete a blank line from a filename? A)grep '^v' sample temp mv temp filename 30)How to display all cuurent running process? A)ps -ef 31)syntax for zip and unzip file?

A)gzip filename. Gunzip filename.gz.