Re: [CentOS] How to force iscsi to see the new LUN size

2010-01-20 Thread Pasi Kärkkäinen
On Tue, Jan 19, 2010 at 02:53:18PM -0800, Peter Blajev wrote:
> Pasi Kärkkäinen wrote:
> > On Fri, Jan 15, 2010 at 05:34:47PM -0800, Peter Blajev wrote:
> >> Hi,
> >>
> >> I increased the size of one of the LUNs and on CentOS 5.4 if I restart 
> >> iscsi (`service iscsi restart`) I'll see the the new size but this will 
> >> disconnect all other LUNs.
> >>
> >> I'm hoping that there is isciadm or some other command that will force 
> >> iscsi to rediscover the LUNs but I can't seem to be able to come up with 
> >> one.
> >>
> >> Resize2fs says that there is nothing to be done. I'm not using LVM.
> >>
> >> Any ideas?
> >>
> > 
> > Try: iscsiadm -m node -R
> > It should work with CentOS 5.3 and newer.
> > 
> > Also you might be interested of this:
> > http://pasik.reaktio.net/rhel5-online-iscsi-resize-test.txt
> > 
> > -- Pasi
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> Thank you to all that replied.
> 
> I studied and followed the document Pasi provided:
> http://pasik.reaktio.net/rhel5-online-iscsi-resize-test.txt
> 
> Great step-by-step instructions, right on the point. It worked for me.
> 
> Thanks again.
> 

No problems. Nice to see it was of some help for you :)

-- Pasi

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bind data directory borked on update from 5.3 to 5.4

2010-01-20 Thread Bowie Bailey
Les Mikesell wrote:
> On 1/19/2010 5:26 PM, Brian Mathis wrote:
>   
>> On Tue, Jan 19, 2010 at 3:51 PM, Bowie Bailey  wrote:
>> 
>>> I updated my secondary DNS server from 5.3 to 5.4 today.  After the
>>> update, named would not start.  A bit of investigation found that all of
>>> the files in /var/named/chroot/var/named/data had been turned into links
>>> to themselves!
>>>
>>> Fortunately, since this is a secondary DNS, all I had to do was delete
>>> the files, replace the root hints file and let everything else copy back
>>> over from the master.  If this had been the master, I would have had to
>>> restore from backups.
>>>
>>> Has anyone else seen this problem?
>>>
>>> --
>>> Bowie
>>>   
>> Do you have the caching-nameserver package installed?  I've heard this
>> can cause problems with files getting overwritten.
>> 
>
> If you install the caching-nameserver package it assumes you don't have 
> any other configuration (that's that point of it being a 
> caching-nameserver).
>   

Nope, no caching-nameserver here.  All I have is:

bind-libs-9.3.6-4.P1.el5_4.1
bind-utils-9.3.6-4.P1.el5_4.1
bind-chroot-9.3.6-4.P1.el5_4.1
bind-9.3.6-4.P1.el5_4.1

-- 
Bowie

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos courseware?

2010-01-20 Thread Robert P. J. Day


  does anyone here have pointers or access to courseware that could be
used to teach centos (5.4, i believe)?  publicly-available, free C/W
would, of course, be ideal, but if you have some decent training
manuals that you're willing to license on a per-manual basis, i'm
still willing to chat.

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] httpd and robots.txt

2010-01-20 Thread James Matthews
The best way is to remove it from your directory from the google webmaster
tools. Also some bots don't listen so additionally to robots.txt use the
webmaster central.

James

On Sun, Jan 17, 2010 at 9:31 AM, Kai Schaetzl wrote:

> Add
> User-agent: Slurp
>
> Crawl-delay: 86400
> to stop misbehaving Yahoo bots. Slurp is often misbehaving, but it at
> least follows these rules. Something you can't say of Googlebot, for
> instance.
>
> Kai
>
> --
> Get your web at Conactive Internet Services: http://www.conactive.com
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
http://www.astorandblack.com

--
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] followup to request for centos C/W

2010-01-20 Thread Robert P. J. Day

  just to follow on my earlier post, i have pointers to a couple
commercial C/W manuals for RHEL administration, but both of them use
an entire chapter discussing virtualization using Xen.  i'm under the
impression that RH is firmly in the KVM camp (at least for now), and
that learning Xen on red hat/centos wouldn't be as useful as learning
KVM.

  thoughts?

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos courseware?

2010-01-20 Thread b.j. mcclure

On Wed, 2010-01-20 at 10:31 -0500, Robert P. J. Day wrote:
> 
>   does anyone here have pointers or access to courseware that could be
> used to teach centos (5.4, i believe)?  publicly-available, free C/W
> would, of course, be ideal, but if you have some decent training
> manuals that you're willing to license on a per-manual basis, i'm
> still willing to chat.
> 
> rday
I find the RHEL Deployment Guide very helpful in this regard.  Sorry. I
don't have the link handy at the moment but it's available on the RH
website.HTH.

B.J.
CentOS 5.4, Linux 2.6.18-164.9.1.el5 x86_64 10:47:33 up 10 days, 21:27,
1 user, load average: 0.21, 0.13, 0.45

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] followup to request for centos C/W

2010-01-20 Thread Neil Aggarwal
> i'm under the
> impression that RH is firmly in the KVM camp (at least for now), and
> that learning Xen on red hat/centos wouldn't be as useful as learning
> KVM.

I agree.  Since RH is moving to KVM, it is better to learn KVM if
you have a choice.

Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/cpanel
cPanel/WHM preinstalled on a virtual server for only $40/month!
No overage charges, 7 day free trial, PayPal, Google Checkout 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos courseware?

2010-01-20 Thread Robert P. J. Day
On Wed, 20 Jan 2010, b.j. mcclure wrote:

