Grokbase
Topics Posts Groups | in
x
[ help ]

Les Mikesell (lesmik...@gmail.com)

Profile | Posts (637)Page 3 of 32: << < 1 2 3 4 5 > >>
41) Les Mikesell Re: [CentOS] Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?
| +1 vote
Are you leading by example here?
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Vandaman wrote:
> Milton Calnek wrote:
>
>> Sorry, I missed the question. I'm severely confused
>> and I don't know what I'm talking about.
>
> My friend, stop misquoting me. See
> http://lists.centos.org/pipermail/centos/2008-November/067393.html

Are you leading by example here?

--
   Les Mikesell
    [email protected: lesmik...@gmail.com]


_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
42) Les Mikesell Re: [CentOS] HA Storage Cookbook?
| +1 vote
My solution for semi-critical stuff (i.e. a few minutes of downtime won't cost the 6 figures it...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Gordon McLellan wrote:
> Les,
>
> That's pretty much my problem. I was hoping to kill two birds with
> one stone here. First order of business is to replace the single
> drive with a raid array. Second order was to replace a single iscsi
> server with duo of machines. If one machine had some sort of
> non-recoverable problem, the other could pick-up the torch and carry
> on, even if that means I need to "flip a switch" to make it happen.
>

My solution for semi-critical stuff (i.e. a few minutes of downtime
won't cost the 6 figures it would take to prevent it) has been to use
RAID1 in a chassis with hot-swap carriers and keep a spare chassis
handy.  That way the common case of a disk failure doesn't even cause a 
slowdown and you can rebuild at an off-peak time without shutting down
and in the much less likely case of a motherboard failure you yank the
drives, put them in the other box and reboot.  But, that means you are 
probably limited to 6 disks total with half used as mirrors and you
still need backups for software or site disasters.

The next step up from this would be DRBD to keep hot copies on the spare
machine but I've always gotten away with one spare chassis for several
active servers (and sometime using it for testing other things too...).

You do need to know about the NIC hardware address in
/etc/sysconfig/ifcfg-eth? when swapping disks around, though.

--
   Les Mikesell
    [email protected: lesmik...@gmail.com]
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
43) Les Mikesell Re: [CentOS] HA Storage Cookbook?
| +1 vote
It's the same connector except keyed so you can plug a SATA device into a SAS backplane but not the...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Ray Van Dolson wrote:
> On Fri, Nov 07, 2008 at 10:49:22AM -0500, Gordon McLellan wrote:
>> Ray,
>>
>> I meant SAS; specifically Seagate Barracuda ES.2 drives. Here's a
>> tiny version of their huge url:
>>
>> http://tiny.cc/3X9fI
>>
>> No, they are not the super fast and expensive 15krpm database drives.
>>
>> -Gordon
>
> Ah. So the description says it's a SATA drive, but I guess the
> connector is SAS...

It's the same connector except keyed so you can plug a SATA device into
a SAS backplane but not the reverse.   SAS controllers are required to 
support SATA devices.

--
   Les Mikesell
    [email protected: lesmik...@gmail.com]




_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
44) Les Mikesell Re: [CentOS] HA Storage Cookbook?
| +1 vote
But, I think the OP's real problem is that everything is tied to one single large drive (i.e. the...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Gordon McLellan wrote:
> Ray,
>
> I meant SAS; specifically Seagate Barracuda ES.2 drives. Here's a
> tiny version of their huge url:
>
> http://tiny.cc/3X9fI
>
> No, they are not the super fast and expensive 15krpm database drives.


But, I think the OP's real problem is that everything is tied to one
single large drive (i.e. the software mirroring is mostly irrelevant as
well as the controller type).  These would get you a queue of 
outstanding commands compared to a SATA, but if you want a big
difference in throughput or less latency when multitasking you really
have to split things over a bunch of drives, either with some other type
of raid or explicitly mounting different filesystems so you can control
which things compete for the disk head position.

--
   Les Mikesell
    [email protected: lesmik...@gmail.com]

_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
45) Les Mikesell [CentOS] apache content rewriting?
| +1 vote
I'm using apache with mod_proxy to make the server appear at a different location and port and need...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
I'm using apache with mod_proxy to make the server appear at a different
location and port and need to tweak some absolute references in the
content as it goes by.  mod_proxy_html looked promising - and appears to 
work - but seems to be making the httpd process consume a lot of CPU on
occasion.  mod_substitute as included in more recent apache versions 
should work and mod_sed is another possibility.   Has anyone solved this 
problem with the version of httpd in RHEL/Centos?

