Re: [CentOS] Optimum Block Size to use

2015-08-19 Thread Jatin Davey
On 8/19/2015 4:17 PM, Leon Fauster wrote: Am 19.08.2015 um 10:24 schrieb John Hodrien j.h.hodr...@leeds.ac.uk: On Wed, 19 Aug 2015, Jatin Davey wrote: Hi All We use CentOS 6.6 for our application. I have profiled the application and find that we have a heavy requirement in terms of Disk

Re: [CentOS] Optimum Block Size to use

2015-08-19 Thread Jatin Davey
On 8/19/2015 1:54 PM, John Hodrien wrote: On Wed, 19 Aug 2015, Jatin Davey wrote: Hi All We use CentOS 6.6 for our application. I have profiled the application and find that we have a heavy requirement in terms of Disk writes. On an average when our application operates at a certain load i

[CentOS] Optimum Block Size to use

2015-08-18 Thread Jatin Davey
Hi All We use CentOS 6.6 for our application. I have profiled the application and find that we have a heavy requirement in terms of Disk writes. On an average when our application operates at a certain load i can observe that the disk writes / second is around 2 Mbps (Average). The block

[CentOS] Bonds Bridge best practices

2015-07-08 Thread Jatin Davey
Hi All I have two bond interfaces namely, bond0 and bond1. bond0 has two ethernet interfaces associated with it and bond1 also has two ethernet interfaces associated with it. Now i create a bridge interface namely br20 (20 being the VLAN) and assign it a IP Address , subnet mask and the

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Jatin Davey
On 7/4/2015 1:32 PM, Jatin Davey wrote: On 7/4/2015 1:07 PM, John R Pierce wrote: On 7/4/2015 12:28 AM, Jatin Davey wrote: My server supports ACPI 4.0 standard , Will that be helpful ? does `init 0` as a root command cause it to gracefully shut down and power off ? thats all the ACPI

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Jatin Davey
On 7/4/2015 12:27 PM, g wrote: On 07/04/15 01:27, Jatin Davey wrote: In case of power failure on this server , how can i make the system to shutdown gracefully so that it unmounts the file-system and cleans up the required buffers. My server does have a battery backup so it will help

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Jatin Davey
On 7/4/2015 1:07 PM, John R Pierce wrote: On 7/4/2015 12:28 AM, Jatin Davey wrote: My server supports ACPI 4.0 standard , Will that be helpful ? does `init 0` as a root command cause it to gracefully shut down and power off ? thats all the ACPI support you need. [Jatin] Yes, init 0

[CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Jatin Davey
Hi I am using the system as shown below. * [root@localhost sbin]# cat /etc/*release LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphi cs-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Red Hat Enterprise Linux

Re: [CentOS] Gracefully powering off system in case of power failure

2015-07-04 Thread Jatin Davey
On 7/4/2015 1:55 PM, John R Pierce wrote: On 7/4/2015 1:02 AM, Jatin Davey wrote: [Jatin] I am still reading through the documentation of my server to find out the battery backup in it. Is there any command within the OS that i can use to find out this information ? I've never heard

[CentOS] VirtIO drivers and CentOS 5.4(Final)

2015-05-06 Thread Jatin Davey
Hi All My guest is a CentOS 5.4 VM: [root@localhost ~]# uname -a Linux localhost 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# cat /etc/*release CentOS release 5.4 (Final) I wanted to know if the virtio drivers on this guest are stable.

Re: [CentOS] VirtIO drivers and CentOS 5.4(Final)

2015-05-06 Thread Jatin Davey
On 5/6/2015 1:18 PM, Leon Fauster wrote: Am 06.05.2015 um 09:33 schrieb Jatin Davey jasho...@cisco.com: My guest is a CentOS 5.4 VM: Best practice: update to the latest OS version: # cat /etc/redhat-release CentOS release 5.11 (Final) [root@localhost ~]# uname -a Linux localhost 2.6.18

[CentOS] Cluster gets stopped

2015-04-24 Thread Jatin Davey
Hi I am using a two node cluster to achieve high availability. I am basically testing a scenario where in if i shutdown my node (node-1) then the other node (node-2) should start functioning like node-1. Currently what i am observing is that the entire cluster gets into Stopped state. Here

Re: [CentOS] Very slow disk I/O

2015-02-02 Thread Jatin Davey
On 2/3/2015 10:44 AM, John R Pierce wrote: On 2/2/2015 8:52 PM, Jatin Davey wrote: So , You dont think that any configuration changes like increasing the number of volumes or anything else will help in reducing the I/O wait time ? not by much. it might reduce the overhead if you use LVM

Re: [CentOS] Very slow disk I/O

2015-02-02 Thread Jatin Davey
On 2/2/2015 10:32 AM, John R Pierce wrote: On 2/1/2015 8:25 PM, Jatin Davey wrote: On 2/2/2015 9:25 AM, John R Pierce wrote: On 2/1/2015 7:31 PM, Jatin Davey wrote: I ran your script and here is the output for it: Start of the Output*** [root@localhost bin]# lsi

Re: [CentOS] Very slow disk I/O

2015-02-02 Thread Jatin Davey
On 2/3/2015 10:00 AM, John R Pierce wrote: On 2/2/2015 8:11 PM, Jatin Davey wrote: disk 252:1 | 0-0-0 | 9XG7TNQVST91000640NS CC03 | Online, Spun Up disk 252:2 | 0-0-1 | 9XG4M4X3ST91000640NS CC03 | Online, Spun Up disk 252:3 | 0-1-1 | 9XG4LY7JST91000640NS CC03 | Online, Spun Up disk 252:4 | 0-1

Re: [CentOS] Very slow disk I/O

2015-02-02 Thread Jatin Davey
On 2/3/2015 11:06 AM, Gordon Messmer wrote: On 02/02/2015 08:52 PM, Jatin Davey wrote: So , You dont think that any configuration changes like increasing the number of volumes or anything else will help in reducing the I/O wait time ? No, because that won't change the number of heads

Re: [CentOS] Very slow disk I/O

2015-02-01 Thread Jatin Davey
On 1/30/2015 9:44 AM, John R Pierce wrote: On 1/29/2015 7:21 PM, Jatin Davey wrote: [root@localhost ~]# lspci | grep RAID 05:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS-3 3108 [Invader] (rev 02) to get info out of those, you need to install MegaCli64 from LSI Logic

Re: [CentOS] Very slow disk I/O

2015-01-29 Thread Jatin Davey
On 1/29/2015 4:50 AM, Gordon Messmer wrote: On 01/28/2015 04:32 AM, Jatin Davey wrote: Could someone point me on how to improve the disk I/O on my server and reduce the wait time on I/O. Start by identifying your disk and controller. Assuming that this is a single SATA disk: # smartctl

Re: [CentOS] Very slow disk I/O

2015-01-29 Thread Jatin Davey
On 1/28/2015 11:07 PM, John R Pierce wrote: On 1/28/2015 4:32 AM, Jatin Davey wrote: I am using RHEL 6.5 on my server. From top command i can see that the processors in my server are spending a lot of time on wait for I/O. I can see high percentage in terms of 30-50% on wa time. Here

Re: [CentOS] Very slow disk I/O

2015-01-29 Thread Jatin Davey
On 1/30/2015 1:53 AM, Gordon Messmer wrote: On 01/29/2015 05:07 AM, Jatin Davey wrote: Yes , it is a SATA disk. I am not sure of the speed. Can you tell me how to find out this information ? Additionally we are using RAID 10 configuration with 4 disks. What RAID controller are you using

[CentOS] Very slow disk I/O

2015-01-28 Thread Jatin Davey
Hi Users I am using RHEL 6.5 on my server. From top command i can see that the processors in my server are spending a lot of time on wait for I/O. I can see high percentage in terms of 30-50% on wa time. Here is the df output about the disk space in my system: ** [root@localhost

[CentOS] CentOS 7 for i686

2014-09-12 Thread Jatin Davey
Hi List Is there going to CentOS 7 for i686 architecture ? If yes , when will it be released ? Thanks Jatin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Balancing IRQs

2014-07-29 Thread Jatin Davey
Hi All I am using the following Linux version for my application: [root@localhost ~]# uname -a Linux localhost.localdom 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Re: [CentOS] Balancing IRQs

2014-07-29 Thread Jatin Davey
On 7/29/2014 12:43 PM, IP wrote: W dniu 2014-07-29 08:16, Jatin Davey pisze: Hi All I am using the following Linux version for my application: [root@localhost ~]# uname -a Linux localhost.localdom 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009

Re: [CentOS] Balancing IRQs

2014-07-29 Thread Jatin Davey
On 7/29/2014 12:02 PM, John R Pierce wrote: On 7/28/2014 11:16 PM, Jatin Davey wrote: When my application is running on the server i can see only one core being used heavily while the other cores are not being used much. My application has a major workload is collecting data from the eth0

Re: [CentOS] Balancing IRQs

2014-07-29 Thread Jatin Davey
On 7/29/2014 12:03 PM, Reindl Harald wrote: Am 29.07.2014 08:16, schrieb Jatin Davey: From the above output i can see that all the interrupts are hitting the cpu0 and thats why it is used more than any other core in the system. Can someone please help me in distributing the interrupts across

[CentOS] Static routing on CentOS

2014-02-25 Thread Jatin Davey
Hi All I have two hosts. Host A and Host B Host A routing table [root@localhost ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 172.29.110.0172.29.109.1255.255.255.0 UG0 00 eth0

[CentOS] Running yum shows errors

2010-07-13 Thread Jatin Davey
Hi I am getting the following errors when i try to use yum to install the net-snmp paclages. [r...@sc1 yum.repos.d]# yum install net-snmp Loaded plugins: fastestmirror Determining fastest mirrors Traceback (most recent call last): File /usr/bin/yum, line 29, in ?

[CentOS] Unable to execute a script , Permission denied

2010-05-25 Thread Jatin Davey
Hi I have a linux box which has CentOS running in it. I logged into the box using root and wrote a script in the /home/proc_threads directory. saved the file and quit. I changed the file permissions such that any user could execute it using the chmod 777 filename command. When i log out and

Re: [CentOS] Unable to execute a script , Permission denied

2010-05-25 Thread Jatin Davey
On 5/25/2010 6:20 PM, Jakub Jedelsky wrote: On 25.5.2010 14:27, Jatin Davey wrote: Hi I have a linux box which has CentOS running in it. I logged into the box using root and wrote a script in the /home/proc_threads directory. saved the file and quit. I changed the file permissions

Re: [CentOS] Unable to execute a script , Permission denied

2010-05-25 Thread Jatin Davey
On 5/25/2010 6:44 PM, Bowie Bailey wrote: Jatin Davey wrote: Here is the script that i am trying to execute as a non-root user: #!/bin/sh ps -C java -o thcount /home/proc_threads/tempfile awk ' { total += $1 } END { print total } ' /home/proc_threads/tempfile here is the output when

[CentOS] Naming of a Java Process in Linux

2010-05-23 Thread Jatin Davey
Hi Not a specific question on CentOS but in general about java processes running on Linux boxes. I have a couple of java processes running on my linux boxes , They basically form a component of a bigger application. My point of interest is to monitor the resource usage of the java processes

[CentOS] Adding Repositories and using yum to download packages

2010-05-12 Thread Jatin Davey
Hi I am using CentOS 5.3 and after installing the OS i scrolled to the /etc/yum.repos.d directory and i could not find any repositories being present there. So i googled a bit on adding the repositories and found the link:

Re: [CentOS] Adding Repositories and using yum to download packages

2010-05-12 Thread Jatin Davey
On 5/12/2010 11:49 AM, John R Pierce wrote: Jatin Davey wrote: Hi I am using CentOS 5.3 and after installing the OS i scrolled to the /etc/yum.repos.d directory and i could not find any repositories being present there. So i googled a bit on adding the repositories and found the link

Re: [CentOS] Adding Repositories and using yum to download packages

2010-05-12 Thread Jatin Davey
On 5/12/2010 1:33 PM, Tom G. Christensen wrote: Jatin Davey wrote: Hi I am using CentOS 5.3 and after installing the OS i scrolled to the /etc/yum.repos.d directory and i could not find any repositories being present there. So i googled a bit on adding the repositories and found

Re: [CentOS] Adding Repositories and using yum to download packages

2010-05-12 Thread Jatin Davey
On 5/12/2010 12:26 PM, John R. Dennison wrote: On Wed, May 12, 2010 at 12:18:59PM +0530, Jatin Davey wrote: I follwed the link that you have given but in it the explanation is given assuming that the Base repo is already present in the /etc/yum.repos.d directory but in my box i dont have

Re: [CentOS] Adding Repositories and using yum to download packages

2010-05-12 Thread Jatin Davey
On 5/12/2010 2:48 PM, John R. Dennison wrote: On Wed, May 12, 2010 at 02:27:56PM +0530, Jatin Davey wrote: [r...@sc-devld-1 yum.repos.d]# yum install net-snmp Loading rhnplugin plugin Loading installonlyn plugin This system is not registered with RHN. RHN support will be disabled

Re: [CentOS] Adding Repositories and using yum to download packages

2010-05-12 Thread Jatin Davey
On 5/12/2010 3:11 PM, John R. Dennison wrote: On Wed, May 12, 2010 at 02:55:49PM +0530, Jatin Davey wrote: [r...@sc-devld-1 etc]# rpm -q centos-release package centos-release is not installed Not CentOS :) Also i found that there is a file named as redhat-release.bak

[CentOS] Total Threads used in a system

2010-04-28 Thread Jatin Davey
Hi I know we can get the total number of processes running in the system using the 'ps -A' command but is it possible to get the total number of threads running in the system ? Is this information exposed using any of the MIB's ? Thanks Jatin ___

[CentOS] Using Wireshark on CentOS without UI

2010-04-22 Thread Jatin Davey
Hi All Yesterday i had installed wireshark on my centos box which does not have the GUI , It is actually a hardened box. I installed the tool using the following command: yum install wireshark After installation i dont know how to proceed further in capturing the packets. I basically want to

Re: [CentOS] Using Wireshark on CentOS without UI

2010-04-22 Thread Jatin Davey
Is the installation of tcpdump similar to wireshark , which is : yum install tcpdump ? How about getting started with it , Any documentation available for it ? Thanks Jatin On 4/22/2010 5:30 PM, James Hogarth wrote: On 22 April 2010 12:57, Jatin Daveyjasho...@cisco.com wrote: Hi All

Re: [CentOS] Using Wireshark on CentOS without UI

2010-04-22 Thread Jatin Davey
Thanks James, I will install it on my box. Thanks for the support. Thanks Jatin On 4/22/2010 5:40 PM, James Hogarth wrote: On 22 April 2010 13:03, Jatin Daveyjasho...@cisco.com wrote: Is the installation of tcpdump similar to wireshark , which is : yum install tcpdump ? How about

Re: [CentOS] Using Wireshark on CentOS without UI

2010-04-22 Thread Jatin Davey
Thanks Michel I would explore more on the tshark usage. Thanks for the support. Thanks Jatin On 4/22/2010 5:31 PM, Michel van Deventer wrote: Hi, Yesterday i had installed wireshark on my centos box which does not have the GUI , It is actually a hardened box. I installed the tool using

[CentOS] Viewing the NTP Server configured

2010-04-15 Thread Jatin Davey
How do i know which NTP server is my linux box contacting to synchronize its time with that of the server ? Thanks Jatin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Viewing the NTP Server configured

2010-04-15 Thread Jatin Davey
Thanks for all the support , i found that i dont have the ntp daemon running on my box which will contact the server. once i have it i could use the support provided. Thanks Jatin On 4/15/2010 2:25 PM, John R Pierce wrote: Jatin Davey wrote: How do i know which NTP server is my linux

Re: [CentOS] Could not retrieve mirror list while using yum command

2010-04-02 Thread Jatin Davey
Thanks Cornel. Thanks Jatin On 4/2/2010 11:22 AM, cornel panceac wrote: 2010/4/2 Jatin Davey jasho...@cisco.com mailto:jasho...@cisco.com Ok, i figured out the issue , Did some google on it and found this useful link on usage of proxy. http://www.cyberciti.biz/faq/linux-unix

Re: [CentOS] Unable to get software using Yum

2010-04-01 Thread Jatin Davey
Thanks John. Actually had to use yum clean all and then used yum to install the net-snmp package and it worked great. Good to go with my testing. Appreciate your help in this regard. Thanks Jatin On 4/1/2010 11:39 AM, John R Pierce wrote: Jatin Davey wrote: http

[CentOS] Could not retrieve mirror list while using yum command

2010-04-01 Thread Jatin Davey
Hi I wanted to download and install the net-snmp package. Usually on my other CentOS boxes i use the following command to do it: yum install net-snmp I was able to successfully install net-snmp on 4 of my CentOS boxes but not on one of them. It reports me the following error message:

Re: [CentOS] Could not retrieve mirror list while using yum command

2010-04-01 Thread Jatin Davey
=$releaseverarch=$basearchrepo=contrib #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 Thanks Jatin On 4/2/2010 9:08 AM, Jatin Davey wrote: Hi I wanted to download and install the net-snmp package. Usually

Re: [CentOS] Could not retrieve mirror list while using yum command

2010-04-01 Thread Jatin Davey
Hi Kwan I executed the following on the host that was having problem: [r...@localhost yum.repos.d]# wget http://www.google.com --22:14:25-- http://www.google.com/ Resolving www.google.com... 74.125.19.105, 74.125.19.99, 74.125.19.106, ... Connecting to www.google.com|74.125.19.105|:80...

Re: [CentOS] Could not retrieve mirror list while using yum command

2010-04-01 Thread Jatin Davey
Ok, i figured out the issue , Did some google on it and found this useful link on usage of proxy. http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/ Thanks Kwan , Thanks kwan for questioning me on the proxy usage. Thanks Jatin On 4/2/2010 10:51 AM, Jatin Davey wrote: Hi

[CentOS] Unable to get software using Yum

2010-03-31 Thread Jatin Davey
Hi I am new to CentOS and been into Linux for about 3 months now. I first started off with fedora and also trying my hands on CentOS now. Basically i used yum to download softwares on the fedora box. I mainly require the snmp agent for my linux boxes so as to test my network management