>
> On Wed, 2010-01-20 at 10:31 -0500, Robert P. J. Day wrote:
> >
> >   does anyone here have pointers or access to courseware that could be
> > used to teach centos (5.4, i believe)?  publicly-available, free C/W
> > would, of course, be ideal, but if you have some decent training
> > manuals that you're willing to license on a per-manual basis, i'm
> > still willing to chat.
> >
> > rday

> I find the RHEL Deployment Guide very helpful in this regard.
> Sorry. I don't have the link handy at the moment but it's available
> on the RH website.HTH.

  yes, i've already bookmarked those.  i was curious in that there are
some deployment guides at the centos site:

http://www.centos.org/docs/5/

but they stop at 5.2.  any reason for that?

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] followup to request for centos C/W

2010-01-20 Thread fabien faye
I can confirm, after my last discussion with Redhat, is it better to learn KVM.
Xen is going to die on redhat and centos in some years.

Fabien FAYE
RHCE
www.generationip.com
Free network tools & HOWTO for centos and Redhat


- Mail Original -
De: "Neil Aggarwal" 
À: "CentOS mailing list" 
Envoyé: Mercredi 20 Janvier 2010 16:58:36
Objet: Re: [CentOS] followup to request for centos C/W

> i'm under the
> impression that RH is firmly in the KVM camp (at least for now), and
> that learning Xen on red hat/centos wouldn't be as useful as learning
> KVM.

I agree.  Since RH is moving to KVM, it is better to learn KVM if
you have a choice.

Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/cpanel
cPanel/WHM preinstalled on a virtual server for only $40/month!
No overage charges, 7 day free trial, PayPal, Google Checkout 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] followup to request for centos C/W

2010-01-20 Thread Scot P. Floess


Just curious - any idea how much longer we can expect Xen support?  I 
don't have the hardware requirements at home to support KVM - so I'd love 
for Xen to stick around forever ;)


On Wed, 20 Jan 2010, fabien faye wrote:


I can confirm, after my last discussion with Redhat, is it better to learn KVM.
Xen is going to die on redhat and centos in some years.

Fabien FAYE
RHCE
www.generationip.com
Free network tools & HOWTO for centos and Redhat


- Mail Original -
De: "Neil Aggarwal" 
À: "CentOS mailing list" 
Envoyé: Mercredi 20 Janvier 2010 16:58:36
Objet: Re: [CentOS] followup to request for centos C/W


i'm under the
impression that RH is firmly in the KVM camp (at least for now), and
that learning Xen on red hat/centos wouldn't be as useful as learning
KVM.


I agree.  Since RH is moving to KVM, it is better to learn KVM if
you have a choice.

Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/cpanel
cPanel/WHM preinstalled on a virtual server for only $40/month!
No overage charges, 7 day free trial, PayPal, Google Checkout 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros  http://sourceforge.net/projects/keros___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] followup to request for centos C/W

2010-01-20 Thread Neil Aggarwal
> I don't have the hardware requirements at home to support KVM

I thought they run on the same hardware.  What do you feel
would not support KVM?

Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/cpanel
cPanel/WHM preinstalled on a virtual server for only $40/month!
No overage charges, 7 day free trial, PayPal, Google Checkout 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox
I have dealt with machines that have multiple network cards in them
before, but never when they were on the same subnet so this issue has
never come up before.

My problem is that I can only access one IP address at a time.  I
started out using dhcp and found that if I went through the dhcp
song-and-dance then that address became active and the other one was
disabled, and vice versa.

On our local tech mailing list, a couple of the guys advised me that
this is due to a routing issue and, after a bit of googling around I now
understand why that is.

However, I have so far been unable to fix it.

I got rid of dhcp and set up static addresses using
system-config-network.

This machine has three network cards in it, eth0 is 192.168.1.5 and I
use that one to ssh into the box from this computer.  (I really don't
want to lose my ability to connect to eth0; this machine runs headless
on a shelf about 7 feet above the floor and it would be quite an
undertaking to dismantle it and bring it down to hook a monitor and
keyboard to it again.)

The solution to this problem appears to be easier to describe than to
implement, at least for me.  I need to have each network card reply back
on the same interface that it received a request from.

eth1 is 24.89.92.178
eth2 is 24.89.92.180

The gateway for both of these is 24.89.92.1

The suggestion that I got was to add two entries to the end
of /etc/iproute2/rt_tables (which I did with a text editor) and run a
series of ip route commands which set up a custom routing table but I'm
missing something because while the custom routing tables appear to be
getting set up, it's still not working.

I have studied the suggested routing commands and I think I understand
what they are doing and what is supposed to be happening.  But something
is still missing because it's not working.

Here is what I did and what the results are.  If I have missed anything
let me know; this covers what I think is the relevant information  as I
currently understand it.  I would sincerely appreciate any further
advice regarding this situation.  I really would like to know what I am
doing wrong and also why (in the interest of learning something from
this situation).  It's new territory for me.

[r...@audio ~]# cat /etc/iproute2/rt_tables 
#
# reserved values
#
255 local
254 main
253 default
0   unspec
#
# local
#
#1  inr.ruhep
50  access1
60  access2
[r...@audio ~]# ip route add 24.89.92.0/24 dev eth1 table access1
[r...@audio ~]# ip route add default via 24.89.92.1 table access1
[r...@audio ~]# ip rule add from 24.89.92.178/32 lookup access1
[r...@audio ~]# 
[r...@audio ~]# ip route add 24.89.92.0/24 dev eth2 table access2
[r...@audio ~]# ip route add default via 24.89.92.1 table access2
[r...@audio ~]# ip rule add from 24.89.92.180/32 lookup access2
[r...@audio ~]# ip route show table access2
24.89.92.0/24 dev eth2  scope link 
default via 24.89.92.1 dev eth1 
[r...@audio ~]# ip route show table access1
24.89.92.0/24 dev eth1  scope link 
default via 24.89.92.1 dev eth1 
[r...@audio ~]# ip route
24.89.92.0/24 dev eth1  proto kernel  scope link  src 24.89.92.178 
24.89.92.0/24 dev eth2  proto kernel  scope link  src 24.89.92.180 
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.5 
169.254.0.0/16 dev eth2  scope link 
default via 24.89.92.1 dev eth1 