--
   Les Mikesell
    [email protected: lesmik...@gmail.com]

_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
46) Les Mikesell Re: [CentOS] CentOS 5.2 and Bacula
| +1 vote
via rsync, backuppc is perfectly capable of maintaining offsite backups over a vpn without...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Paul Heinlein wrote:
> On Wed, 5 Nov 2008, Filipe Brandenburger wrote:
>
>> IMHO, if you still use tapes, forget the past and move to the future
>> of disk-based backups, and adopt Backuppc as your tool.
>
> There are trade-offs here. Tapes are generally regarded as having a
> longer shelf life than disks, and they're less susceptible to physical
> damage during transport -- both important if off-site backups are part
> of your strategy.

On the other hand, given bandwidth suitable for keeping up with changes
via rsync, backuppc is perfectly capable of maintaining offsite backups
over a vpn without transporting anything.  And for life span you can use 
raid mirrors and replace a drive every couple of years.  Also, backuppc 
can generate a tar imaage that you can write to other media for archival
storage and the ability to restore without the application running - it
isn't particularly handy but it is possible.

--
   Les Mikesell
    [email protected: lesmik...@gmail.com]
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
47) Les Mikesell Re: [CentOS] [rsync -avz] total size/disk usage difference between source and destination
| +1 vote
That's generally not a problem, but you'll get a snapshot of changing files, like growing logfiles,...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Sven wrote:
> Thanks for feedback.
>
> After doing a little bit research I found that the application (Apache
> Tomcat) and backup (Veritas NetBackup) was running during the copy
> job.
>
> What influence have a running Tomcat and NetBackup on rsync?
> What rsync (running as root) do if there are read-only files?

That's generally not a problem, but you'll get a snapshot of changing
files, like growing logfiles, and if a file is deleted while still open
it will still consume space on the source as seen by 'df' until the
application closes it or exits but it won't be copied.

--
   Les Mikesell
     [email protected: lesmik...@gmail.com]
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
48) Les Mikesell Re: [CentOS] Forward all traffic from public IP A to public IP B?
| +1 vote
I think it is the wrong answer to any possible problem (compared to changing DNS or whatever it...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Morten Sundstrøm wrote:
>
> No nothing will go back from B through A, traffic from B vil go directly
> to the quering host. Sort of like manipulate the header of every packet
> changing destination IP to New destination IP and let the new
> destination host answer the query. Maybe im way of here :) and if I am
> then somone just say it and i will forget the whole ting.

I think it is the wrong answer to any possible problem (compared to
changing DNS or whatever it takes to make the connection request go to
the right place on its own).  Your iptables DNAT line would work to get 
the packet to the other host - and you should be able to see that with
tcpdump.  However, when host B responds back to the original source 
address it won't complete a connection to the socket waiting for
something from host A.


--
   Les Mikesell
    [email protected: lesmik...@gmail.com]



_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
49) Les Mikesell Re: THANKS - Re: [CentOS] [OT] List of all email users
| +1 vote
_And_ keep in mind that you are going to get replies and probably spam to this address. So you'll...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
mouss wrote:
> Jussi Hirvi wrote:
>> Thanks Mouss and others. I have now more than enough to get on with.
>>
>> mouss ([email protected: m...@netoyen.net]) kirjoitteli (2.11.2008 19:39):
>>> why comma? isn't LF better (one user per line)?
>>
>> LF or comma, it doesn't matter much. I said comma, because I am going to
>> utilize the list to build one huge alias "my_email_customers". :-)
>>
>
> if the list is huge, you may run into problems. better use a mailing-list.
>

_And_ keep in mind that you are going to get replies and probably spam
to this address.  So you'll probably want to turn on the moderation 
feature of the list.

