In this blog, we will setup mysql cluster using 4 machines having following configuration. mgmt node: 192.168.2.100 host1 data node: 192.168.2.101 host2 data node: 192.168.2.102 host3 sql node: 192.168.2.103 host4 Place your software under /var/tmp on each of the machines. 1. On each of the SQL node and data node , perform the following steps: Check your /etc/passwd and /etc/group files (or use whatever tools are provided by your operating system for managing users and groups) to see whether there is already a mysql group and mysql user on the system. If they are not already exist, then shell> groupadd ...On February 5, 2014 / By vishesh kumar
Q1. What is the difference between kill command and killall command? Answer: Kill use for terminate process with process (PID) while killall commands use for to kill process by name. Example: kill command In this example we are executing the file compute as background process and the kill utility terminating it. $ compute &  259 $ kill 259 + Terminated compute Here 259 is the process id. Example: killall command $ sleep 60 &  23274 $ sleep 50 &  23275 $ sleep 40 &  23276 $ killall sleep $ RETURN  Terminated sleep ...On February 5, 2014 / By
In Linux, user information stored inside /etc/passwd and password in /etc/shadow. In this post, I will discuss password storage in Redhat Enterprise Linux 5.x. On a Linux system where there is a user with name vishesh exist, the entry in /etc/shadow is as below vishesh:$1$QcuAEvix$zeCS9ESc4ch7Xl4CVTlbGC/z.DQKhPjdSzDAstNH5USxakhMyQnhv2IU6fki9qzxHvroh2Rr372GorD1cPCc5.:15866:0:99999:7::: 2nd column of above given line is the password, note that each column is separated with colon(:). 2nd field is as below $1$QcuAEvix$zeCS9ESc4ch7Xl4CVTlbGC/z.DQKhPjdSzDAstNH5USxakhMyQnhv2IU6fki9qzxHvroh2Rr372GorD1cPCc5. 2nd column is further divided into three section where each section is separated by $. First field of 2nd column is 1 which is denoting the fact that password is getting stored ...On February 2, 2014 / By
We know RAID 0 is stripping and RAID5 is stripping with parity. Calculation of parity is a CPU intensive process. RAID5 does block level stripping with distributed parity. Let me explain what does mean by “Block level stripping with distributed parity”. Adding parity adds extra data and therefore requires storage space to store it. Here the question is where this extra parity data get stored. The answer is since RAID 5 is block level stripping. Parity calculation & storage are take place at block level. For example if suppose we having four disk /dev/sda1, /dev/sdb1, /dev/sdc1 and /dev/sdd1 in our ...On February 2, 2014 / By
Hi Friends, As per requirement of our client, recently I compiled latest stable Linux kernel (linux-3.9.7) on my CentOS-6.3. So as usual I wanna share steps for compiling the kernel Below are the steps. Please follow if you also want to do the same. Step 1) Download latest stable Linux Kernel from http://kernel.org/ and untar the package. [root@localhost ~]# cd /usr/src/ [root@localhost src]# wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.9.7.tar.xz [root@localhost src]#tar -xvf linux-3.9.7.tar.xz step 2) Choose appropriate Module [root@localhost src]# cd linux-3.9.7 [root@localhost linux-3.9.7 ]# make menuconfig Note: This will show kernel configuration screen . Navigate and deselect things (drivers) you do not need. ...On February 2, 2014 / By
I thought the program, the instructor, and the presentation were excellent…It is because of you all that I am happy with my [career] and place of employment.
Thanks again for all of your help with our practice this past year. You have really helped turned the staff around. I am very proud of their growth and success, and I could not have done that without your help!