[frank...@mutt ~]$ ping 24.89.92.178
PING 24.89.92.178 (24.89.92.178) 56(84) bytes of data.
64 bytes from 24.89.92.178: icmp_seq=1 ttl=50 time=92.2 ms
64 bytes from 24.89.92.178: icmp_seq=2 ttl=50 time=96.2 ms
64 bytes from 24.89.92.178: icmp_seq=3 ttl=50 time=91.0 ms

--- 24.89.92.178 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 91.023/93.193/96.263/2.245 ms
[frank...@mutt ~]$ ping 24.89.92.180
PING 24.89.92.180 (24.89.92.180) 56(84) bytes of data.

--- 24.89.92.180 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5000ms

Incidentally, it is my current understanding that anything that I do
with an "ip route" command will go away on a reboot, therefore if I
somehow screw up the routing on this box completely all I have to do is
reboot it and I'll be back to what I had before.  Which is not a bad
thing at the moment.  Once I have this nailed down should I put the "ip
route" commands into /etc/rc.local?  Or is there a better place?


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos courseware?

2010-01-20 Thread b.j. mcclure



> > I find the RHEL Deployment Guide very helpful in this regard.
> > Sorry. I don't have the link handy at the moment but it's available
> > on the RH website.HTH.
> 
>   yes, i've already bookmarked those.  i was curious in that there are
> some deployment guides at the centos site:
> 
> http://www.centos.org/docs/5/
> 
> but they stop at 5.2.  any reason for that?
> 
> rday
> --
That issue was discussed on this list in the recent past.  Don't recall
the answer.  I have no difficulty in using the RH guide since CentOS
strives to be binary compatible with RHEL.

There is a textbook, Linux:The Textbook,published by Addison Wesley,
which is used in the local college in the AA program but it is generic
and somewhat out of date:circa 2002.

B.J.
CentOS 5.4, Linux 2.6.18-164.9.1.el5 x86_64 11:25:02 up 10 days, 22:04,
1 user, load average: 0.03, 0.05, 0.08

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Bob Beers
I can offer one tiny bit of help ...

On Wed, Jan 20, 2010 at 11:27 AM, Frank Cox  wrote:

> Incidentally, it is my current understanding that anything that I do
> with an "ip route" command will go away on a reboot, therefore if I
> somehow screw up the routing on this box completely all I have to do is
> reboot it and I'll be back to what I had before.  Which is not a bad
> thing at the moment.  Once I have this nailed down should I put the "ip
> route" commands into /etc/rc.local?  Or is there a better place?

man iptables-save

-- 
-Bob
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] followup to request for centos C/W

2010-01-20 Thread Scot P. Floess

Sorry - misleading...  What I mean is, my hardware does not support native 
virtualization.


On Wed, 20 Jan 2010, Neil Aggarwal wrote:

>> I don't have the hardware requirements at home to support KVM
>
> I thought they run on the same hardware.  What do you feel
> would not support KVM?
>
>   Neil
>
> --
> Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/cpanel
> cPanel/WHM preinstalled on a virtual server for only $40/month!
> No overage charges, 7 day free trial, PayPal, Google Checkout
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros  http://sourceforge.net/projects/keros
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread m . roth
> I can offer one tiny bit of help ...
>
> On Wed, Jan 20, 2010 at 11:27 AM, Frank Cox  wrote:
>
>> Incidentally, it is my current understanding that anything that I do
>> with an "ip route" command will go away on a reboot, therefore if I
>> somehow screw up the routing on this box completely all I have to do is
>> reboot it and I'll be back to what I had before.  Which is not a bad
>> thing at the moment.  Once I have this nailed down should I put the "ip
>> route" commands into /etc/rc.local?  Or is there a better place?
>
> man iptables-save

/etc/sysconfig/iptables

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos courseware?

2010-01-20 Thread Lucian @ lastdot.org
On Wed, Jan 20, 2010 at 3:31 PM, Robert P. J. Day  wrote:
>
>
>  does anyone here have pointers or access to courseware that could be
> used to teach centos (5.4, i believe)?  publicly-available, free C/W
> would, of course, be ideal, but if you have some decent training
> manuals that you're willing to license on a per-manual basis, i'm
> still willing to chat.
>
> rday
> --
>
> 
> Robert P. J. Day                               Waterloo, Ontario, CANADA
>
>            Linux Consulting, Training and Kernel Pedantry.
>
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

This might be worth checking out:
http://dag.wieers.com/blog/first-centos-book-available-as-ebook

Especially since it is for Centos specifically and not RHEL. It's
written by competent people very close to the distro. :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox

On Wed, 2010-01-20 at 11:33 -0500, Bob Beers wrote:
> man iptables-save

That would dump the table to a file, but what would I do with the file
after that?  I imagine there is a way to feed that back into the ip
command and reconfigure it, but I could do that with rc.local and avoid
one step.

Again, I'm obviously missing something.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Kai Schaetzl
Frank Cox wrote on Wed, 20 Jan 2010 10:27:29 -0600:

> I got rid of dhcp and set up static addresses using
> system-config-network.

Can't help you on the routing "back" issue. Just wanted to remind you that 
you can assign static IP addresses via DHCP to specific MAC addresses. 
That might be easier to maintain than assign static addresses on each 
machine locally.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox

On Wed, 2010-01-20 at 10:27 -0600, Frank Cox wrote:

> 
> My problem is that I can only access one IP address at a time.  I
> started out using dhcp and found that if I went through the dhcp
> song-and-dance then that address became active and the other one was
> disabled, and vice versa.

I'm starting to wonder if the simplest solution to this is to punt.

If I put a $40 router between eth2 and the big scary world, then eth2
could become 192.168.whatever.whatever, and then this routing issue
would go away on its own and it could still talk to the outside world
(and vice versa) on its IP address from Access.