--
   Les Mikesell
    [email protected: l...@gmail.com]
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
50) Les Mikesell Re: [CentOS] Re: ls and rm: "argument list too long"
| +1 vote
Is that peculiar to bash? I thought the `command` construct was expanded by shells into the command...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Robert Nichols wrote:
>
>> These shouldn't make any difference. The limit is on the size of the
>> expanded shell command line.
>
> Really?
>
> $ M=0; N=0; for W in `find /usr -xdev 2>/dev/null`; do M=$(($M+1));
> N=$(($N+${#W}+1)); done; echo $M $N
> 156304 7677373
>
> vs.
>
> $ /bin/echo `find /usr -xdev 2>/dev/null`
> bash: /bin/echo: Argument list too long
>
> For the first case, the shell never tries to pass the list as command
> arguments.
> It builds the list internally, limited only by memory size, and
> processes the
> words one by one.

Is that peculiar to bash?  I thought the `command` construct was 
expanded by shells into the command line before being evaluated.


--
   Les Mikesell
    [email protected: lesmik...@gmail.com]
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
51) Les Mikesell Re: [CentOS] ls and rm: "argument list too long"
| +1 vote
These shouldn't make any difference. The limit is on the size of the expanded shell command line....
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
thad wrote:
> Satchel Paige - "Don't look back. Something might be gaining on you."
>
>
> On Fri, Oct 17, 2008 at 4:36 AM, Laurent Wandrebeck
> <l.wandrebeck@gmail.com> wrote:
>> 2008/10/17 Jussi Hirvi <greenspot@greenspot.fi>:
>>> Since when is there a limit in how long directory listings CentOS can show
>>> (ls), or how large directories can be removed (rm). It is really annoying to
>>> say, for example
>>>
>>>    rm -rf /var/amavis/tmp
>>>
>>> and get only "argument list too long" as feedback.
>>>
>>> Is there a way to go round this problem?
>>>
>>> I have CentOS 5.2.
>>>
>>> - Jussi
>> try something like:
>> for i in /var/amavis/tmp/*
>> do
>>    rm -rf $i
>> done
>
> it should be:
>
> for i in `ls  /var/amavis/tmp`
> do
> rm $i
> done

These shouldn't make any difference.  The limit is on the size of the 
expanded shell command line.  The original example won't cause it.  The 
ones that expand a list with a * or the output of ls may.  The right 
solution is to let rm recurse with -r or to potentially long list to xargs.

--
   Les Mikesell
    [email protected: lesmik...@gmail.com]
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
52) Les Mikesell Re: [CentOS] Recommended Configuration Control Software?
| +1 vote
Anything that is installed via RPM is already databased and tracked. if you edit something you have...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Sean Carolan wrote:
> We have several dozen production Linux servers and I would like to
> have better control over what files are changed, by whom, when they
> were changed, etc. Because these are all production servers that are
> in use 24x7, we do not have the luxury of simply doing a clean build,
> taking md5sums of each file, and then doing fresh installations. I
> need a system that can take in-place snapshots of each server's
> configuration files, store them in some kind of database or text file,
> and notify me whenever something changes.

Anything that is installed via RPM is already databased and tracked.  if 
you edit something you have to track it yourself.  I don't know of a 
good tool for this.  For the things I edit frequently and the changes 
aren't obvious (like DNS zone files), I commit the changes to a CVS
server that has viewcvs for easy browsing and diff-ing against earlier
versions.

> I've used tripwire in the past - do you have any other recommendations
> for this type of project?

Tripwire doesn't help when you need to put things back the way they were
a version or two back.  Backups are always a good thing and a 
brute-force approach would be to rsync your /etc directories off to some
other machine, perhaps using the backup-dir option to keep some old
versions around.  Running rsync with the -v and -n options will tell you 
if anything changed compared to the last copy. I'm surprised that there
isn't a good tool built on top of one of the version control systems
that could treat similar machines as branches, though.  What needs to be 
done is very similar to other version control concepts and everyone
needs it.

--
   Les Mikesell
    [email protected: lesmik...@gmail.com]

_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
53) Les Mikesell Re: [CentOS] new list proposal
| +1 vote
How can a forum possibly be the right place to discuss what people care about in mailing lists? At...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Akemi Yagi wrote:
>
> I can go on with my response to your personal view, but doing so would
> be way off-topic here in this thread. Therefore, I started an open
> discussion session in the right place for this topic - not
> surprisingly - in the CentOS forum:

How can a forum possibly be the right place to discuss what people care
about in mailing lists?  At least until someone sets up a gateway...

--
   Les Mikesell
    [email protected: lesmik...@gmail.com]
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
54) Les Mikesell Re: [CentOS] Shipping CentOS as part of a solution