I assume, based on the fact that I have never encountered this before on
machines with multiple ethernet cards that were on different subnets.

Or would this still not work as it should?
-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Les Mikesell
On 1/20/2010 11:31 AM, Frank Cox wrote:
>
> On Wed, 2010-01-20 at 10:27 -0600, Frank Cox wrote:
>
>>
>> My problem is that I can only access one IP address at a time.  I
>> started out using dhcp and found that if I went through the dhcp
>> song-and-dance then that address became active and the other one was
>> disabled, and vice versa.
>
> I'm starting to wonder if the simplest solution to this is to punt.
>
> If I put a $40 router between eth2 and the big scary world, then eth2
> could become 192.168.whatever.whatever, and then this routing issue
> would go away on its own and it could still talk to the outside world
> (and vice versa) on its IP address from Access.
>
> I assume, based on the fact that I have never encountered this before on
> machines with multiple ethernet cards that were on different subnets.
>
> Or would this still not work as it should?

Why did you want this arrangement in the first place?  IP routes are 
normally asymmetrical by design (it's a feature).  I thought you said 
you already had a private address on eth0.  Why do you need to 
distinguish between eth1/eth2 on the same subnet on the public side?

-- 
   Les Mikesell
 lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread R-Elists
 

> 
> I'm starting to wonder if the simplest solution to this is to punt.
> 
> If I put a $40 router between eth2 and the big scary world, 
> then eth2 could become 192.168.whatever.whatever, and then 
> this routing issue would go away on its own and it could 
> still talk to the outside world (and vice versa) on its IP 
> address from Access.
> 
> I assume, based on the fact that I have never encountered 
> this before on machines with multiple ethernet cards that 
> were on different subnets.
> 
> Or would this still not work as it should?
> --

Frank,

i know this has been addressed on the list a few times recently yet i dont
know if that will give you a solution.

ummm, why do the two different networks need an IP on the same subnet ?

can you just bond and bridge and have the same ip on both or ???

is this a redundancy thing?

 - rh

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread fabien faye
Frank,

I think the best way is to create bonding on eth1-eth2 and create an alias on 
this bond interface.
If you need to use the two interfaces in same time, you can use round robin 
parameter on the bonding interface. 

If you need help on bonding you can use this howto : 
http://www.generationip.com/documentation/system-documentation/65-bonding-or-teaming-for-redhat-server

RHCE
Fabien FAYE
www.generationip.com
 

> 
> I'm starting to wonder if the simplest solution to this is to punt.
> 
> If I put a $40 router between eth2 and the big scary world, 
> then eth2 could become 192.168.whatever.whatever, and then 
> this routing issue would go away on its own and it could 
> still talk to the outside world (and vice versa) on its IP 
> address from Access.
> 
> I assume, based on the fact that I have never encountered 
> this before on machines with multiple ethernet cards that 
> were on different subnets.
> 
> Or would this still not work as it should?
> --

Frank,

i know this has been addressed on the list a few times recently yet i dont
know if that will give you a solution.

ummm, why do the two different networks need an IP on the same subnet ?

can you just bond and bridge and have the same ip on both or ???

is this a redundancy thing?

 - rh

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] error rsyncing large file

2010-01-20 Thread Joseph L. Casale
Trying to rsync a rather large file from a windows server to a centos server
and all but this is working fine.

As it's a 20 gig file I am trying to send the diff of with a -c, I suspect over
the low bandwidth this presents an issue. I also stage this file locally on 
another
centos server and could calc the diff and create a patch and send that, 
comparing
checksums etc...

A quick look at bsdiff and bspatch and the mem requirements on my 20 gig file 
make
that solution rather not acceptable.

Anyone know a better solution to accomplish this?

Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] followup to request for centos C/W

2010-01-20 Thread Eero Volotinen
On 1/20/10 7:14 PM, fabien faye wrote:
> I can confirm, after my last discussion with Redhat, is it better to learn 
> KVM.
> Xen is going to die on redhat and centos in some years.

In some years? It is supported until support cycle is over.

So, in RHEL 5.4 due date is: 31 Mar 2014

Anyway, the same gui tools works for xen and kvm also..

--
Eero,
RHCE
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread Les Mikesell
On 1/20/2010 12:01 PM, Joseph L. Casale wrote:
> Trying to rsync a rather large file from a windows server to a centos server
> and all but this is working fine.
>
> As it's a 20 gig file I am trying to send the diff of with a -c, I suspect 
> over
> the low bandwidth this presents an issue. I also stage this file locally on 
> another
> centos server and could calc the diff and create a patch and send that, 
> comparing
> checksums etc...
>
> A quick look at bsdiff and bspatch and the mem requirements on my 20 gig file 
> make
> that solution rather not acceptable.
>
> Anyone know a better solution to accomplish this?

Is your windows rsync version fairly current?  I think older cygwin 
versions had a file size limit.

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox

On Wed, 2010-01-20 at 09:50 -0800, R-Elists wrote:
> ummm, why do the two different networks need an IP on the same
> subnet ?

I have had a number of people ask me why I want this arrangement, where
I have two modems on a single outbound subnet.

This is (going to be) a server with limited upload bandwidth.  By having
two outbound connections, I can use a round robin dns entry to share the
load between the two connections and increase my capacity.
-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Bob Beers
On Wed, Jan 20, 2010 at 11:53 AM, Frank Cox  wrote:
>
> On Wed, 2010-01-20 at 11:33 -0500, Bob Beers wrote:
>> man iptables-save
>
> That would dump the table to a file, but what would I do with the file
> after that?  I imagine there is a way to feed that back into the ip
> command and reconfigure it, but I could do that with rc.local and avoid
> one step.
>
> Again, I'm obviously missing something.

Sorry, you're right, I'm completely off base.  Forget iptables, you're
asking about
 iproute2.

You can save your ip route commands in the
/etc/sysconfig/network-scripts/ directory
 files for each interface route-ethX.  They will then be automatically
called when the
 interface is brought up on reboot, or with 'service network restart'.

IIANM, simple put all args after 'ip route add' as individual lines in
the file(s).

I hope this is actually helpful this time.

-- 
-Bob
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox

On Wed, 2010-01-20 at 11:48 -0600, Les Mikesell wrote:
> Why did you want this arrangement in the first place?  IP routes are 
> normally asymmetrical by design (it's a feature).  I thought you said 
> you already had a private address on eth0.  Why do you need to 
> distinguish between eth1/eth2 on the same subnet on the public side?

This is a server with limited upload bandwidth.  By having two outbound
connections, I can use a round robin dns entry to share the load between
the two connections and increase my capacity.
-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread R-Elists
 

> 
> I have had a number of people ask me why I want this 
> arrangement, where I have two modems on a single outbound subnet.
> 
> This is (going to be) a server with limited upload bandwidth. 
>  By having two outbound connections, I can use a round robin 
> dns entry to share the load between the two connections and 
> increase my capacity.
> --

Frank,

do both internet feeds come from the same ISP?

DSL? Cable?

if DSL, get a 3620 and two ADSL Wics and work with the ISP to bond the DSL's
together and remove one of the server nics out of the equation.

 - rh

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread Brian Mathis
On Wed, Jan 20, 2010 at 1:01 PM, Joseph L. Casale
 wrote:
> Trying to rsync a rather large file from a windows server to a centos server
> and all but this is working fine.
>
> As it's a 20 gig file I am trying to send the diff of with a -c, I suspect 
> over
> the low bandwidth this presents an issue. I also stage this file locally on 
> another
> centos server and could calc the diff and create a patch and send that, 
> comparing
> checksums etc...
>
> A quick look at bsdiff and bspatch and the mem requirements on my 20 gig file 
> make
> that solution rather not acceptable.
>
> Anyone know a better solution to accomplish this?
>
> Thanks!
> jlc


I don't understand why the diff shenanigans.  Rsync has that built-in,
so you shouldn't need to be doing that as a separate step.

If it is a file size limit, you could try to split(1) the file, then
rsync the chunks.  You might also try cygwin 1.7, which has improved
the support for modern Windows OS dramatically.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Bob Beers
On Wed, Jan 20, 2010 at 1:52 PM, Bob Beers  wrote:
> You can save your ip route commands in the
> /etc/sysconfig/network-scripts/ directory
>  files for each interface route-ethX.  They will then be automatically
> called when the
>  interface is brought up on reboot, or with 'service network restart'.
>

here's a link to a more thorough explanation:



-- 
-Bob
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Barry Brimer

Incidentally, it is my current understanding that anything that I do
with an "ip route" command will go away on a reboot, therefore if I
somehow screw up the routing on this box completely all I have to do is
reboot it and I'll be back to what I had before.  Which is not a bad
thing at the moment.  Once I have this nailed down should I put the "ip
route" commands into /etc/rc.local?  Or is there a better place?


Use /etc/sysconfig/network/route- file(s).___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Bob Beers
On Wed, Jan 20, 2010 at 2:20 PM, Bob Beers  wrote:
> here's a link to a more thorough explanation:
>
> 

ok, last word from me on the subject, really,



.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox

On Wed, 2010-01-20 at 10:27 -0600, Frank Cox wrote:

> My problem is that I can only access one IP address at a time.  I
> started out using dhcp and found that if I went through the dhcp
> song-and-dance then that address became active and the other one was
> disabled, and vice versa.

The solution has been found, thanks to one of the guys on our local tech
mailing list (who is a truly wonderful and extremely knowedgable and
helpful person).

For the benefit of anyone else who might have occasion to do this, here
is the complete solution.

My IP addresses are eth1=24.89.92.178, eth2=24.89.92.180
Gateway for both is 24.89.92.1

First, add two lines to /etc/iproute2/rt_tables, so it looks like this:

#
# reserved values
#
255 local
254 main
253 default
0   unspec
#
# local
#
#1  inr.ruhep
50  access1
60  access2

Then add the following routes:

ip route add 24.89.92.0/24 dev eth1 table access1
ip route add default via 24.89.92.1 dev eth1 table access1
ip rule add from 24.89.92.178/32 lookup access1

ip route add 24.89.92.0/24 dev eth2 table access2
ip route add default via 24.89.92.1 dev eth2 table access2
ip rule add from 24.89.92.180/32 lookup access2


> 
-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Kai Schaetzl
Bob Beers wrote on Wed, 20 Jan 2010 11:33:35 -0500:

> man iptables-save

this won't save the routing table

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox

On Wed, 2010-01-20 at 14:25 -0500, Bob Beers wrote:
> On Wed, Jan 20, 2010 at 2:20 PM, Bob Beers  wrote:
> > here's a link to a more thorough explanation:
> >
> > 
> 
> ok, last word from me on the subject, really,
> 
> 

Looks like interesting reading. That's next on my list...

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] followup to request for centos C/W

2010-01-20 Thread fabien faye
Like i have understood, xen could be also present and support on RHEL6 and in 
this case, it could be supported until the cycle of RHEL 6. 
But is it preferable to migrate all your xen to kvm in a near furtur.

Kvm is a REDHAT project and REDHAT want to put all ressources to improve and 
develop KVM instead of xen.

Fabien FAYE 
RHCE
www.generationip.com


On 1/20/10 7:14 PM, fabien faye wrote:
> I can confirm, after my last discussion with Redhat, is it better to learn 
> KVM.
> Xen is going to die on redhat and centos in some years.

In some years? It is supported until support cycle is over.

So, in RHEL 5.4 due date is: 31 Mar 2014

Anyway, the same gui tools works for xen and kvm also..

--
Eero,
RHCE
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread Joseph L. Casale
>I don't understand why the diff shenanigans.  Rsync has that built-in,
>so you shouldn't need to be doing that as a separate step.

I am using cwrsync (3.0.6) and its failing no matter what switches I try.

>If it is a file size limit, you could try to split(1) the file, then
>rsync the chunks.  You might also try cygwin 1.7, which has improved
>the support for modern Windows OS dramatically.

Looking into cygwin now, I didn't think it will make any difference, cwrsync
is fairly recent.

hrm, splitting first, I'll try that.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread Les Mikesell
On 1/20/2010 2:05 PM, Joseph L. Casale wrote:
>> I don't understand why the diff shenanigans.  Rsync has that built-in,
>> so you shouldn't need to be doing that as a separate step.
>
> I am using cwrsync (3.0.6) and its failing no matter what switches I try.
>
>> If it is a file size limit, you could try to split(1) the file, then
>> rsync the chunks.  You might also try cygwin 1.7, which has improved
>> the support for modern Windows OS dramatically.
>
> Looking into cygwin now, I didn't think it will make any difference, cwrsync
> is fairly recent.

People have reported different results with different builds on the 
backuppc list but I don't remember the versions.  How is this failing? 
There is still a maximum path limit.  Also, how are you using it? 
Running under cygwin sshd has had problems that might also be fixed in 
the latest versions, although it has always worked to issue the command 
from the windows side or to run rsync in daemon mode.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread James Bensley
Don't want to sound like a spoil sport but you could scp it over and
already be well on your way?

-- 
Regards,
James ;)

Samuel Goldwyn  - "I'm willing to admit that I may not always be
right, but I am never wrong." -
http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread Agile Aspect
On Wed, Jan 20, 2010 at 11:13 AM, Brian Mathis  wrote:
> On Wed, Jan 20, 2010 at 1:01 PM, Joseph L. Casale
>  wrote:
>> Trying to rsync a rather large file from a windows server to a centos server
>> and all but this is working fine.
>>
>> As it's a 20 gig file I am trying to send the diff of with a -c, I suspect 
>> over
>> the low bandwidth this presents an issue. I also stage this file locally on 
>> another
>> centos server and could calc the diff and create a patch and send that, 
>> comparing
>> checksums etc...
>>
>> A quick look at bsdiff and bspatch and the mem requirements on my 20 gig 
>> file make
>> that solution rather not acceptable.
>>
>> Anyone know a better solution to accomplish this?
>>
>> Thanks!
>> jlc
>
>
> I don't understand why the diff shenanigans.  Rsync has that built-in,
> so you shouldn't need to be doing that as a separate step.
>
> If it is a file size limit, you could try to split(1) the file, then
> rsync the chunks.  You might also try cygwin 1.7, which has improved
> the support for modern Windows OS dramatically.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Try adding

--blocking-io

to rsync flags.

It's the default on Linux if you're using rsh or remsh.

Also, "low bandwidth" is undefined.

In any case, try changing the bandwidth

--bwlimit=KPS

Note, I have no idea if these flags work in the Windows version of rsync.


-- 
  Enjoy global warming while it lasts.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] perl updates always break perl programs, how to fix?

2010-01-20 Thread James Chase
I realize this is my fault because once upon a time I installed a package
using CPAN and probably other admins on the system have as well but now
whenever I update perl I have to jump through hoops to get perl applications
to work again (usually updating Scalar::Util and another package with CPAN).
I would love to figure out how to fix this so it's not such a headache to
keep up to date with perl, but I can't figure out how.

I tried moving my /usr/lib/perl5/site_perl directory out of the way and
installing perl-Scar-Util using yum but it doesn't let me because the
perl-5.8.8 rpm owns the man file for that. I'm not sure why the default
Scalar-Util (isn't it built in to the base install of perl on CentOS)
doesn't work in the first place?

Also I do add perl packages via the dag/rpmforge repo, not sure if that
messes up the perl updates too. Sorry I realize this could also be
classified as a perl question -- but I'm hopeful other centos admins found a
way to get their centos back into compliance with the yum updates.

Thanks,
James

-- 
"Beware of all enterprises that require new clothes."
 --  Henry David Thoreau
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread Joseph L. Casale
>People have reported different results with different builds on the 
>backuppc list but I don't remember the versions.  How is this failing? 
>There is still a maximum path limit.  Also, how are you using it? 
>Running under cygwin sshd has had problems that might also be fixed in 
>the latest versions, although it has always worked to issue the command 
>from the windows side or to run rsync in daemon mode.

Yeah, I caught some threads in their forum wrt it. It gives me an exit code
30, timeout. The centos (receiving side) is running rsync in daemon mode.

I'll try the --blocking-io switch tonight.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread Kwan Lowe
On Wed, Jan 20, 2010 at 1:01 PM, Joseph L. Casale
 wrote:
> Trying to rsync a rather large file from a windows server to a centos server
> and all but this is working fine.
>
> As it's a 20 gig file I am trying to send the diff of with a -c, I suspect 
> over
> the low bandwidth this presents an issue. I also stage this file locally on 
> another
> centos server and could calc the diff and create a patch and send that, 
> comparing
> checksums etc...
>
> A quick look at bsdiff and bspatch and the mem requirements on my 20 gig file 
> make
> that solution rather not acceptable.
>
> Anyone know a better solution to accomplish this?
>
I had to do a similar thing across a satellite link. I ended up
splitting the files into 500M segments then rsyncing those. When
completed, I ssh'ed into the remote and rejoined then checksummed.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] perl updates always break perl programs, how to fix?

2010-01-20 Thread Kwan Lowe
On Wed, Jan 20, 2010 at 3:46 PM, James Chase  wrote:
> I realize this is my fault because once upon a time I installed a package
> using CPAN and probably other admins on the system have as well but now
> whenever I update perl I have to jump through hoops to get perl applications
> to work again (usually updating Scalar::Util and another package with CPAN).
> I would love to figure out how to fix this so it's not such a headache to
> keep up to date with perl, but I can't figure out how.
>
> I tried moving my /usr/lib/perl5/site_perl directory out of the way and
> installing perl-Scar-Util using yum but it doesn't let me because the
> perl-5.8.8 rpm owns the man file for that. I'm not sure why the default
> Scalar-Util (isn't it built in to the base install of perl on CentOS)
> doesn't work in the first place?
>
> Also I do add perl packages via the dag/rpmforge repo, not sure if that
> messes up the perl updates too. Sorry I realize this could also be
> classified as a perl question -- but I'm hopeful other centos admins found a
> way to get their centos back into compliance with the yum updates.

A couple things that might help:

You can modify your code so that you can keep local modules. You'd
need to separate the CentOS packaged modules from the ones you
installed separately.

You can also try building packages with cpan2rpm. It won't necessarily
solve version problems, but makes it much each to upgrade.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Clint Dilks
Frank Cox wrote:
> I have dealt with machines that have multiple network cards in them
> before, but never when they were on the same subnet so this issue has
> never come up before.
>
> My problem is that I can only access one IP address at a time.  I
> started out using dhcp and found that if I went through the dhcp
> song-and-dance then that address became active and the other one was
> disabled, and vice versa.
>
> On our local tech mailing list, a couple of the guys advised me that
> this is due to a routing issue and, after a bit of googling around I now
> understand why that is.
>
> However, I have so far been unable to fix it.
>
> I got rid of dhcp and set up static addresses using
> system-config-network.
>
> This machine has three network cards in it, eth0 is 192.168.1.5 and I
> use that one to ssh into the box from this computer.  (I really don't
> want to lose my ability to connect to eth0; this machine runs headless
> on a shelf about 7 feet above the floor and it would be quite an
> undertaking to dismantle it and bring it down to hook a monitor and
> keyboard to it again.)
>
> The solution to this problem appears to be easier to describe than to
> implement, at least for me.  I need to have each network card reply back
> on the same interface that it received a request from.
>
> eth1 is 24.89.92.178
> eth2 is 24.89.92.180
>
> The gateway for both of these is 24.89.92.1
>
> The suggestion that I got was to add two entries to the end
> of /etc/iproute2/rt_tables (which I did with a text editor) and run a
> series of ip route commands which set up a custom routing table but I'm
> missing something because while the custom routing tables appear to be
> getting set up, it's still not working.
>
> I have studied the suggested routing commands and I think I understand
> what they are doing and what is supposed to be happening.  But something
> is still missing because it's not working.
>
> Here is what I did and what the results are.  If I have missed anything
> let me know; this covers what I think is the relevant information  as I
> currently understand it.  I would sincerely appreciate any further
> advice regarding this situation.  I really would like to know what I am
> doing wrong and also why (in the interest of learning something from
> this situation).  It's new territory for me.
>
> [r...@audio ~]# cat /etc/iproute2/rt_tables 
> #
> # reserved values
> #
> 255 local
> 254 main
> 253 default
> 0   unspec
> #
> # local
> #
> #1  inr.ruhep
> 50  access1
> 60  access2
> [r...@audio ~]# ip route add 24.89.92.0/24 dev eth1 table access1
> [r...@audio ~]# ip route add default via 24.89.92.1 table access1
> [r...@audio ~]# ip rule add from 24.89.92.178/32 lookup access1
> [r...@audio ~]# 
> [r...@audio ~]# ip route add 24.89.92.0/24 dev eth2 table access2
> [r...@audio ~]# ip route add default via 24.89.92.1 table access2
> [r...@audio ~]# ip rule add from 24.89.92.180/32 lookup access2
> [r...@audio ~]# ip route show table access2
> 24.89.92.0/24 dev eth2  scope link 
> default via 24.89.92.1 dev eth1 
> [r...@audio ~]# ip route show table access1
> 24.89.92.0/24 dev eth1  scope link 
> default via 24.89.92.1 dev eth1 
> [r...@audio ~]# ip route
> 24.89.92.0/24 dev eth1  proto kernel  scope link  src 24.89.92.178 
> 24.89.92.0/24 dev eth2  proto kernel  scope link  src 24.89.92.180 
> 192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.5 
> 169.254.0.0/16 dev eth2  scope link 
> default via 24.89.92.1 dev eth1 
>
> [frank...@mutt ~]$ ping 24.89.92.178
> PING 24.89.92.178 (24.89.92.178) 56(84) bytes of data.
> 64 bytes from 24.89.92.178: icmp_seq=1 ttl=50 time=92.2 ms
> 64 bytes from 24.89.92.178: icmp_seq=2 ttl=50 time=96.2 ms
> 64 bytes from 24.89.92.178: icmp_seq=3 ttl=50 time=91.0 ms
>
> --- 24.89.92.178 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
> rtt min/avg/max/mdev = 91.023/93.193/96.263/2.245 ms
> [frank...@mutt ~]$ ping 24.89.92.180
> PING 24.89.92.180 (24.89.92.180) 56(84) bytes of data.
>
> --- 24.89.92.180 ping statistics ---
> 6 packets transmitted, 0 received, 100% packet loss, time 5000ms
>
> Incidentally, it is my current understanding that anything that I do
> with an "ip route" command will go away on a reboot, therefore if I
> somehow screw up the routing on this box completely all I have to do is
> reboot it and I'll be back to what I had before.  Which is not a bad
> thing at the moment.  Once I have this nailed down should I put the "ip
> route" commands into /etc/rc.local?  Or is there a better place?
>
>
>   
Hi
This Article should be exactly what you need

http://www.linuxjournal.com/node/7291/print
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Determine security updates

2010-01-20 Thread Markus Falb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/01/2010 11:49, John Doe wrote:
> Try the yum-security package...

Since when does it work for centos ?

- -- 
best regards,
markus
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktXd2YACgkQYoWFBIJE9eW6SwCgrXRKP0MJVsLOas5QvbiGLEqO
ewQAniSWT7DD3M8DQQ3oCSXXNEDmvjTK
=wdBR
-END PGP SIGNATURE-

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox

On Thu, 2010-01-21 at 10:27 +1300, Clint Dilks wrote:
> This Article should be exactly what you need
> 
> http://www.linuxjournal.com/node/7291/print

That's pretty much it.  I will study this some more; it's an interesting
situation and I want to understand the solution.

Thanks!
-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Determine security updates

2010-01-20 Thread Dave
On Wed, Jan 20, 2010 at 11:36 AM, Markus Falb  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 19/01/2010 11:49, John Doe wrote:
> > Try the yum-security package...
>
> Since when does it work for centos ?


I've been using it for at least 6 months. Sure hope it works!

Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Les Mikesell
On 1/20/2010 1:41 PM, Frank Cox wrote:
>
> On Wed, 2010-01-20 at 14:25 -0500, Bob Beers wrote:
>> On Wed, Jan 20, 2010 at 2:20 PM, Bob Beers  wrote:
>>> here's a link to a more thorough explanation:
>>>
>>> 
>>
>> ok, last word from me on the subject, really,
>>
>> 
>
> Looks like interesting reading. That's next on my list...
>
What's upstream?  Two dsl lines from the same provider?  Can you get 
them provisioned on different subnets?

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread Les Mikesell
On 1/20/2010 3:06 PM, Joseph L. Casale wrote:
>> People have reported different results with different builds on the
>> backuppc list but I don't remember the versions.  How is this failing?
>> There is still a maximum path limit.  Also, how are you using it?
>> Running under cygwin sshd has had problems that might also be fixed in
>> the latest versions, although it has always worked to issue the command
>>from the windows side or to run rsync in daemon mode.
>
> Yeah, I caught some threads in their forum wrt it. It gives me an exit code
> 30, timeout. The centos (receiving side) is running rsync in daemon mode.
>
> I'll try the --blocking-io switch tonight.

Does it pick up where it stopped if you use the -P option?  Also, -z 
might help if you have low bandwidth.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Robert Spangler
On Wednesday 20 January 2010 13:57, Frank Cox wrote:

>  On Wed, 2010-01-20 at 09:50 -0800, R-Elists wrote:
>  > ummm, why do the two different networks need an IP on the same
>  > subnet ?
>
>  I have had a number of people ask me why I want this arrangement, where
>  I have two modems on a single outbound subnet.
>
>  This is (going to be) a server with limited upload bandwidth.  By having
>  two outbound connections, I can use a round robin dns entry to share the
>  load between the two connections and increase my capacity.

Please be aware that DNS was not designed to do what you are doing.  Yes it 
will do a round-robin but is not connection aware.  Lose a link and you lose 
half of the connections even though one link is still active.


-- 

Regards
Robert

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Les Mikesell
On 1/20/2010 4:08 PM, Robert Spangler wrote:
> On Wednesday 20 January 2010 13:57, Frank Cox wrote:
>
>>   On Wed, 2010-01-20 at 09:50 -0800, R-Elists wrote:
>>   >  ummm, why do the two different networks need an IP on the same
>>   >  subnet ?
>>
>>   I have had a number of people ask me why I want this arrangement, where
>>   I have two modems on a single outbound subnet.
>>
>>   This is (going to be) a server with limited upload bandwidth.  By having
>>   two outbound connections, I can use a round robin dns entry to share the
>>   load between the two connections and increase my capacity.
>
> Please be aware that DNS was not designed to do what you are doing.  Yes it
> will do a round-robin but is not connection aware.  Lose a link and you lose
> half of the connections even though one link is still active.

That depends on how the client reacts.  Browsers generally are sensible 
and if DNS returns multiple IP's where some don't respond, will retry 
the connection with the others.  Most other things aren't that bright.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error rsyncing large file

2010-01-20 Thread Brett Serkez
On Wed, Jan 20, 2010 at 1:01 PM, Joseph L. Casale  wrote:

> 
> As it's a 20 gig file I am trying to send the diff of with a -c, I suspect
> over
> 
>

This might be too basic a question,  what type of file system are you using
on the CentOS system?  For instance if it is the ext2/ext3 file system,
there are file size limits depending on such things as the block size:
http://en.wikipedia.org/wiki/Ext2#File_system_limits.

Brett
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox

On Wed, 2010-01-20 at 17:08 -0500, Robert Spangler wrote:
> Please be aware that DNS was not designed to do what you are doing.
> Yes it 
> will do a round-robin but is not connection aware.  Lose a link and
> you lose 
> half of the connections even though one link is still active.

I'm aware of that, but it's a limitation I can live with for this
application.  The whole thing is more of a "nice to have" than anything
that's actually mission critical.
 
-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] routing multiple network cards on a single subnet

2010-01-20 Thread Frank Cox

On Wed, 2010-01-20 at 16:05 -0600, Les Mikesell wrote:
> What's upstream?  Two dsl lines from the same provider?

Cable, actually.

>   Can you get them provisioned on different subnets?

If I really had to I probably could; I have another modem in this same
building from them that I've had for a while and it's on a different
subnet, though everything comes in off of the same pole in the alley.
These latest two got their own separate wire pulled back to the pole
hookup, though, so I'm not entirely sure of what the ramification of
that is.

It seems to be a moot point now, though, as the routing solution I
posted earlier appears to be working wonderfully.


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] followup to request for centos C/W

2010-01-20 Thread Miguel Di Ciurcio Filho
On Wed, 20 Jan 2010 21:43:44 +0100 (CET)
fabien faye  wrote:

> Like i have understood, xen could be also present and support on
> RHEL6 and in this case, it could be supported until the cycle of RHEL
> 6. But is it preferable to migrate all your xen to kvm in a near
> furtur.

Not going to happen. It's extremely unlikely that RHEL 6 is going to
ship with the Xen hypervisor, only support to be run as domU (this is a
speculation of mine).

Miguel

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos