Re: [CentOS] Caught between a Red Hat and a CentOS

2009-10-21 Thread Rob Townley
On Tue, Oct 20, 2009 at 6:47 AM, Joseph L. Casale
 wrote:
>>Remember that windows integration website ( don't remember the name
>>but related to nLite and ryanvm) shutdown by Microsoft - it made a
>>great deal of news because they had scripts to take out annoyances
>>such as balloons popping up in the taskbar.  MS lawyers had them
>>disbanded
>
> For a good reason, because silly non-admins where using nlite in a corporate
> environment? WTF, if you take all of RHELS rpms and recompile them in an
> unsupported manor then call for help, what do you think they will do?
>
> You have got to be kidding me, ms should just support anything anyone wants
> to do? Sigh...

The point was that there were at least thousands of publicly
documented instances of the first line of support was to wipe n
reinstall.  Should users have to wait 9 years to get some balloons
turned off?  The changes were registry key changes documented by MS,
not exactly recompiles.

No, i don't think MS should have to support nLite modifications, but
wouldn't the money spent on lawyers have been better spent on giving
customers what they wanted.  And when one stops and thinks about src
rpms .

>
>>It takes way too much time to install a windows system from scratch, configure
>>how you want it,  and then install all the apps on top and then all the 
>>updates
>>and then all the updates to the apps ad nauseam. Oh, you want to image that
>>harddrive now?  Well you get 3 attempts with sysprep and then you start all
>>over - no thanks..
>
> Well, if you need some guidance on how to do this, I would be willing to help.
> Even at home I use RIS/WDS and deploy almost all of my apps to windows lab 
> vm's
> with GPO's. So, unfortunately yes, I do *completely* automated deployments 
> that
> setup all my apps and even pre-populate some settings at the push of F12. When
> I didn't have this knowledge, I never assumed Bill was an a$$hole, I took the
> time to learn it. Same with Linux, when I never had kickstart knowledge and
> couldn't automate my CentOS deployments, I never assumed KB or the CentOS devs
> were scumbags, I took the time to learn it:)

'yum repolist' lists 19,107 packages i can install in a heartbeat.
How many 3rd party apps do you actually install?How many windows
packages do you have to spend _time_ repackaging with a $1500 and
$more windows MSI installer package to get it pushed out correctly
with standard gpos?  For the non MSI apps, how long did it take to
contact the developer and hunt down the parameters to answer yes,yes,
product-key=XXX-ZG123-56787-01l1l1Il (r those ones, letter i, letter
L, zeros?).

i never thought of Bill in a negative light.  i didn't downgrade to
WinXP and deployed WinVista except to all but my workstations.   A MS
technical account executive is giving a breakfast security meeting in
6 hours where i live on why patch management is a big problem that
will NOT be going away.   Maybe MS will come out with something akin
to yum.repos app store, but it will never have all the proprietary
software you will need and oh yeah - it will cost money over and over.

>
> Guess what, now I can do both! Wow...

Guess what, i can too.How many families can afford the licensing
fees for a windows server at home?  Why not use OCSinventory-ng or
FreeGhost?  Winner?

>
> This useless thread will never end, FOSS guys have their sh!t in a knot over
> MS for reason of which I have my own opinions. Bottom line is, I work with 
> both
> and quit successfully get equivalent uptimes and QOS with both. Many guys do 
> it,
> it's possible. I met one of the guys who did the barnes and noble setup at an 
> msdn
> conference, I guess that successful setup wasn't the result of competent guys
> who actually knew their sh!t and did a good job, but just dumb luck. Mama 
> always
> said if I could be smart or lucky, it was better to be lucky:)

You may even get longer uptimes with MS, but how much time do you have
to spend patching all those 3rd party applications?   All those apps
developed by the vast majority of developers that believe that if
their install process is half as good as MS Office, we're golden.
Those other users of MSDN that still require their users to have full
admin privs bc that is how we developed the software because the MS
developer tools required Administrator privileges to compile the exe?
Those same MSDN developers that do not see anything wrong with web
browsing with admin privileges.  i have been using NTFS permissions
since the mid 90's and just last Friday had to explain to one of our
vendor's overpaid, MSDN reading C# experts the concept of 'Least
Privilege'.

i have read and enjoyed many of your posts Joe, consider unwinding
some of those knots, the cussing doesn't help.

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

Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Rudi Ahlers
On Tue, Oct 20, 2009 at 10:12 PM, John R Pierce  wrote:
> Rudi Ahlers wrote
>> Simple, it's only a NAS device, and not really a file server / web
>> server / data base server as well. The purposes I needed is to replace
>> SMB on the network, and iSCSI seemed like a good alternative. The
>> server in question is a dev server, which I thought would be
>> beneficial to setup as an iSCSI server as well and connect other
>> servers to it's storage, and thus consolidate the storage on it :)
>>
>
>
>
> whoa.  ISCSI is *NOT* a NAS/SMB replacement.
>
>
> ISCSI is a SAN replacement, a low budget (and lower performance)
> alternative to Fibrechannel..   a given iSCSI target volume can only be
> accessed by a single initiator (client) at a time, unless you're running
> some sort of cluster file system that supports shared block devices.
>
>
> ___


John, you're right. iSCSI isn't an SMB replacement as I have learned
through all of this. SMB is good for sharing data between many PC's,
and even servers, but from what I understand it's also slower that
iSCSI and won't allow me to scale the storage by simply adding another
cheap server to the network. With iSCSI I could / should be able todo
that.

OR am I approaching this from a different angle? If I wanted to setup
a server to serve content (in this case file storage, www, email &
SQL) to a network of computers, would iSCSI have served the purpose?
Or should I have kept using SMB? I am looking for a way to quickly
expand the whole setup though. If we need more space, then I just want
to add another cheap server with a 1TB HDD, and have it available on
the network. It is my impression that I could use iSCSI, probably
together with XFS, to accomplish this?


-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] full-fledge PDF editor for Linux

2009-10-21 Thread Rob Townley
On Tue, Oct 20, 2009 at 9:25 PM, MHR  wrote:
> On Tue, Oct 20, 2009 at 5:14 PM, Rob Townley  wrote:
>>
>> Acrobat isn't easy to use either.  i find it kinda clunky and not
>> intuitive.  Maybe it is the nature of vector graphics and text.
>>
>> InkScape for graphics imports / exports pdf.
>> The SVG can be edited in theory in a text editor because it is XML.
>>
>> ps2pdf  <-->   pdf2ps
>>
>> xhtml2ps | ps2pdf
>
> I have had problems with ps2pdf - a lot of the time it just plain
> fails, especially if the output is fancy-formatted (like dual
> columns).
>
> OpenOffice can export its documents as pdfs, which can provide a lot
> of the functionality, but as for editing an existing PDF, I don't know
> of a cheap, simple solution.  Acrobat is probably the best, and it's
> expensive (by my budget framework).
>
> mhr
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

i am having problems with ps2ascii tonight - wonder if ghostscript
versions are clobbering one another.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Rainer Duffner
Rudi Ahlers schrieb
>
> John, you're right. iSCSI isn't an SMB replacement as I have learned
> through all of this. SMB is good for sharing data between many PC's,
> and even servers, but from what I understand it's also slower that
> iSCSI and won't allow me to scale the storage by simply adding another
> cheap server to the network. With iSCSI I could / should be able todo
> that.
>
>   


iSCSI is just a protocol.
It doesn't say anything about the underlying storage.
http://en.wikipedia.org/wiki/ISCSI

You can have a SAN (HP EVA, EMC, whatever) and still have that served
via iSCSI by an additional piece of hardware you buy.
Or you can have a NAS like NetApp and buy another of those ridiculously
expensive licenses and then you can server iSCSI with that, too.

What your storage looks like doesn't matter. The initiators just talk
the iSCSI-protocol to the target.


> OR am I approaching this from a different angle? If I wanted to setup
> a server to serve content (in this case file storage, www, email &
> SQL) to a network of computers, would iSCSI have served the purpose?
>   

Yes.
Allthough, as iSCSI uses the ethernet-network, you need good switches.
Because, your actually data-traffic has to go through the same network.


> Or should I have kept using SMB? I am looking for a way to quickly
> expand the whole setup though. If we need more space, then I just want
> to add another cheap server with a 1TB HDD, and have it available on
> the network. It is my impression that I could use iSCSI, probably
> together with XFS, to accomplish this?
>   

No, it doesn't quite work like that.
At least, for any trivial setup that doesn't involve some
storage-virtualization software.

If you can afford it, NetApp is a good solution for what you want to
achieve.
Or try one of the new SUN storage boxes.

If that is out of your (financial) league, you can build the same
functionality as the SUN OpenStorage boxes with your own hardware and
OpenSolaris - although you will not have the extensive analytics and the
ease of use of the GUI.
I wouldn't use any of the cheap SOHO NASes mentioned before in this thread.
Build your own from HP, Dell or IBM hardware and preferably OpenSolaris.
(I know, sounds weird on a CentOS-list).

For example: if your cheap "NAS"'s storage controller dies, are you sure
that the replacement unit's controller you get can actually read the data?
Also, if you have data on iSCSI, you really need hardware with almost no
unplanned downtime. Even planned downtime can be difficult to manage,
because so many servers depend on the iSCSI-targets and you'd have to
shutdown maybe a dozen or more servers for that single reboot.

Centralized storage is nice for management and backup, offers a lot of
possibilities regarding efficiency and utilization - but tends to create
single points of failure that just don't exist with direct attached storage.




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


[CentOS] local centos repository upgrade from 5.3 to 5.4

2009-10-21 Thread Paul Herbosch
Hi list,

I run quite a few centos 5.3 servers and have a local yum repository  
which is working fine.
Below a list of what I'm rsyncing at the moment + an extract from my / 
etc/yum.repos.d/CentOS-Base.repo file
I copied the OS directory from the install media and ran createrepo on  
that dir.

I would like to upgrade my servers to 5.4.
I was wondering if I could simply replace the '5.3' part in the rsync  
source to '5.4' ?
Or is there more to it?

Thank you in advance,
Kind regards,

Paul Herbosch

=== What I'm currently rsyncing ===
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/addons/i386 -- 
exclude=debug/ /var/www/html/centos/5/addons/
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/centosplus/ 
i386 --exclude=debug/ /var/www/html/centos/5/centosplus/
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/contrib/i386  
--exclude=debug/ /var/www/html/centos/5/contrib/
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/extras/i386 -- 
exclude=debug/ /var/www/html/centos/5/extras/
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/updates/i386  
--exclude=debug/ /var/www/html/centos/5/updates/

=== Local /etc/yum.repos.d/CentOS-Base.repo file ===
[base]
name=CentOS-$releasever - Base
# 
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mylocalreposerver/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
# 
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://mylocalreposerver/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

etc...

--
Paul Herbosch
Operations
TBWA\ Worldwide IT
Mobile: +32 477 36 81 92
www.mytbwa.com/Technology



This e-mail is intended only for the named person or entity to which
it is addressed and contains valuable business information that is 
privileged, confidential and/or otherwise protected from disclosure. 
If you received this e-mail in error, any review, use, dissemination,
distribution or copying of this e-mail is strictly prohibited.   
Please notify us immediately of the error via e-mail to 
disclai...@tbwaworld.com and please delete the e-mail from your system, 
retaining no copies in any media.
We appreciate your cooperation.

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


[CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat and a CentOS)

2009-10-21 Thread ken

On 10/20/2009 12:15 PM Benjamin Franz wrote:
> ken wrote:
>> Okay, here's one. Maybe someone here can figure it out.
>> Upgrading from 4.5 to 4.5.  From a 4.6 ISO I copied all the RPMs into a
>> directory... let's call it c:/install :).   Now the oracle dba has
>> strict parameters on what versions can be installed and which can't.
>> The rpms in c:/install meet those requirements.  In addition, since this
>> is a production machine, it can be down at most for one day.  So all I
>> want to do is upgrade what's currently on the system.  Moreover, if
>> something horks, I want two chances to back out (the second being asking
>> the backup guy to put the system back to yesterday).  The command to do
>> this would be
>>
>> rpm --freshen --repackage *
>>
>> run in that crazy c:/install directory (or what the redhat guy called, a
>> "folder").  This command runs fine for one file which has no
>> dependencies (i.e., change '*' to a specific rpm).  It also upgrades
>> three or four co-dependent rpms if they're narrowly specified.  But if
>> the file/rpm spec is '*', rpm complains about two missing dependencies
>> and stops.
>>
>> Yeah, this directory contains 1507 rpms (IIRC)... which is a lot, but it
>> should still work.  This is Linux, after all.  And there's plenty enough
>> memory and cpu to handle it.
>>   
> 
> Running
> 
> rpm --freshen --repackage * 
> 
> for 1500+ rpms  probably exceeds the maximum character length for some 
> part of the system after expansion of the '*'  by the shell.

That was my first suspicion too.  The redhat tech didn't bring that up
though.  (That doesn't mean I'm going to ignore that as a possible
workaround; the original conversation here was about tech support per
se.  Of course I'm still seeking ways to do the job.  And so thanks for
the suggestion.)

I, too, recall reading some years back about a bash line length limit.
Back then, a long time ago, it was 2048 characters.  So I ran "echo *"
in that same install/ directory and the output included all 1507 files.
 So the problem's not with a bash command line length limit, but still
pointing to the "rpm" command.



> 
> Try breaking it up into smaller chunks (say two or three hundred at a 
> time). You can match subsets of the files using shell expansions like
> 
> rpm --freshen --repackage [a-g]*
> 
> and tweak the line for any dependency complaints manually.

This solution occurred to me also.  And right now it's a top contender
(along with another I'll mention shortly).  If the job environment were
different, I'd go with it.  But my boss is making me jump through a lot
of hoops for this project.  This upgrade from v.4.5 to v.4.6 needs to
happen in a single, specified day *and* my boss needs to know how long
it will take me to accomplish, this so the Oracle dba knows when he can
start to on what he's got to do for this upgrade.  And I have at most
fifteen hours (i.e., two working days) to come up with this fool-proof
plan.  Plus, I don't have a test box to try things out on.  But I've had
to do trickier stuff than this in the past with not dissimilar time
constraints, so though I should be taking extra boxers to work, I'm not
(yet).

So what I was thinking of doing is scripting the solution you suggest
above.  But then, if I'm going to script something, I might as well
write a script that will take on the entire task wholistically.  I mean
something like this:

ls -1 install/ > what-to-upgrade.list  # create package list
while read package | {upgrade package}  #just quasi-code here. Loop.
if {there's nothing to upgrade}
  remove pkg from what-to-upgrade.list
  log this
  continue
fi
if {there are dependencies}
then for {each dependency} {upgrade package}  # yep, recursion
fi
else [upgrade package} # simplest case, just upgrade one pkg

The {upgrade package} function would be fairly simple (I think):
- Find the correct package in the install/ directory (containing the
RPMs for v.4.6).
- Upgrade the 4.5 package with that correct 4.6 package.
- Confirm that the 4.6 is installed.
- Remove that package name from what-to-upgrade.list
- Log that this package has been upgraded.

I already see some bogus stuff here, but I'm writing this on the fly.
Point is, it seems do-able, and probably within the time constraints.
And then, what are the alternatives?

One, suggested by the redhat tech (about whom there's more news...
later), is to use up2date.  I read the manpage on it and it's pretty
vague.  I'm sure I have, but I don't recall using it before, so I can't
fill in the details which the manpage lacks.  Lastly, I don't see a way
to test up2date to see if it will work within my (dba's) specific
parameters.


Benjamin, thanks for your constructive response.  Any further such (from
you or anyone else) will be much appreciated.

Best,
ken

> 
> Alternatively, use 'createrepo' to create a Yum repository of the RPMs 
> and use yum to handle it for you.
> 
___
CentOS mailing list
CentOS@c

Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Rudi Ahlers
On Wed, Oct 21, 2009 at 10:36 AM, Rainer Duffner  wrote:
> Rudi Ahlers schrieb
>>
>> John, you're right. iSCSI isn't an SMB replacement as I have learned
>> through all of this. SMB is good for sharing data between many PC's,
>> and even servers, but from what I understand it's also slower that
>> iSCSI and won't allow me to scale the storage by simply adding another
>> cheap server to the network. With iSCSI I could / should be able todo
>> that.
>>
>>
>
>
> iSCSI is just a protocol.
> It doesn't say anything about the underlying storage.
> http://en.wikipedia.org/wiki/ISCSI
>
> You can have a SAN (HP EVA, EMC, whatever) and still have that served
> via iSCSI by an additional piece of hardware you buy.
> Or you can have a NAS like NetApp and buy another of those ridiculously
> expensive licenses and then you can server iSCSI with that, too.
>
> What your storage looks like doesn't matter. The initiators just talk
> the iSCSI-protocol to the target.
>
>
>> OR am I approaching this from a different angle? If I wanted to setup
>> a server to serve content (in this case file storage, www, email &
>> SQL) to a network of computers, would iSCSI have served the purpose?
>>
>
> Yes.
> Allthough, as iSCSI uses the ethernet-network, you need good switches.
> Because, your actually data-traffic has to go through the same network.
>
>
>> Or should I have kept using SMB? I am looking for a way to quickly
>> expand the whole setup though. If we need more space, then I just want
>> to add another cheap server with a 1TB HDD, and have it available on
>> the network. It is my impression that I could use iSCSI, probably
>> together with XFS, to accomplish this?
>>
>
> No, it doesn't quite work like that.
> At least, for any trivial setup that doesn't involve some
> storage-virtualization software.
>
> If you can afford it, NetApp is a good solution for what you want to
> achieve.
> Or try one of the new SUN storage boxes.
>
> If that is out of your (financial) league, you can build the same
> functionality as the SUN OpenStorage boxes with your own hardware and
> OpenSolaris - although you will not have the extensive analytics and the
> ease of use of the GUI.
> I wouldn't use any of the cheap SOHO NASes mentioned before in this thread.
> Build your own from HP, Dell or IBM hardware and preferably OpenSolaris.
> (I know, sounds weird on a CentOS-list).
>
> For example: if your cheap "NAS"'s storage controller dies, are you sure
> that the replacement unit's controller you get can actually read the data?
> Also, if you have data on iSCSI, you really need hardware with almost no
> unplanned downtime. Even planned downtime can be difficult to manage,
> because so many servers depend on the iSCSI-targets and you'd have to
> shutdown maybe a dozen or more servers for that single reboot.
>
> Centralized storage is nice for management and backup, offers a lot of
> possibilities regarding efficiency and utilization - but tends to create
> single points of failure that just don't exist with direct attached storage.
>
>
>
>
> Rainer
> ___


Hi Rainer,

I honestly don't want to spend a lot of cash on a proprietary system
like NetApp and actually want to use a lot of old tower machines (i.e.
limited space for hard drives, and no redundancy, slower CPU's, etc)
we already have. CentOS is my preferred OS of choice, and I don't know
Solaris, at all. I could probably give it a go, but not right now.

The setup I'm hoping to achieve is as follows:
We develop a lot of PHP + MySQL based intranet and internet
applications, so the main server currently runs Apache + PHP + MySQL +
Zend, etc.

Some of the applications require large volumes of data which is
currently saved on the sambas server. This makes it easy, as any one
on the LAN can add / remove data to the SMB server, and the PHP app
can also access it. But I still have a problem, that if the storage
runs out, and I add another box to the network, then it's a different
server with a new storage point - not ideal.

I was hoping with iSCSI to join these storage servers into one large
storage volume, together with XFS (or ClusterFS / GclusterFS?) and
thus have anyone connect to one "central server", both for
development, file storage and even email. Everything runs on Gigabit
switches, so that's not a problem, and redundancy isn't the highest
issue either.I'm not too concerned with that, for this particular
project.

So, trying to use existing hardware, and preferably CentOS (I would
prefer not to reinstall the server right now), what else (if iSCSI
isn't right) would I rather use,if I want to consolidate the storage
of a few Linux machines, and export it over the LAN to various
workstations?



Another project altogether though would require a similar setup with
cheap central storage server(s) at a data centre - but this will
purely be a storage server for XEN virtual machines to connect to, and
store backup data. For this OpenFiler works very well

Re: [CentOS] 5.4 at last?

2009-10-21 Thread fred smith
On Tue, Oct 20, 2009 at 08:58:59PM -0400, Mathew S. McCarrell wrote:
> On Tue, Oct 20, 2009 at 8:08 PM, fred smith
> wrote:
> 
> > Now that it appears that some folks are able to get the 5.4 downloads
> > (and a GREAT BIG THANK YOU to all the centos team members who make this
> > possible!) I'm wondering when the updates will begin flowing so that those
> > of us running 5.3 can do "yum upgrade" and enjoy all the benefits too?
> >
> > Thanks in advance!
> >
> >
> You must be patient!  Many of the mirrors (including the one that I
> maintain) are still syncing 5.4 due to issues that arose.  Wouldn't you
> prefer to pull your packages from a mirror that won't give you 404s?  :D

You bet I would! Thanks for the update.


-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart."  
 Hebrews 4:12 (niv) --
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Rainer Duffner
Rudi Ahlers schrieb:
>
> Hi Rainer,
>
> I honestly don't want to spend a lot of cash on a proprietary system
> like NetApp and actually want to use a lot of old tower machines (i.e.
> limited space for hard drives, and no redundancy, slower CPU's, etc)
> we already have. CentOS is my preferred OS of choice, and I don't know
> Solaris, at all. I could probably give it a go, but not right now.
>
> The setup I'm hoping to achieve is as follows:
> We develop a lot of PHP + MySQL based intranet and internet
> applications, so the main server currently runs Apache + PHP + MySQL +
> Zend, etc.
>
> Some of the applications require large volumes of data which is
> currently saved on the sambas server. This makes it easy, as any one
> on the LAN can add / remove data to the SMB server, and the PHP app
> can also access it. But I still have a problem, that if the storage
> runs out, and I add another box to the network, then it's a different
> server with a new storage point - not ideal.
>   

That means you either need a bigger central server or something like
pNFS or Lustre.
http://www.opensolaris.org/os/project/nfsv41/
http://en.wikipedia.org/wiki/Lustre_(file_system)
The later also owned by SUN, now.

The stuff you want is really mainly found in gear provided by vendors
that supply storage for HPC-clusters...


> So, trying to use existing hardware, and preferably CentOS (I would
> prefer not to reinstall the server right now), what else (if iSCSI
> isn't right) would I rather use,if I want to consolidate the storage
> of a few Linux machines, and export it over the LAN to various
> workstations?
>
>
>   


I'm not sure what the status of pNFS is in Linux (given the fact that
NFS on Linux has only relatively recently "matured").



cheers,
Rainer


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


Re: [CentOS] Console priority

2009-10-21 Thread Lincoln Zuljewic Silva
List archive: http://lists.centos.org/pipermail/centos/

On Tue, Oct 20, 2009 at 7:34 PM, Daniel Bird  wrote:
> Hi all,
> A while back I vaguely remember someone posting a link to documentation
> on how to prioritise console access (for want of a better expression).
> For the life of me I can't find it in the archives or via Google; Can
> anyone provide a URL?
>
> Basically, I have a remote server that thrashes (that's my theory at
> least) occasionally, resulting in the service (httpd/mysql)  failing.
> When its in this state logging on to the console (serial + screen)
> responds with "login timeout". The only way back from this at the moment
> is a reboot.. If I can prioritize console access somehow and get on to
> the server I may find a clue as to what's causing it.
>
> Cheers
> Dan
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Lincoln Zuljewic Silva
More contact info.: http://www.system.adm.br/contact.php

"How often must a question be asked before it’s considered a
frequently asked question?"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat and a CentOS)

2009-10-21 Thread David Fix
Sorry, don't have time to read the whole thread (busy day!), so please excuse 
me if I just add to the noise, but this may work for you (at a bash prompt): 


for x in *; do rpm --freshen --repackage $x; done 


If it's not what you're looking for, I apologize in advance. :) 


-- 
David Fix 


- Original Message - 
From: "ken"  
To: "CentOS mailing list"  
Sent: Wednesday, October 21, 2009 5:12:14 AM 
Subject: [CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat and a 
CentOS) 


On 10/20/2009 12:15 PM Benjamin Franz wrote: 
> ken wrote: 
>> Okay, here's one. Maybe someone here can figure it out. 
>> Upgrading from 4.5 to 4.5. From a 4.6 ISO I copied all the RPMs into a 
>> directory... let's call it c:/install :). Now the oracle dba has 
>> strict parameters on what versions can be installed and which can't. 
>> The rpms in c:/install meet those requirements. In addition, since this 
>> is a production machine, it can be down at most for one day. So all I 
>> want to do is upgrade what's currently on the system. Moreover, if 
>> something horks, I want two chances to back out (the second being asking 
>> the backup guy to put the system back to yesterday). The command to do 
>> this would be 
>> 
>> rpm --freshen --repackage * 
>> 
>> run in that crazy c:/install directory (or what the redhat guy called, a 
>> "folder"). This command runs fine for one file which has no 
>> dependencies (i.e., change '*' to a specific rpm). It also upgrades 
>> three or four co-dependent rpms if they're narrowly specified. But if 
>> the file/rpm spec is '*', rpm complains about two missing dependencies 
>> and stops. 
>> 
>> Yeah, this directory contains 1507 rpms (IIRC)... which is a lot, but it 
>> should still work. This is Linux, after all. And there's plenty enough 
>> memory and cpu to handle it. 
>> 
> 
> Running 
> 
> rpm --freshen --repackage * 
> 
> for 1500+ rpms probably exceeds the maximum character length for some 
> part of the system after expansion of the '*' by the shell. 

That was my first suspicion too. The redhat tech didn't bring that up 
though. (That doesn't mean I'm going to ignore that as a possible 
workaround; the original conversation here was about tech support per 
se. Of course I'm still seeking ways to do the job. And so thanks for 
the suggestion.) 

I, too, recall reading some years back about a bash line length limit. 
Back then, a long time ago, it was 2048 characters. So I ran "echo *" 
in that same install/ directory and the output included all 1507 files. 
So the problem's not with a bash command line length limit, but still 
pointing to the "rpm" command. 



> 
> Try breaking it up into smaller chunks (say two or three hundred at a 
> time). You can match subsets of the files using shell expansions like 
> 
> rpm --freshen --repackage [a-g]* 
> 
> and tweak the line for any dependency complaints manually. 

This solution occurred to me also. And right now it's a top contender 
(along with another I'll mention shortly). If the job environment were 
different, I'd go with it. But my boss is making me jump through a lot 
of hoops for this project. This upgrade from v.4.5 to v.4.6 needs to 
happen in a single, specified day *and* my boss needs to know how long 
it will take me to accomplish, this so the Oracle dba knows when he can 
start to on what he's got to do for this upgrade. And I have at most 
fifteen hours (i.e., two working days) to come up with this fool-proof 
plan. Plus, I don't have a test box to try things out on. But I've had 
to do trickier stuff than this in the past with not dissimilar time 
constraints, so though I should be taking extra boxers to work, I'm not 
(yet). 

So what I was thinking of doing is scripting the solution you suggest 
above. But then, if I'm going to script something, I might as well 
write a script that will take on the entire task wholistically. I mean 
something like this: 

ls -1 install/ > what-to-upgrade.list # create package list 
while read package | {upgrade package} #just quasi-code here. Loop. 
if {there's nothing to upgrade} 
remove pkg from what-to-upgrade.list 
log this 
continue 
fi 
if {there are dependencies} 
then for {each dependency} {upgrade package} # yep, recursion 
fi 
else [upgrade package} # simplest case, just upgrade one pkg 

The {upgrade package} function would be fairly simple (I think): 
- Find the correct package in the install/ directory (containing the 
RPMs for v.4.6). 
- Upgrade the 4.5 package with that correct 4.6 package. 
- Confirm that the 4.6 is installed. 
- Remove that package name from what-to-upgrade.list 
- Log that this package has been upgraded. 

I already see some bogus stuff here, but I'm writing this on the fly. 
Point is, it seems do-able, and probably within the time constraints. 
And then, what are the alternatives? 

One, suggested by the redhat tech (about whom there's more news... 
later), is to use up2date. I read the manpage on it and it's pretty 
vague. I'm su

Re: [CentOS] local centos repository upgrade from 5.3 to 5.4

2009-10-21 Thread Antonio da Silva Martins Junior
Hi :)
- "Paul Herbosch"  escreveu:
> 
> I run quite a few centos 5.3 servers and have a local yum repository 
> which is working fine.
> Below a list of what I'm rsyncing at the moment + an extract from my 
> /etc/yum.repos.d/CentOS-Base.repo file
> I copied the OS directory from the install media and ran createrepo on
> that dir.
>

  Well, I had some CentOS 5.3 and 4.8 servers too. But, I mirror the directory
structure and loop mount an ISO image on the "os" dir on it :)

> I would like to upgrade my servers to 5.4.
> I was wondering if I could simply replace the '5.3' part in the rsync 
> source to '5.4' ?
> Or is there more to it?

  When a new version is released I link copy the "old" structure to a new one
(cp -al 5.3 5.4), mount the new media under the "os" tree, and run rsync against
a mirror of the new structure. I do this because sometimes there are packages in
common betwen both versions and I didn't need to download it (or store it, as 
it is
only a hard link) again.

  When I think the new version is ok to run in my production servers I simply 
move
the upper link from one version to another, i.e. fom 5 -> 5.3  to 5 -> 5.4, the 
yum.conf
files are set to get from the "5" repo and not from "5.x" 

   Hope this helps 

 Antonio.

--   
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | "Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!"   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 "Real Programmers don’t need comments — the code is obvious."

-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.

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


Re: [CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat and a CentOS)

2009-10-21 Thread KFisler
The problem with such a loop is that only one pkg is the arg to each 
invocation of the rpm command.  So if there are any dependencies for a 
particular invocation, nothing will be installed.



From:
David Fix 
To:
CentOS mailing list 
Date:
10/21/2009 07:32 AM
Subject:
Re: [CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat and a 
CentOS)
Sent by:
centos-boun...@centos.org



Sorry, don't have time to read the whole thread (busy day!), so please 
excuse me if I just add to the noise, but this may work for you (at a bash 
prompt):

for x in *; do rpm --freshen --repackage $x; done

If it's not what you're looking for, I apologize in advance.  :)

--
David Fix


- Original Message -
From: "ken" 
To: "CentOS mailing list" 
Sent: Wednesday, October 21, 2009 5:12:14 AM
Subject: [CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat 
and a CentOS)


On 10/20/2009 12:15 PM Benjamin Franz wrote:
> ken wrote:
>> Okay, here's one. Maybe someone here can figure it out.
>> Upgrading from 4.5 to 4.5.  From a 4.6 ISO I copied all the RPMs into a
>> directory... let's call it c:/install :).   Now the oracle dba has
>> strict parameters on what versions can be installed and which can't.
>> The rpms in c:/install meet those requirements.  In addition, since 
this
>> is a production machine, it can be down at most for one day.  So all I
>> want to do is upgrade what's currently on the system.  Moreover, if
>> something horks, I want two chances to back out (the second being 
asking
>> the backup guy to put the system back to yesterday).  The command to do
>> this would be
>>
>> rpm --freshen --repackage *
>>
>> run in that crazy c:/install directory (or what the redhat guy called, 
a
>> "folder").  This command runs fine for one file which has no
>> dependencies (i.e., change '*' to a specific rpm).  It also upgrades
>> three or four co-dependent rpms if they're narrowly specified.  But if
>> the file/rpm spec is '*', rpm complains about two missing dependencies
>> and stops.
>>
>> Yeah, this directory contains 1507 rpms (IIRC)... which is a lot, but 
it
>> should still work.  This is Linux, after all.  And there's plenty 
enough
>> memory and cpu to handle it.
>> 
> 
> Running
> 
> rpm --freshen --repackage * 
> 
> for 1500+ rpms  probably exceeds the maximum character length for some 
> part of the system after expansion of the '*'  by the shell.

That was my first suspicion too.  The redhat tech didn't bring that up
though.  (That doesn't mean I'm going to ignore that as a possible
workaround; the original conversation here was about tech support per
se.  Of course I'm still seeking ways to do the job.  And so thanks for
the suggestion.)

I, too, recall reading some years back about a bash line length limit.
Back then, a long time ago, it was 2048 characters.  So I ran "echo *"
in that same install/ directory and the output included all 1507 files.
 So the problem's not with a bash command line length limit, but still
pointing to the "rpm" command.



> 
> Try breaking it up into smaller chunks (say two or three hundred at a 
> time). You can match subsets of the files using shell expansions like
> 
> rpm --freshen --repackage [a-g]*
> 
> and tweak the line for any dependency complaints manually.

This solution occurred to me also.  And right now it's a top contender
(along with another I'll mention shortly).  If the job environment were
different, I'd go with it.  But my boss is making me jump through a lot
of hoops for this project.  This upgrade from v.4.5 to v.4.6 needs to
happen in a single, specified day *and* my boss needs to know how long
it will take me to accomplish, this so the Oracle dba knows when he can
start to on what he's got to do for this upgrade.  And I have at most
fifteen hours (i.e., two working days) to come up with this fool-proof
plan.  Plus, I don't have a test box to try things out on.  But I've had
to do trickier stuff than this in the past with not dissimilar time
constraints, so though I should be taking extra boxers to work, I'm not
(yet).

So what I was thinking of doing is scripting the solution you suggest
above.  But then, if I'm going to script something, I might as well
write a script that will take on the entire task wholistically.  I mean
something like this:

ls -1 install/ > what-to-upgrade.list  # create package list
while read package | {upgrade package}  #just quasi-code here. Loop.
if {there's nothing to upgrade}
  remove pkg from what-to-upgrade.list
  log this
  continue
fi
if {there are dependencies}
then for {each dependency} {upgrade package}  # yep, recursion
fi
else [upgrade package} # simplest case, just upgrade one pkg

The {upgrade package} function would be fairly simple (I think):
- Find the correct package in the install/ directory (containing the
RPMs for v.4.6).
- Upgrade the 4.5 package with that correct 4.6 package.
- Confirm that the 4.6 is installed.
- Remove that package name from what-to-upgrade.list
- Log that this 

Re: [CentOS] Console priority

2009-10-21 Thread Daniel Bird

Lincoln Zuljewic Silva wrote:
> List archive: http://lists.centos.org/pipermail/centos/
>   
Thanks for not reading my post. See "I can't find it in the archives or
via Google" in the text below.
> On Tue, Oct 20, 2009 at 7:34 PM, Daniel Bird  wrote:
>   
>> Hi all,
>> A while back I vaguely remember someone posting a link to documentation
>> on how to prioritise console access (for want of a better expression).
>> For the life of me I can't find it in the archives or via Google; Can
>> anyone provide a URL?
>>
>> Basically, I have a remote server that thrashes (that's my theory at
>> least) occasionally, resulting in the service (httpd/mysql)  failing.
>> When its in this state logging on to the console (serial + screen)
>> responds with "login timeout". The only way back from this at the moment
>> is a reboot.. If I can prioritize console access somehow and get on to
>> the server I may find a clue as to what's causing it.
>>
>> Cheers
>> Dan
>> ___
>> 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] local centos repository upgrade from 5.3 to 5.4

2009-10-21 Thread Paul Herbosch
On 21 Oct 2009, at 13:48, Antonio da Silva Martins Junior wrote:

> Hi :)

Hi Antonio.

> - "Paul Herbosch"  escreveu:
>>
>> I run quite a few centos 5.3 servers and have a local yum repository
>> which is working fine.
>> Below a list of what I'm rsyncing at the moment + an extract from my
>> /etc/yum.repos.d/CentOS-Base.repo file
>> I copied the OS directory from the install media and ran createrepo  
>> on
>> that dir.
>>
>
>  Well, I had some CentOS 5.3 and 4.8 servers too. But, I mirror the  
> directory
> structure and loop mount an ISO image on the "os" dir on it :)

thx for the tip.

>> I would like to upgrade my servers to 5.4.
>> I was wondering if I could simply replace the '5.3' part in the rsync
>> source to '5.4' ?
>> Or is there more to it?
>
>  When a new version is released I link copy the "old" structure to a  
> new one
> (cp -al 5.3 5.4), mount the new media under the "os" tree, and run  
> rsync against
> a mirror of the new structure. I do this because sometimes there are  
> packages in
> common betwen both versions and I didn't need to download it (or  
> store it, as it is
> only a hard link) again.
>
>  When I think the new version is ok to run in my production servers  
> I simply move
> the upper link from one version to another, i.e. fom 5 -> 5.3  to 5 - 
> > 5.4, the yum.conf
> files are set to get from the "5" repo and not from "5.x"

ok, so you decide when you want to upgrade your prod servers.
you make sure you have a local copy of 5.4 available somewhere and  
change the symlink so yum has access to the rpms.

another question:
do 5.4 rpms at some point end up in the 5.3 update repo?
(if this is the case I don't have to do anything but wait for them to  
show up)
or do I always have to rsync 5.4 over and arrange my files so that yum  
finds them in the "5" directory
(and not "5.4")

>   Hope this helps
>
> Antonio.


thx, paul
--
Paul Herbosch
Operations
TBWA\ Worldwide IT
Mobile: +32 477 36 81 92
www.mytbwa.com/Technology



This e-mail is intended only for the named person or entity to which
it is addressed and contains valuable business information that is 
privileged, confidential and/or otherwise protected from disclosure. 
If you received this e-mail in error, any review, use, dissemination,
distribution or copying of this e-mail is strictly prohibited.   
Please notify us immediately of the error via e-mail to 
disclai...@tbwaworld.com and please delete the e-mail from your system, 
retaining no copies in any media.
We appreciate your cooperation.

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


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Les Mikesell
Rudi Ahlers wrote:
> 
> 
> John, you're right. iSCSI isn't an SMB replacement as I have learned
> through all of this. SMB is good for sharing data between many PC's,
> and even servers, but from what I understand it's also slower that
> iSCSI and won't allow me to scale the storage by simply adding another
> cheap server to the network. With iSCSI I could / should be able todo
> that.
> 
> OR am I approaching this from a different angle? If I wanted to setup
> a server to serve content (in this case file storage, www, email &
> SQL) to a network of computers, would iSCSI have served the purpose?
> Or should I have kept using SMB? I am looking for a way to quickly
> expand the whole setup though. If we need more space, then I just want
> to add another cheap server with a 1TB HDD, and have it available on
> the network. It is my impression that I could use iSCSI, probably
> together with XFS, to accomplish this?

You can, if you connect the iscsi block devices into one machine that can 
combine them in one or more md raid devices, put a filesystem on them, and 
export via nfs and/or smb to the systems that want shared space.  However, the 
system exporting the filesystem becomes a single point of failure and you'd 
probably want a separate LAN with gigabit and jumbo frames for the iscsi 
connections for performance.  In these days of cheap 2TB drives, it's pretty 
easy to just cram whatever storage you need into one box - or add an external 
drive case if it won't fit.  Why not just toss an 8-port pci-X SATA card in one 
of those towers and fill the bays with drives?

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

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


Re: [CentOS] local centos repository upgrade from 5.3 to 5.4

2009-10-21 Thread Mogens Kjaer
On 10/21/2009 02:36 PM, Paul Herbosch wrote:
...
> another question:
> do 5.4 rpms at some point end up in the 5.3 update repo?
> (if this is the case I don't have to do anything but wait for them to
> show up)
> or do I always have to rsync 5.4 over and arrange my files so that yum
> finds them in the "5" directory
> (and not "5.4")

Can't you rsync the centos/5.4 and the centos/5 folders?

Then everything will work when 5.4 is announced: The
symlinks in the centos/5 folder will change to point
at the 5.4 folders and you don't have to do anything.

Mogens
-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: m...@crc.dk Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "conventional cluster management software"

2009-10-21 Thread Les Mikesell
nate wrote:
> 
> Clustering is a really complex thing to get right, it can often
> cause more problems than it would otherwise prevent. Even some
> high end clustering is really poor. A couple of jobs ago I had
> to use BEA Weblogic application clustering for a massive J2EE
> app. Ran us roughly $10 or was it $20k per CPU. We had major,
> major outages with that thing. Most of the time we(and BEA)
> were able to trace it to the weblogic cluster itself.
> 
> So think long and hard about what your trying to accomplish,
> and if there is another way to get there without relying on
> clustering. When I say clustering I mean pretty tight integration
> between the systems in the cluster, where if one box can go
> whacky it can take the rest of the cluster with it.

Depends on what you are doing, of course, but you can scale a typical web site 
(lots of viewers of the same content, not too much session-specific data or 
database writes) by replicating the file content across a bunch of servers and 
using memcache in front of your database.

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

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


Re: [CentOS] Console priority

2009-10-21 Thread Jonathan Moore
On Wed, Oct 21, 2009 at 7:05 AM, Daniel Bird  wrote:
>
> Lincoln Zuljewic Silva wrote:
>> List archive: http://lists.centos.org/pipermail/centos/
>>
> Thanks for not reading my post. See "I can't find it in the archives or
> via Google" in the text below.

Spent a few minutes looking at the the archive at gmane.org and found one
post that might be of interest.  It's from back in 2006, but a quick read seems
to be on the same track.  HTH.



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


[CentOS] New administrator and upgrading systems

2009-10-21 Thread Jonathan Moore
Hi there folks.  I've been watching the never ending "CentOS 5.4 OMG
WHEN?" threads for the last few days / weeks and had a question.  I'm
pretty new to anything rpm based.  I used Red Hat 9 back in college,
but that's about it.  Currently, I do have a few Cent OS servers and
we're slowly migrating from Debian to CentOS for various reasons.
Since 5.3 - 5.4 is going to be my first major upgrade, I had a simple
question.  WHEN it's actually released, and things are going normal,
should I just continue doing "yum upgrade" as always and will
eventually be on 5.4?

I seem to recall something with Fedora where you had to install some
kind of release package, etc (again.. this was back in 2003 - 2004
time) and was just curious.  Simple google searches tell me "yes!
just yum upgrade" but I wanted input from you guys, if you don't mind.

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


Re: [CentOS] local centos repository upgrade from 5.3 to 5.4

2009-10-21 Thread Paul Herbosch
On 21 Oct 2009, at 14:52, Mogens Kjaer wrote:

> On 10/21/2009 02:36 PM, Paul Herbosch wrote:
> ...
>> another question:
>> do 5.4 rpms at some point end up in the 5.3 update repo?
>> (if this is the case I don't have to do anything but wait for them to
>> show up)
>> or do I always have to rsync 5.4 over and arrange my files so that  
>> yum
>> finds them in the "5" directory
>> (and not "5.4")
>
> Can't you rsync the centos/5.4 and the centos/5 folders?
>
> Then everything will work when 5.4 is announced: The
> symlinks in the centos/5 folder will change to point
> at the 5.4 folders and you don't have to do anything.

Thx a lot.
I didn't realize that the centos/5 directory is a symlink.
this definitely answers my question.

> Mogens


thx again.
gr, paul
--
Paul Herbosch
Operations
TBWA\ Worldwide IT
Mobile: +32 477 36 81 92
www.mytbwa.com/Technology



This e-mail is intended only for the named person or entity to which
it is addressed and contains valuable business information that is 
privileged, confidential and/or otherwise protected from disclosure. 
If you received this e-mail in error, any review, use, dissemination,
distribution or copying of this e-mail is strictly prohibited.   
Please notify us immediately of the error via e-mail to 
disclai...@tbwaworld.com and please delete the e-mail from your system, 
retaining no copies in any media.
We appreciate your cooperation.

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


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Jonathan Moore
On Wed, Oct 21, 2009 at 7:51 AM, Les Mikesell  wrote:
> You can, if you connect the iscsi block devices into one machine that can
> combine them in one or more md raid devices, put a filesystem on them, and
> export via nfs and/or smb to the systems that want shared space.  However, the

If you did this, took a handful of machines, exported their storage
via iSCSI and had
a single server taking each of those iSCSI exported drives and
combining into a single
giant md device, would the theory of redundancy still hold?

Say, I had 4 devices with 500 GB drives exported using iSCSI.  If a
single larger server
took those four iSCSI export drives, and created one md RAID 5 device,
could a single
server be turned off, and just degrade the array until it was either
replaced entirely
or brought back online?

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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Brian Kirkman
Jonathan Moore wrote:
> Hi there folks.  I've been watching the never ending "CentOS 5.4 OMG
> WHEN?" threads for the last few days / weeks and had a question.  I'm
> pretty new to anything rpm based.  I used Red Hat 9 back in college,
> but that's about it.  Currently, I do have a few Cent OS servers and
> we're slowly migrating from Debian to CentOS for various reasons.
> Since 5.3 - 5.4 is going to be my first major upgrade, I had a simple
> question.  WHEN it's actually released, and things are going normal,
> should I just continue doing "yum upgrade" as always and will
> eventually be on 5.4?
>
> I seem to recall something with Fedora where you had to install some
> kind of release package, etc (again.. this was back in 2003 - 2004
> time) and was just curious.  Simple google searches tell me "yes!
> just yum upgrade" but I wanted input from you guys, if you don't mind.
>
> Thanks,
> Jonathan
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
I was just looking on the CentOS 5.4 wiki, which is still flagged as 
DRAFT, and it gives a few steps to go through for an upgrade.  Check it 
out here.

http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4/#head-29511ff6659f6463d444feb92326ed2232fc8c08

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


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Chan Chung Hang Christopher
Jonathan Moore wrote:
> On Wed, Oct 21, 2009 at 7:51 AM, Les Mikesell  wrote:
>   
>> You can, if you connect the iscsi block devices into one machine that can
>> combine them in one or more md raid devices, put a filesystem on them, and
>> export via nfs and/or smb to the systems that want shared space.  However, 
>> the
>> 
>
> If you did this, took a handful of machines, exported their storage
> via iSCSI and had
> a single server taking each of those iSCSI exported drives and
> combining into a single
> giant md device, would the theory of redundancy still hold?
>
> Say, I had 4 devices with 500 GB drives exported using iSCSI.  If a
> single larger server
> took those four iSCSI export drives, and created one md RAID 5 device,
> could a single
> server be turned off, and just degrade the array until it was either
> replaced entirely
> or brought back online?
>
>   

I suspect so. After all, it is just seen as a disk as far as md is 
concerned and it will do the same normal thing if you unplugged a single 
disk from the array.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Robert Heller
At Wed, 21 Oct 2009 08:25:53 -0500 CentOS mailing list  
wrote:

> 
> Hi there folks.  I've been watching the never ending "CentOS 5.4 OMG
> WHEN?" threads for the last few days / weeks and had a question.  I'm
> pretty new to anything rpm based.  I used Red Hat 9 back in college,
> but that's about it.  Currently, I do have a few Cent OS servers and
> we're slowly migrating from Debian to CentOS for various reasons.
> Since 5.3 - 5.4 is going to be my first major upgrade, I had a simple
> question.  WHEN it's actually released, and things are going normal,
> should I just continue doing "yum upgrade" as always and will
> eventually be on 5.4?

Yes.  Generally, doing yum update or yum upgrade will pick up new point
releases as they become available.  *Sometimes* you need to do something
special (the 5.2 to 5.3 update required an upgrade of glibc on its own
before the main update -- this was in the update announcement).

> 
> I seem to recall something with Fedora where you had to install some
> kind of release package, etc (again.. this was back in 2003 - 2004
> time) and was just curious.  Simple google searches tell me "yes!
> just yum upgrade" but I wanted input from you guys, if you don't mind.

Fedora does not have 'point releases'.  One does a 'fresh' re-install
every 6 months to a year (or something like that).  CentOS (like RHEL
itself) has long term support for the major version number (like 7
years), with regular updates (security and bug fixes) and point
upgrades (like every 6 months or so).

> 
> Thanks,
> Jonathan
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>   
>

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/
   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Rainer Duffner
Chan Chung Hang Christopher schrieb:
>
> I suspect so. After all, it is just seen as a disk as far as md is 
> concerned and it will do the same normal thing if you unplugged a single 
> disk from the array.
>   


But the latency over the net is much higher.
Who knows if the kernel can handle this in all situations?


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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Joseph L. Casale
>Fedora does not have 'point releases'.

Right...

>One does a 'fresh' re-install every 6 months to a year (or something like 
>that).

Well, not quite. Although it being what it is and sometimes breaking, you
can yum upgrade it[1], but the suggested method involves using anaconda to
upgrade it, which isn't a "fresh" install unless you make it so. You can still
retain settings, it has worked for me in the past on some occasions:)

[1] You also need to edit your repos.

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


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Ross Walker




On Oct 21, 2009, at 5:38 AM, Rudi Ahlers  wrote:

>
> Hi Rainer,
>
> I honestly don't want to spend a lot of cash on a proprietary system
> like NetApp and actually want to use a lot of old tower machines (i.e.
> limited space for hard drives, and no redundancy, slower CPU's, etc)
> we already have. CentOS is my preferred OS of choice, and I don't know
> Solaris, at all. I could probably give it a go, but not right now.
>
> The setup I'm hoping to achieve is as follows:
> We develop a lot of PHP + MySQL based intranet and internet
> applications, so the main server currently runs Apache + PHP + MySQL +
> Zend, etc.
>
> Some of the applications require large volumes of data which is
> currently saved on the sambas server. This makes it easy, as any one
> on the LAN can add / remove data to the SMB server, and the PHP app
> can also access it. But I still have a problem, that if the storage
> runs out, and I add another box to the network, then it's a different
> server with a new storage point - not ideal.
>
> I was hoping with iSCSI to join these storage servers into one large
> storage volume, together with XFS (or ClusterFS / GclusterFS?) and
> thus have anyone connect to one "central server", both for
> development, file storage and even email. Everything runs on Gigabit
> switches, so that's not a problem, and redundancy isn't the highest
> issue either.I'm not too concerned with that, for this particular
> project.
>
> So, trying to use existing hardware, and preferably CentOS (I would
> prefer not to reinstall the server right now), what else (if iSCSI
> isn't right) would I rather use,if I want to consolidate the storage
> of a few Linux machines, and export it over the LAN to various
> workstations?
>
>
>
> Another project altogether though would require a similar setup with
> cheap central storage server(s) at a data centre - but this will
> purely be a storage server for XEN virtual machines to connect to, and
> store backup data. For this OpenFiler works very well at the moment.

Rudi,

How about exporting these disperse storage units via NBD or AoE to an  
iSCSI head server that can create a redundant array out of them using  
mdraid and then re-export via iSCSI or NFS/CIFS.

You might be able to put the NBD/AoE functionality on a PXE boot image  
so if a machine boots that image it automatically exports all 'sd'  
devices as network block devices and the head server can use those to  
build an array of network block devices.

-Ross

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


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Jonathan Moore
On Wed, Oct 21, 2009 at 8:47 AM, Rainer Duffner  wrote:
> But the latency over the net is much higher.
> Who knows if the kernel can handle this in all situations?

I could see it taking longer to notice a failed disk then it normally
*should*.  I wonder
what type of impact this would have.

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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Jonathan Moore
Thanks for the input folks.  I think I see now that it's going to be a
pretty easy going process, and I don't need to screw around with crazy
update processes.  Very good to know.

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


Re: [CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat and a CentOS)

2009-10-21 Thread Barry Brimer


On Wed, 21 Oct 2009, ken wrote:

>
> On 10/20/2009 12:15 PM Benjamin Franz wrote:
>> ken wrote:
>>> Okay, here's one. Maybe someone here can figure it out.
>>> Upgrading from 4.5 to 4.5.  From a 4.6 ISO I copied all the RPMs into a
>>> directory... let's call it c:/install :).   Now the oracle dba has
>>> strict parameters on what versions can be installed and which can't.
>>> The rpms in c:/install meet those requirements.  In addition, since this
>>> is a production machine, it can be down at most for one day.  So all I
>>> want to do is upgrade what's currently on the system.  Moreover, if
>>> something horks, I want two chances to back out (the second being asking
>>> the backup guy to put the system back to yesterday).  The command to do
>>> this would be
>>>
>>> rpm --freshen --repackage *
>>>
>>> run in that crazy c:/install directory (or what the redhat guy called, a
>>> "folder").  This command runs fine for one file which has no
>>> dependencies (i.e., change '*' to a specific rpm).  It also upgrades
>>> three or four co-dependent rpms if they're narrowly specified.  But if
>>> the file/rpm spec is '*', rpm complains about two missing dependencies
>>> and stops.
>>>
>>> Yeah, this directory contains 1507 rpms (IIRC)... which is a lot, but it
>>> should still work.  This is Linux, after all.  And there's plenty enough
>>> memory and cpu to handle it.
>>>
>>
>> Running
>>
>> rpm --freshen --repackage *
>>
>> for 1500+ rpms  probably exceeds the maximum character length for some
>> part of the system after expansion of the '*'  by the shell.
>
> That was my first suspicion too.  The redhat tech didn't bring that up
> though.  (That doesn't mean I'm going to ignore that as a possible
> workaround; the original conversation here was about tech support per
> se.  Of course I'm still seeking ways to do the job.  And so thanks for
> the suggestion.)
>
> I, too, recall reading some years back about a bash line length limit.
> Back then, a long time ago, it was 2048 characters.  So I ran "echo *"
> in that same install/ directory and the output included all 1507 files.
> So the problem's not with a bash command line length limit, but still
> pointing to the "rpm" command.
>
>
>
>>
>> Try breaking it up into smaller chunks (say two or three hundred at a
>> time). You can match subsets of the files using shell expansions like
>>
>> rpm --freshen --repackage [a-g]*
>>
>> and tweak the line for any dependency complaints manually.
>
> This solution occurred to me also.  And right now it's a top contender
> (along with another I'll mention shortly).  If the job environment were
> different, I'd go with it.  But my boss is making me jump through a lot
> of hoops for this project.  This upgrade from v.4.5 to v.4.6 needs to
> happen in a single, specified day *and* my boss needs to know how long
> it will take me to accomplish, this so the Oracle dba knows when he can
> start to on what he's got to do for this upgrade.  And I have at most
> fifteen hours (i.e., two working days) to come up with this fool-proof
> plan.  Plus, I don't have a test box to try things out on.  But I've had
> to do trickier stuff than this in the past with not dissimilar time
> constraints, so though I should be taking extra boxers to work, I'm not
> (yet).
>
> So what I was thinking of doing is scripting the solution you suggest
> above.  But then, if I'm going to script something, I might as well
> write a script that will take on the entire task wholistically.  I mean
> something like this:
>
> ls -1 install/ > what-to-upgrade.list  # create package list
> while read package | {upgrade package}  #just quasi-code here. Loop.
> if {there's nothing to upgrade}
>  remove pkg from what-to-upgrade.list
>  log this
>  continue
> fi
> if {there are dependencies}
> then for {each dependency} {upgrade package}  # yep, recursion
> fi
> else [upgrade package} # simplest case, just upgrade one pkg
>
> The {upgrade package} function would be fairly simple (I think):
> - Find the correct package in the install/ directory (containing the
> RPMs for v.4.6).
> - Upgrade the 4.5 package with that correct 4.6 package.
> - Confirm that the 4.6 is installed.
> - Remove that package name from what-to-upgrade.list
> - Log that this package has been upgraded.
>
> I already see some bogus stuff here, but I'm writing this on the fly.
> Point is, it seems do-able, and probably within the time constraints.
> And then, what are the alternatives?
>
> One, suggested by the redhat tech (about whom there's more news...
> later), is to use up2date.  I read the manpage on it and it's pretty
> vague.  I'm sure I have, but I don't recall using it before, so I can't
> fill in the details which the manpage lacks.  Lastly, I don't see a way
> to test up2date to see if it will work within my (dba's) specific
> parameters.

If you add --aid on the end of your rpm command, and you are in the 
directory with the rpms, it should solve any dependency issues for you 
provi

Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Ross Walker
On Oct 21, 2009, at 9:47 AM, Rainer Duffner   
wrote:

> Chan Chung Hang Christopher schrieb:
>>
>> I suspect so. After all, it is just seen as a disk as far as md is
>> concerned and it will do the same normal thing if you unplugged a  
>> single
>> disk from the array.
>>
>
>
> But the latency over the net is much higher.
> Who knows if the kernel can handle this in all situations?

I'm sure the kernel can handle the slowness, it's the cache  
consistency one has to be careful with in these setups. With so many  
caching devices in the chain, one must make sure the write and read  
cache is consistent throughout.

-Ross

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


Re: [CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat and a CentOS)

2009-10-21 Thread David Fix
Gotcha. :) Sorry about that. :) 

-- 
David Fix 


- Original Message - 
From: kfis...@lakelandcc.edu 
To: "CentOS mailing list"  
Sent: Wednesday, October 21, 2009 7:53:31 AM 
Subject: Re: [CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat 
and a CentOS) 

The problem with such a loop is that only one pkg is the arg to each invocation 
of the rpm command. So if there are any dependencies for a particular 
invocation, nothing will be installed. 


From:   David Fix  
To: CentOS mailing list  
Date:   10/21/2009 07:32 AM 
Subject:Re: [CentOS] rpm --freshen issue (was: Re: Caught 
between a Red Hat and a CentOS) 
Sent by:centos-boun...@centos.org 




Sorry, don't have time to read the whole thread (busy day!), so please excuse 
me if I just add to the noise, but this may work for you (at a bash prompt): 

for x in *; do rpm --freshen --repackage $x; done 

If it's not what you're looking for, I apologize in advance. :) 

-- 
David Fix 


- Original Message - 
From: "ken"  
To: "CentOS mailing list"  
Sent: Wednesday, October 21, 2009 5:12:14 AM 
Subject: [CentOS] rpm --freshen issue (was: Re: Caught between a Red Hat and a 
CentOS) 


On 10/20/2009 12:15 PM Benjamin Franz wrote: 
> ken wrote: 
>> Okay, here's one. Maybe someone here can figure it out. 
>> Upgrading from 4.5 to 4.5. From a 4.6 ISO I copied all the RPMs into a 
>> directory... let's call it c:/install :). Now the oracle dba has 
>> strict parameters on what versions can be installed and which can't. 
>> The rpms in c:/install meet those requirements. In addition, since this 
>> is a production machine, it can be down at most for one day. So all I 
>> want to do is upgrade what's currently on the system. Moreover, if 
>> something horks, I want two chances to back out (the second being asking 
>> the backup guy to put the system back to yesterday). The command to do 
>> this would be 
>> 
>> rpm --freshen --repackage * 
>> 
>> run in that crazy c:/install directory (or what the redhat guy called, a 
>> "folder"). This command runs fine for one file which has no 
>> dependencies (i.e., change '*' to a specific rpm). It also upgrades 
>> three or four co-dependent rpms if they're narrowly specified. But if 
>> the file/rpm spec is '*', rpm complains about two missing dependencies 
>> and stops. 
>> 
>> Yeah, this directory contains 1507 rpms (IIRC)... which is a lot, but it 
>> should still work. This is Linux, after all. And there's plenty enough 
>> memory and cpu to handle it. 
>> 
> 
> Running 
> 
> rpm --freshen --repackage * 
> 
> for 1500+ rpms probably exceeds the maximum character length for some 
> part of the system after expansion of the '*' by the shell. 

That was my first suspicion too. The redhat tech didn't bring that up 
though. (That doesn't mean I'm going to ignore that as a possible 
workaround; the original conversation here was about tech support per 
se. Of course I'm still seeking ways to do the job. And so thanks for 
the suggestion.) 

I, too, recall reading some years back about a bash line length limit. 
Back then, a long time ago, it was 2048 characters. So I ran "echo *" 
in that same install/ directory and the output included all 1507 files. 
So the problem's not with a bash command line length limit, but still 
pointing to the "rpm" command. 



> 
> Try breaking it up into smaller chunks (say two or three hundred at a 
> time). You can match subsets of the files using shell expansions like 
> 
> rpm --freshen --repackage [a-g]* 
> 
> and tweak the line for any dependency complaints manually. 

This solution occurred to me also. And right now it's a top contender 
(along with another I'll mention shortly). If the job environment were 
different, I'd go with it. But my boss is making me jump through a lot 
of hoops for this project. This upgrade from v.4.5 to v.4.6 needs to 
happen in a single, specified day *and* my boss needs to know how long 
it will take me to accomplish, this so the Oracle dba knows when he can 
start to on what he's got to do for this upgrade. And I have at most 
fifteen hours (i.e., two working days) to come up with this fool-proof 
plan. Plus, I don't have a test box to try things out on. But I've had 
to do trickier stuff than this in the past with not dissimilar time 
constraints, so though I should be taking extra boxers to work, I'm not 
(yet). 

So what I was thinking of doing is scripting the solution you suggest 
above. But then, if I'm going to script something, I might as well 
write a script that will take on the entire task wholistically. I mean 
something like this: 

ls -1 install/ > what-to-upgrade.list # create package list 
while read package | {upgrade package} #just quasi-code here. Loop. 
if {there's nothing to upgrade} 
remove pkg from what-to-upgrade.list 
log this 
continue 
fi 
if {there are dependencies} 
then for {each dependency} {upgrade package} # yep, recursion 
fi 
else [u

Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Chan Chung Hang Christopher
Rainer Duffner wrote:
> Chan Chung Hang Christopher schrieb:
>   
>> I suspect so. After all, it is just seen as a disk as far as md is 
>> concerned and it will do the same normal thing if you unplugged a single 
>> disk from the array.
>>   
>> 
>
>
> But the latency over the net is much higher.
> Who knows if the kernel can handle this in all situations?
>
>   


Well, if the higher latency was a problem, I suspect that you will see 
its effects long before you even try to 'pull' a iscsi-target.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] R: Rescan for new geometry without reboot?

2009-10-21 Thread Coeli Stefano
Hello, 
 
I must say I've not still tryed, but with fdisk you can change number of 
cilinders to set to new size (you must calculate it), and with partprobe (man 
partprobe) you can reread online "partition table"; now, since kernel gets disk 
geometry and partition table at boot time, and this command force it to reread 
almost partition table, I believe (hope) that reread entre disk geometry.
 
I will try in a couple of month, for now I've changed array size of many HP 
Proliant but always with reboot.
 
I suggest you to search about partprobe command features.
 
Stefano
 
>We just had our servers fitted with more disks. Most of the disks are
>growing existing RAID 1+0 channels, some are in new channels.
>Controllers and disks support live installation.
>
>I'd like to avoid a reboot just to let the system find that the disks
>are larger.


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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Giovanni Tirloni
On Wed, Oct 21, 2009 at 11:59 AM, Jonathan Moore
 wrote:
> Thanks for the input folks.  I think I see now that it's going to be a
> pretty easy going process, and I don't need to screw around with crazy
> update processes.  Very good to know.

The documentation here should apply to some extent:

 http://www.redhat.com/docs/manuals/enterprise/#RHEL5

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


Re: [CentOS] rpm --freshen issue

2009-10-21 Thread Todd Denniston
ken wrote, On 10/21/2009 05:12 AM:
> On 10/20/2009 12:15 PM Benjamin Franz wrote:
>> ken wrote:

>>>
>>> Yeah, this directory contains 1507 rpms (IIRC)... which is a lot, but it
>>> should still work.  This is Linux, after all.  And there's plenty enough
>>> memory and cpu to handle it.
>>>   
>> Running
>>
>> rpm --freshen --repackage * 
>>
>> for 1500+ rpms  probably exceeds the maximum character length for some 
>> part of the system after expansion of the '*'  by the shell.
> 



> Benjamin, thanks for your constructive response.  Any further such (from
> you or anyone else) will be much appreciated.
> 
> Best,
> ken
> 
>> Alternatively, use 'createrepo' to create a Yum repository of the RPMs 
>> and use yum to handle it for you.
>>

Ken,
please let me second the idea for using createrepo on the collection so that 
you can then use yum to 
resolve everything.

Assuming "/install" is where the rpms are at and createrepo is installed from 
base(at least on 5. it 
is in base), running the following commands should get the system going:

createrepo /install
cat >> /etc/yum.repos.d/quickupdate.repo << END_EOF
[expedient]
name=expedient update dir
baseurl=file:///install
enabled=0
#assume the machine already has gpg key for all rpms you have
gpgcheck=1
END_EOF
yum update --disablerepo=\* --enablerepo=expedient



alternatively if the problem is not really the shell length, then
yum localupdate /install
or
yum localupdate /install/*
might work.
https://www.centos.org/modules/news/article.php?storyid=118#comment90
http://fedoraforum.org/forum/archive/index.php/t-140404.html

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] sendmail question

2009-10-21 Thread Jerry Geis
Hi all,

I have a local user account call "panel" on a machine.
When I use the mail command to manually send email to the panel account
it over 1 minute until that mail actually deposited in the mail account.

What setting is that reduces this time?

I changed /etc/sysconfig/sendmail the QUEUE=10s and that did not have 
any effect.

Thanks

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


Re: [CentOS] sendmail question

2009-10-21 Thread Chan Chung Hang Christopher
Jerry Geis wrote:
> Hi all,
>
> I have a local user account call "panel" on a machine.
> When I use the mail command to manually send email to the panel account
> it over 1 minute until that mail actually deposited in the mail account.
>
> What setting is that reduces this time?
>
> I changed /etc/sysconfig/sendmail the QUEUE=10s and that did not have 
> any effect.
>
>   
sendmail only queues if 1) the initial attempt suffered a temporary 
failure or 2) queueing mode was set.

Otherwise sendmail will immediately attempt to deliver the mail. Check 
the headers of the test mail in question to find out where there was a 
latency. If you have a large queue already then that is your problem and 
setting QUEUE=10s will not help.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Les Mikesell
Ross Walker wrote:
> On Oct 21, 2009, at 9:47 AM, Rainer Duffner   
> wrote:
> 
>> Chan Chung Hang Christopher schrieb:
>>> I suspect so. After all, it is just seen as a disk as far as md is
>>> concerned and it will do the same normal thing if you unplugged a  
>>> single
>>> disk from the array.
>>>
>>
>> But the latency over the net is much higher.
>> Who knows if the kernel can handle this in all situations?
> 
> I'm sure the kernel can handle the slowness, it's the cache  
> consistency one has to be careful with in these setups. With so many  
> caching devices in the chain, one must make sure the write and read  
> cache is consistent throughout.

Journaled file systems should take care of the consistency issues. 
However you are adding some new failure modes and making this work 
depends on the right software layers seeing errors at the right time.  A 
target disk error will probably propagate back quickly so the md can 
kick the device out, but what if the error is in the network connection 
or the OS disk on the target?  Will you sit doing 20 minutes of TCP 
retries before the upper layers see an error - and what kind of error 
will they get?

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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Matt
> Hi there folks.  I've been watching the never ending "CentOS 5.4 OMG
> WHEN?" threads for the last few days / weeks and had a question.  I'm
> pretty new to anything rpm based.  I used Red Hat 9 back in college,
> but that's about it.  Currently, I do have a few Cent OS servers and
> we're slowly migrating from Debian to CentOS for various reasons.

Just curious, why the move from Debian to CentOS?

Matt

> Since 5.3 - 5.4 is going to be my first major upgrade, I had a simple
> question.  WHEN it's actually released, and things are going normal,
> should I just continue doing "yum upgrade" as always and will
> eventually be on 5.4?
>
> I seem to recall something with Fedora where you had to install some
> kind of release package, etc (again.. this was back in 2003 - 2004
> time) and was just curious.  Simple google searches tell me "yes!
> just yum upgrade" but I wanted input from you guys, if you don't mind.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Alan McKay
OK, I've never done an upgrade before either, so I go to this URL :

> http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4/#head-29511ff6659f6463d444feb92326ed2232fc8c08

And I execute these commands

yum clean all
yum update glibc\*
yum update yum\* rpm\* python\*
yum clean all
yum update
shutdown -r now

And I come back up and :
[amc...@alan ~]$ cat /etc/redhat-release
CentOS release 5.3 (Final)

Of course, the URL does not say anything about those being the
commands required to get to 5.4 from a previous release.

I've never done this before, obviously ...


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of "In Defense of Food"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
Jerry Geis wrote:
> Hi all,
> 
> I have a local user account call "panel" on a machine.
> When I use the mail command to manually send email to the panel account
> it over 1 minute until that mail actually deposited in the mail account.
> 
> What setting is that reduces this time?
> 
> I changed /etc/sysconfig/sendmail the QUEUE=10s and that did not have 
> any effect.

You could look at /var/log/maillog to see what steps happened and the 
timestamps.  My guess is that your DNS is badly broken and it is waiting 
for the local machine name and/or IP to resolve.  Does 'nslookup' return 
quickly with these?

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


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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Nicolas Thierry-Mieg
Alan McKay wrote:
> OK, I've never done an upgrade before either, so I go to this URL :
> 
>> http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4/#head-29511ff6659f6463d444feb92326ed2232fc8c08
> 
> And I execute these commands
> 
> yum clean all
> yum update glibc\*
> yum update yum\* rpm\* python\*
> yum clean all
> yum update
> shutdown -r now
> 
> And I come back up and :
> [amc...@alan ~]$ cat /etc/redhat-release
> CentOS release 5.3 (Final)
> 
> Of course, the URL does not say anything about those being the
> commands required to get to 5.4 from a previous release.
> 
> I've never done this before, obviously ...

it will work when your mirror has 5.4
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Marko Vojinovic
On Wednesday 21 October 2009 14:46:05 Robert Heller wrote:
> Yes.  Generally, doing yum update or yum upgrade will pick up new point
> releases as they become available.  *Sometimes* you need to do something
> special (the 5.2 to 5.3 update required an upgrade of glibc on its own
> before the main update -- this was in the update announcement).

Was that update-glibc-first thing really necessary? I did see the update 
announcement, but long after I actually issued a simple "yum update" on my 
server, and everything went smoothly. I did not see any problem.

So was updating glibc separately just a precaution measure, or was I just 
lucky not to run into issues?

P.S. Sorry to jump in the thread...

Best, :-)
Marko

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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Alan McKay
> it will work when your mirror has 5.4

ahhh, OK.   What if my mirror is the same box?   Will that work too?
I cannot see any reason from here why it would not.

I keep a local mirror on my desktop (the box in question) and am just
bringing down 5.4 now, with rsync

thanks,
-Alan


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of "In Defense of Food"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Nicolas Thierry-Mieg
Alan McKay wrote:
>> it will work when your mirror has 5.4
> 
> ahhh, OK.   What if my mirror is the same box?   Will that work too?
> I cannot see any reason from here why it would not.
> 
> I keep a local mirror on my desktop (the box in question) and am just
> bringing down 5.4 now, with rsync

sure, that will work.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Low End NAS hardware.

2009-10-21 Thread Drew
Hey,

The recent discussion on NAS/SAN and the Thecus N8800 got me to thinking.

Bit of background. I have an old Dual Athlon MP2800+ that I'm using
for a home web/file server. It runs fine but between the noise of the
various fans and it's location in the living room, I've been asked by
my spouse to find a replacement for it that's smaller & quieter.
Looking at the Thecus, and based on experience with Atom based
Mini-ITX systems at work, I was thinking about rolling my own.

My questions is, for a small home server that runs apache/php/mysql
and Samba, how well do the Mini-ITX boards like the VIA C3/7 & Intel
Atoms handle this sort of task? I've used VIA systems as MythTV
frontends but never as file/web servers. I'd expect they'd do fine for
home use but I've never tried.

Thanks,


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread John R Pierce

> Say, I had 4 devices with 500 GB drives exported using iSCSI.  If a
> single larger server
> took those four iSCSI export drives, and created one md RAID 5 device,
> could a single
> server be turned off, and just degrade the array until it was either
> replaced entirely
> or brought back online?
>   


how long would it take to replicate and rebuild a volume  across the LAN 
via iscsi?  if each of those slices was 500GB, you'd be reading 3 x 
500GB and writing 500GB before the drive was resynched.   note, a single 
drive on each storage controller in this scenario won't even achieve 
1gigE speeds.


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


Re: [CentOS] sendmail question

2009-10-21 Thread Dan Carl
Les Mikesell wrote:
> Jerry Geis wrote:
>   
>> Hi all,
>>
>> I have a local user account call "panel" on a machine.
>> When I use the mail command to manually send email to the panel account
>> it over 1 minute until that mail actually deposited in the mail account.
>>
>> What setting is that reduces this time?
>>
>> I changed /etc/sysconfig/sendmail the QUEUE=10s and that did not have 
>> any effect.
>> 
>
> You could look at /var/log/maillog to see what steps happened and the 
> timestamps.  My guess is that your DNS is badly broken and it is waiting 
> for the local machine name and/or IP to resolve.  Does 'nslookup' return 
> quickly with these?
>
>   
My guess would be a resolving problem also.
Its usually what causes sendmail to slow down.
Check your /etc/hosts file
Dan


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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Jonathan Moore
On Wed, Oct 21, 2009 at 10:18 AM, Matt  wrote:
> Just curious, why the move from Debian to CentOS?
There is very little in the way of technical reasoning for it.  Mostly it
was a call by those in charge.

We still have several servers running Debian doing various network
related tasks.  DNS and mail being the two biggest ones.  Most of the
CentOS stuff is either directed towards the user (file servers).

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


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Les Mikesell
John R Pierce wrote:
>> Say, I had 4 devices with 500 GB drives exported using iSCSI.  If a
>> single larger server
>> took those four iSCSI export drives, and created one md RAID 5 device,
>> could a single
>> server be turned off, and just degrade the array until it was either
>> replaced entirely
>> or brought back online?
>>   
> 
> 
> how long would it take to replicate and rebuild a volume  across the LAN 
> via iscsi?  if each of those slices was 500GB, you'd be reading 3 x 
> 500GB and writing 500GB before the drive was resynched.   note, a single 
> drive on each storage controller in this scenario won't even achieve 
> 1gigE speeds.

I'd think raid1 or 1+0 would be a better choice - these continue at full 
speed with a missing member.  You can continue to run while the raid 
rebuilds, although if the drive is very busy you end up with the rebuild 
fighting for head position and slowing things down.

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


Re: [CentOS] Console priority

2009-10-21 Thread Daniel Bird
Jonathan Moore wrote:
> Spent a few minutes looking at the the archive at gmane.org and found one
> post that might be of interest.  It's from back in 2006, but a quick read 
> seems
> to be on the same track.  HTH.
>
> 
>   
Thanks Jonathan,
>From that post  "magic sysreq" may help...  Off to find out some more on
that...

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


Re: [CentOS] Low End NAS hardware.

2009-10-21 Thread Toby Bluhm
Drew wrote:
> Hey,
> 
> The recent discussion on NAS/SAN and the Thecus N8800 got me to thinking.
> 
> Bit of background. I have an old Dual Athlon MP2800+ that I'm using
> for a home web/file server. It runs fine but between the noise of the
> various fans and it's location in the living room, I've been asked by
> my spouse to find a replacement for it that's smaller & quieter.
> Looking at the Thecus, and based on experience with Atom based
> Mini-ITX systems at work, I was thinking about rolling my own.
> 
> My questions is, for a small home server that runs apache/php/mysql
> and Samba, how well do the Mini-ITX boards like the VIA C3/7 & Intel
> Atoms handle this sort of task? I've used VIA systems as MythTV
> frontends but never as file/web servers. I'd expect they'd do fine for
> home use but I've never tried.
> 

I looked at doing the same thing. I have an old Athlon XP ~ 1800 MHZ at 
home, made noise, pumped a lot of heat into the closet. Sure, itx would 
be low power and smaller, but the pieces parts seemed quite pricey to me 
and what I had worked fine. So I cranked the cpu speed down in the bios 
to 700 MHZ, lowered the cpu voltage, switched the case fans to run off 
5v. Still runs apache, samba, firewall, dhcpd, etc. without a hitch. 
Never noticed the slowdown in normal activities.


Dual processor board? Try removing one cpu to cut down on power.


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


[CentOS] centos5.4 and extras

2009-10-21 Thread Ryan Pugatch
Trying to install CentOS 5.4 with Xfce and I have enabled the extras 
repo, but Xfce doesn't show up when I customize the software selections. 
  Is this because 5.4 hasn't hit all of the mirrors yet, or is Xfce not 
around for 5.4?

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


Re: [CentOS] Low End NAS hardware.

2009-10-21 Thread Rainer Duffner
Drew schrieb:
> Hey,
>
> The recent discussion on NAS/SAN and the Thecus N8800 got me to thinking.
>
> Bit of background. I have an old Dual Athlon MP2800+ that I'm using
> for a home web/file server. It runs fine but between the noise of the
> various fans and it's location in the living room, I've been asked by
> my spouse to find a replacement for it that's smaller & quieter.
> Looking at the Thecus, and based on experience with Atom based
> Mini-ITX systems at work, I was thinking about rolling my own.
>
> My questions is, for a small home server that runs apache/php/mysql
> and Samba, how well do the Mini-ITX boards like the VIA C3/7 & Intel
> Atoms handle this sort of task? I've used VIA systems as MythTV
> frontends but never as file/web servers. I'd expect they'd do fine for
> home use but I've never tried.
>
>   


You could buy one of those new MacMini servers ;-)

SCNR ;-)

The question I ask myself is: do I really need a home-server?
How much shared data do I have anyway? And is it really "data" or just
pictures, movies, MP3s?

What exactly does the home-server do that couldn't be done on the
clients connected to it, once they are running?



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


[CentOS] Security updates for Centos 5.3

2009-10-21 Thread slchavarria
Hello, 

Someone knows which security updates i have to apply to a host with Centos 
5.3 x_64. 

Thank you in advance and greetings

SLCC


-
Este mensaje y cualquier archivo que se adjunte al mismo es
propiedad de Grupo Iusacell y contiene informacion privada y
privilegiada para uso exclusivo del destinatario. Si usted recibe
esta comunicacion por error, no esta autorizado para copiar,
retransmitir, utilizar o divulgar este mensaje ni los archivos
adjuntos. En este caso por favor notifique inmediatamente al
remitente por este mismo conducto. Gracias.___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Security updates for Centos 5.3

2009-10-21 Thread nate
slchavar...@iusacell.com.mx wrote:
> Hello,
>
> Someone knows which security updates i have to apply to a host with Centos
> 5.3 x_64.

Just run yum update and you'll get all of the updates that
you need that are available.

nate

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


Re: [CentOS] Security updates for Centos 5.3

2009-10-21 Thread Les Mikesell
nate wrote:
> slchavar...@iusacell.com.mx wrote:
>> Hello,
>>
>> Someone knows which security updates i have to apply to a host with Centos
>> 5.3 x_64.
> 
> Just run yum update and you'll get all of the updates that
> you need that are available.

Except that you'll probably end up with 5.4 or maybe an incomplete 
update if you do it while the mirrors are still syncing.

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


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


Re: [CentOS] Security updates for Centos 5.3

2009-10-21 Thread Peter Kjellstrom
On Wednesday 21 October 2009, slchavar...@iusacell.com.mx wrote:
> Hello,
>
> Someone knows which security updates i have to apply to a host with Centos
> 5.3 x_64.

All, that is "yum update" with a standard configuration (note that "All" here 
includes updates all the way to 5.x latest (which, as of about now, is 5.4)).

/Peter


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail question

2009-10-21 Thread Jerry Geis
>
> My guess would be a resolving problem also.
> Its usually what causes sendmail to slow down.
> Check your /etc/hosts file
> Dan
>   
My /etc/hosts file is only has the "nameserver x.x.x.x" entry.

the /var/log/maillog shows the entry right away when "mail" on the 
command line is done.
Again, this is mail originating on the the box and destination is on the 
same box.

mailq always shows 0, even doing it repeatedly.

the mail delivery  is delayed exactly 2 minutes.

I have 127.0.0.1 localhost in the /etc/hosts file.

Very odd, any thoughts?

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


Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
Jerry Geis wrote:
>> My guess would be a resolving problem also.
>> Its usually what causes sendmail to slow down.
>> Check your /etc/hosts file
>> Dan
>>   
> My /etc/hosts file is only has the "nameserver x.x.x.x" entry.

That should be in /etc/resolv.conf.

> the /var/log/maillog shows the entry right away when "mail" on the 
> command line is done.

There should be an entry for submitting the mail and another for 
delivering it.

> Again, this is mail originating on the the box and destination is on the 
> same box.

What's the address?

> mailq always shows 0, even doing it repeatedly.
> 
> the mail delivery  is delayed exactly 2 minutes.

That's a few DNS timeouts.

> I have 127.0.0.1 localhost in the /etc/hosts file.
> 
> Very odd, any thoughts?

Are you mailing to localhost?

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

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


Re: [CentOS] Security updates for Centos 5.3

2009-10-21 Thread Torkil Zachariassen
On Wed, 2009-10-21 at 11:11 -0500, slchavar...@iusacell.com.mx wrote:
> Someone knows which security updates i have to apply to a host with
> Centos 5.3 x_64. 

Yum knows :)
  $ yum --security check-update

You may have to install yum-security first: 
  # yum install yum-security


.t.

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


[CentOS] 'Extremely lazy' disk flush?

2009-10-21 Thread Les Mikesell
Are there any good options to configure a filesystem so most activity 
takes place in the RAM buffer with the flush to physical media allowed 
to lag very far behind?  OpenNMS does some data collection that keeps 
the disk very busy.  I don't want to lose the history completely in a 
crash like you would with a ramdisk, but it wouldn't be a big problem if 
only the last 10-30 minutes would be dropped.

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


Re: [CentOS] sendmail question

2009-10-21 Thread Jerry Geis
>
> Jerry Geis wrote:
> >>/ My guess would be a resolving problem also.
> />>/ Its usually what causes sendmail to slow down.
> />>/ Check your /etc/hosts file
> />>/ Dan
> />>/   
> />/ My /etc/hosts file is only has the "nameserver x.x.x.x" entry.
> /
> That should be in /etc/resolv.conf.
>   
Your right. it is - my typo.
> >/ the /var/log/maillog shows the entry right away when "mail" on the 
> />/ command line is done.
> /
> There should be an entry for submitting the mail and another for 
> delivering it.
>
>   
mailq -Ac only shows the submitting entry.
> >/ Again, this is mail originating on the the box and destination is on the 
> />/ same box.
> /
> What's the address?
>
>   
I did a "useradd panel" then "mail panel" and entered my text. its all 
on the local machine.

I do have a .procmailrc file that just matches subject and forwards that 
onto another app.
This works fine. Its just delayed by 2 minutes.

> >/ mailq always shows 0, even doing it repeatedly.
> />/ 
> />/ the mail delivery  is delayed exactly 2 minutes.
> /
> That's a few DNS timeouts.
>
> >/ I have 127.0.0.1 localhost in the /etc/hosts file.
> />/ 
> />/ Very odd, any thoughts?
> /
> Are you mailing to localhost?
>   
I tried:
mail panel
mail pa...@localhost
mail pa...@localhost.localdomain
mail pa...@machine.domain.com (insert actual machine and domain)

All the above have the same slow 2 minute delay.

This is odd.

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


Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
Jerry Geis wrote:
>
>> That's a few DNS timeouts.
>>
>>> / I have 127.0.0.1 localhost in the /etc/hosts file.
>> />/ 
>> />/ Very odd, any thoughts?
>> /
>> Are you mailing to localhost?
>>   
> I tried:
> mail panel
> mail pa...@localhost
> mail pa...@localhost.localdomain
> mail pa...@machine.domain.com (insert actual machine and domain)
> 
> All the above have the same slow 2 minute delay.
> 
> This is odd.

You still haven't answered how long nslookup takes to respond with these 
or your IP addresses.  I think sendmail will ask DNS for an MX record 
first because that's how mail is supposed to work - then if that fails 
it goes for an A record or your hosts file.

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

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


Re: [CentOS] 'Extremely lazy' disk flush?

2009-10-21 Thread nate
Les Mikesell wrote:
> Are there any good options to configure a filesystem so most activity
> takes place in the RAM buffer with the flush to physical media allowed
> to lag very far behind?  OpenNMS does some data collection that keeps
> the disk very busy.  I don't want to lose the history completely in a
> crash like you would with a ramdisk, but it wouldn't be a big problem if
> only the last 10-30 minutes would be dropped.

see the commit option for ext3

   commit=nrsec
  Sync all data and metadata every nrsec seconds. The default
value is 5 seconds. Zero  means default.


nate


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


Re: [CentOS] sendmail question

2009-10-21 Thread Jerry Geis
>
> >/
> />>/ That's a few DNS timeouts.
> />>/
> />>>/ / I have 127.0.0.1 localhost in the /etc/hosts file.
> />>/ />/ 
> />>/ />/ Very odd, any thoughts?
> />>/ /
> />>/ Are you mailing to localhost?
> />>/   
> />/ I tried:
> />/ mail panel
> />/ mail panel at localhost 
> />/ mail panel at localhost.localdomain 
> 
> />/ mail panel at machine.domain.com 
>  (insert actual machine and 
> domain)
> />/ 
> />/ All the above have the same slow 2 minute delay.
> />/ 
> />/ This is odd.
> /
> You still haven't answered how long nslookup takes to respond with these 
> or your IP addresses.  I think sendmail will ask DNS for an MX record 
> first because that's how mail is supposed to work - then if that fails 
> it goes for an A record or your hosts file.
>   
Sorry - missed that one .

nslookup cnn.com comes back fast.

if I do nslookup mymachine.domain.com it comes back with error.

How do I make this resolve faster or something. I have no way to make an 
MX record
for this box. its all just local email. it never leaves the box.

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


Re: [CentOS] sendmail question

2009-10-21 Thread nate
Jerry Geis wrote:

> How do I make this resolve faster or something. I have no way to make an
> MX record
> for this box. its all just local email. it never leaves the box.

have you seen

http://www.sendmail.org/faq/section3#3.22

?

nslookup only looks at DNS. So if you are trying to resolve something
that is in something other than DNS, nslookup won't do you any good.

nate

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


Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
Jerry Geis wrote:
>>
>> /
>> You still haven't answered how long nslookup takes to respond with these 
>> or your IP addresses.  I think sendmail will ask DNS for an MX record 
>> first because that's how mail is supposed to work - then if that fails 
>> it goes for an A record or your hosts file.
>>   
> Sorry - missed that one .
> 
> nslookup cnn.com comes back fast.
> 
> if I do nslookup mymachine.domain.com it comes back with error.
> 
> How do I make this resolve faster or something. I have no way to make an 
> MX record
> for this box. its all just local email. it never leaves the box.

An error that is returned quickly isn't a problem - a timeout of many 
seconds is a problem.  How long do the failing responses - and for your 
IP addresses and 127.0.0.1 take?

The cleanest approach is to run a local nameserver that is primary for 
your local domain (even if it is not official) and your local network 
ranges and caches for everything else.

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

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


Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
nate wrote:
> Jerry Geis wrote:
> 
>> How do I make this resolve faster or something. I have no way to make an
>> MX record
>> for this box. its all just local email. it never leaves the box.
> 
> have you seen
> 
> http://www.sendmail.org/faq/section3#3.22
> 
> ?
> 
> nslookup only looks at DNS. So if you are trying to resolve something
> that is in something other than DNS, nslookup won't do you any good.

But sendmail is going to ask DNS first and if DNS fails with a timeout 
instead of a quick NXDOMAIN, delivery will be slow.

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

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


Re: [CentOS] sendmail question

2009-10-21 Thread Jerry Geis


Brent L. Bates wrote:
>  It is not odd.  You just refuse to listen to those trying to help.  How
> many times do they have to say `Check your DNS'?
>
>  Check your /etc/nsswitch.conf and make sure it has a line like this:
>
> hosts:files dns
>
>  `files' comes FIRST and `dns' LAST.
>
>  The file /etc/resolv.conf should have a line starting with `domain' and
> have your domain after it.  You should have at least one `nameserver' line.
>  If you are running `named' on your local system then put `127.0.0.1'.  You
> can have up to 3 `nameserver' lines.
>
>  Finally, your /etc/hosts file should have a line like this:
>
> 127.0.0.1   localhost loopback me
>
>  You should also have lines that correspond with each and every IP address
> the system is using.  For example:
>
> 123.12.34.56  myhost.mydomain.com myhost
>
>  List the Fully Qualified Domain Name (FQDN) FIRST and then the short
> name.
>
>  Use things like `ping' and `nslookup' to make sure DNS is working.  If
> these take forever, 2 minutes for example, your DNS isn't working and you need
> to fix it.
>
>  One last thing, your mail queue shouldn't be any shorter than 15 MINUTES.
>  If you are sending out the the Internet and it is much shorter, you will
> probably end up on someones SPAM list.
>
>   
Brent,

nsswitch.conf has in it the following:

passwd: files
shadow: files
group:  files

#hosts: db files nisplus nis dns
hosts:  files dns




I do not have any domain line in /etc/hosts just 2 nameservers.

/etc/hosts has 127.0.0.1 localhost

I do also have the line with the correct IP for the machine.
IP address space full machine name short name also.

Thanks,

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


Re: [CentOS] sendmail question

2009-10-21 Thread Dan Carl
Jerry Geis wrote:
>> My guess would be a resolving problem also.
>> Its usually what causes sendmail to slow down.
>> Check your /etc/hosts file
>> Dan
>>   
>> 
> My /etc/hosts file is only has the "nameserver x.x.x.x" entry.
>
> the /var/log/maillog shows the entry right away when "mail" on the 
> command line is done.
> Again, this is mail originating on the the box and destination is on the 
> same box.
>
> mailq always shows 0, even doing it repeatedly.
>
> the mail delivery  is delayed exactly 2 minutes.
>
> I have 127.0.0.1 localhost in the /etc/hosts file.
>
> Very odd, any thoughts?
>
>   
If you don't have DNS running on the box, try adding the machine name to 
your hosts file
Example:
127.0.0.1   localhost.localdomain localhost localdomain 
your-machine-name-here

Dan

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


Re: [CentOS] sendmail question

2009-10-21 Thread nate
Les Mikesell wrote:

> But sendmail is going to ask DNS first and if DNS fails with a timeout
> instead of a quick NXDOMAIN, delivery will be slow.

My reading of that FAQ says you can turn off DNS support in
sendmail entirely, just use a host file.

nate


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


Re: [CentOS] Security updates for Centos 5.3

2009-10-21 Thread Karanbir Singh
On 10/21/2009 11:08 PM, Torkil Zachariassen wrote:
> On Wed, 2009-10-21 at 11:11 -0500, slchavar...@iusacell.com.mx wrote:
>> Someone knows which security updates i have to apply to a host with
>> Centos 5.3 x_64.
>
> Yum knows :)
>$ yum --security check-update
>
> You may have to install yum-security first:
># yum install yum-security

does not work on CentOS, never has. However, it *should* start working 
with centos-5 in the next few days :)


-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail question

2009-10-21 Thread Robert Heller
At Wed, 21 Oct 2009 14:26:05 -0400 CentOS mailing list  
wrote:

> 
> >
> > >/
> > />>/ That's a few DNS timeouts.
> > />>/
> > />>>/ / I have 127.0.0.1 localhost in the /etc/hosts file.
> > />>/ />/ 
> > />>/ />/ Very odd, any thoughts?
> > />>/ /
> > />>/ Are you mailing to localhost?
> > />>/   
> > />/ I tried:
> > />/ mail panel
> > />/ mail panel at localhost 
> > 
> > />/ mail panel at localhost.localdomain 
> > 
> > />/ mail panel at machine.domain.com 
> >  (insert actual machine 
> > and domain)
> > />/ 
> > />/ All the above have the same slow 2 minute delay.
> > />/ 
> > />/ This is odd.
> > /
> > You still haven't answered how long nslookup takes to respond with these 
> > or your IP addresses.  I think sendmail will ask DNS for an MX record 
> > first because that's how mail is supposed to work - then if that fails 
> > it goes for an A record or your hosts file.
> >   
> Sorry - missed that one .
> 
> nslookup cnn.com comes back fast.
> 
> if I do nslookup mymachine.domain.com it comes back with error.
> 
> How do I make this resolve faster or something. I have no way to make an 
> MX record
> for this box. its all just local email. it never leaves the box.

You don't need a MX record.  BUT you *should* have a record in the
/etc/hosts file.  I'm assuming you do have an Ethernet card (just not
connected to anything at present), so you need a line like the
following in your /etc/hosts file.

192.168.250.1   sauron.deepsoft.com sauron

replace '192.168.250.1' with the IP address you configured your
Ethernet card to and 'sauron.deepsoft.com sauron' with
'mymachine.domain.com mymachine' (assuming mymachine.domain.com is your
hostname). 

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

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/


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


Re: [CentOS] sendmail question

2009-10-21 Thread Les Mikesell
nate wrote:
> 
>> But sendmail is going to ask DNS first and if DNS fails with a timeout
>> instead of a quick NXDOMAIN, delivery will be slow.
> 
> My reading of that FAQ says you can turn off DNS support in
> sendmail entirely, just use a host file.

But that won't fix all the other things that expect a working DNS - and 
will keep you from sending mail anywhere else.

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


Re: [CentOS] sendmail question

2009-10-21 Thread Dan Carl
Dan Carl wrote:
> Jerry Geis wrote:
>   
>>> My guess would be a resolving problem also.
>>> Its usually what causes sendmail to slow down.
>>> Check your /etc/hosts file
>>> Dan
>>>   
>>> 
>>>   
>> My /etc/hosts file is only has the "nameserver x.x.x.x" entry.
>>
>> the /var/log/maillog shows the entry right away when "mail" on the 
>> command line is done.
>> Again, this is mail originating on the the box and destination is on the 
>> same box.
>>
>> mailq always shows 0, even doing it repeatedly.
>>
>> the mail delivery  is delayed exactly 2 minutes.
>>
>> I have 127.0.0.1 localhost in the /etc/hosts file.
>>
>> Very odd, any thoughts?
>>
>>   
>> 
> If you don't have DNS running on the box, try adding the machine name to 
> your hosts file
> Example:
> 127.0.0.1   localhost.localdomain localhost localdomain 
> your-machine-name-here
>
>   
Sorry formatting issue
it should all be on one line

127.0.0.1 localhost.localdomain localhost localdomain your-name-here
Dan


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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Tony Molloy
On Wednesday 21 October 2009 16:31:13 Alan McKay wrote:
> > it will work when your mirror has 5.4
>
> ahhh, OK.   What if my mirror is the same box?   Will that work too?
> I cannot see any reason from here why it would not.
>
> I keep a local mirror on my desktop (the box in question) and am just
> bringing down 5.4 now, with rsync
>
> thanks,
> -Alan

When the rsync is finished check the contents of the centos/5 directory. There 
should be links there to the point release in use.

In my case although i've got the 5.4 rpms rsynced from my local mirroor the 
links in that directory still link to 5,3 

e.g.

[r...@thomond centos]# cd 5
[r...@thomond 5]# ls -al
total 44
drwxrwxr-x  2 1000 1000 4096 Apr  1  2009 .
drwxr-xr-x 11 1000 1000 4096 Sep 28 23:29 ..
lrwxrwxrwx  1 1000 1000   14 Oct 21 11:04 addons -> ../5.3/addons/

That means that the default Centos-Base.repo file in /etc/yum.repos.d will 
still use 5.3.

When 5.4 is finally released and all the mirrors have synced then the links 
will link to 5.4

Hope this helps,

Tony
-- 


Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-5.3 saslauth configuration issue

2009-10-21 Thread James B. Byrne
I am trying to get cyrus-imapd and saslauthd running together so
that I can get squirrelmail to work.  I have accomplished this on
several other servers and have relatively complete documentation on
how to do this.  What I am running into in this case has me baffled.

If I start saslauthd as a service:

# service saslauthd start

And I try testsaslauthd -u cyrus -p test

Then I see this:

0: NO "authentication failed"

and in the syslog I see this::

saslauthd[5995]: do_auth : auth failure: [user=cyrus]
[service=imap] [realm=] [mech=pam] [reason=PAM auth error]

However, if I stop the system service:

# service saslauthd stop

and I run the saslauthd daemon from the tty with debug on:

# saslauthd -a shadow -d -n 6

then when I try

# testsaslauthd -u cyrus -p test

I see

0: OK "Success."

Anyone have a clue for me as to what is going on here?

Regards,



-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] sendmail question

2009-10-21 Thread nate
Les Mikesell wrote:

> But that won't fix all the other things that expect a working DNS - and
> will keep you from sending mail anywhere else.

smarthost

I'm not sure what the original thread started as just seemed
specific to sendmail.

nate

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


Re: [CentOS] Low End NAS hardware.

2009-10-21 Thread Drew
> What exactly does the home-server do that couldn't be done on the
> clients connected to it, once they are running?

Run Linux 24/7. :-)

For what I do with my PC it's far safer to store my files on a
seperate machine. I tend to tweak linux a lot (I run Gentoo) so
breakage is a regular thing. I've learned through the last few crashes
that backups and storing files off the PC are the best way to keep my
spouse, and therefore me, happy. For some reason she gets mad when our
photo collection isn't accessible on the media box. :-)




-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Recommendation for PCI-e SATA RAID 5 card?

2009-10-21 Thread Neil Aggarwal
Hello:

I am looking for a recommendation for a PCI-e
RAID card for my server.  The server has a
PCI-e x16 low profile slot so the card has
to be at most 6.6 inches long x 2.536 inches
high.  I would like to use RAID 5 with 3 drives
so I have to have those capabilities.

It has to be CentOS 5.4 compatible (Of course!).

I took a look at the offerings from 3Ware, but
their cards are too long.

If you have a card you are happy with, I would
appreciate a recommendation.

Thanks,
Neil


--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.

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


[CentOS] [SOLVED]: CentOS-5.3 saslauth configuration issue

2009-10-21 Thread James B. Byrne

On Wed, October 21, 2009 15:25, James B. Byrne wrote:
> I am trying to get cyrus-imapd and saslauthd running together so
> that I can get squirrelmail to work.  I have accomplished this on
> several other servers and have relatively complete documentation on
> how to do this.  What I am running into in this case has me baffled.
>


This was an SELinux issue which required a system level file context
restore to resolve.

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] Recommendation for PCI-e SATA RAID 5 card?

2009-10-21 Thread Lucian @ lastdot.org
On Wed, Oct 21, 2009 at 9:26 PM, Neil Aggarwal  wrote:
> Hello:
>
> I am looking for a recommendation for a PCI-e
> RAID card for my server.  The server has a
> PCI-e x16 low profile slot so the card has
> to be at most 6.6 inches long x 2.536 inches
> high.  I would like to use RAID 5 with 3 drives
> so I have to have those capabilities.
>
> It has to be CentOS 5.4 compatible (Of course!).
>
> I took a look at the offerings from 3Ware, but
> their cards are too long.
>
> If you have a card you are happy with, I would
> appreciate a recommendation.
>
> Thanks,
>        Neil
>
>
> --
> Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
> Will your e-commerce site go offline if you have
> a DB server failure, fiber cut, flood, fire, or other disaster?
> If so, ask about our geographically redundant database system.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Been quite happy with Areca.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommendation for PCI-e SATA RAID 5 card?

2009-10-21 Thread Karanbir Singh
On 10/22/2009 01:56 AM, Neil Aggarwal wrote:
> Hello:
>
> I am looking for a recommendation for a PCI-e
> RAID card for my server.

Areca's have worked well for me over the last few years, and they have 
some small formfactor hba's too ( eg  like being able to host a bbu in a 
1U chassis. I've never seen a 3ware card able to do that )

-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommendation for PCI-e SATA RAID 5 card?

2009-10-21 Thread Joseph L. Casale
>If you have a card you are happy with, I would
>appreciate a recommendation.

I use the LSI's, they are pretty solid with a good cli, snmp and rhel
support.

Keep in mind airflow, these cards get hot without good airflow.

6.6" long, and half height? I just went and measured the 1068's
I have (ELP's etc) and they are ~8 long...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommendation for PCI-e SATA RAID 5 card?

2009-10-21 Thread Adrian Sevcenco

Neil Aggarwal wrote:

Hello:

I am looking for a recommendation for a PCI-e
RAID card for my server.  The server has a
PCI-e x16 low profile slot so the card has
to be at most 6.6 inches long x 2.536 inches
high.  I would like to use RAID 5 with 3 drives
so I have to have those capabilities.

It has to be CentOS 5.4 compatible (Of course!).

I took a look at the offerings from 3Ware, but
their cards are too long.

If you have a card you are happy with, I would
appreciate a recommendation.
ARECA all the way .. we are very happy with their 24 port controllers 
(RAID6 capable)(of which we have six so far) and with the features of 
monitoring and (out-of-band) configuration.


Best regards,
Adrian

---
Adrian Sevcenco - Institute of Space Sciences, Romania
---


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommendation for PCI-e SATA RAID 5 card?

2009-10-21 Thread Johnny Tan
Joseph L. Casale wrote:
> I use the LSI's, they are pretty solid with a good cli, snmp and rhel
> support.

Sorry to hijack, but really quick question. What cli do you 
use for the LSI cards? Do you have a URL?

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


[CentOS] File Server using ISCSI attached storage - Hardware HBA ?

2009-10-21 Thread Clint Dilks
Hi Everyone

I am looking at setting up a File Server that uses ISCSI storage.  It is 
the first time I have done this, so I am wanting to get peoples thoughts 
on whether for CentOS systems you should use Hardware based ISCSI HBA's?

If so do I need to be careful about what HBA I use ?  Currently I am 
looking at purchasing a Dell System using  Broadcom ethernet cards/ 
ISCSI HBA.  From google searching it seems QLogic HBA's are quite popular ?

Any suggestions or experience you can offer appreciated.

Have a nice day
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Yves Bellefeuille
> it will work when your mirror has 5.4

I have the same problem. Are many mirrors not updated yet?

-- 
Yves Bellefeuille  
"Yves Bellefeuille: Eterna malvenkanto en UEA" -- Heroldo Komunikas,
n-ro 389

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


Re: [CentOS] File Server using ISCSI attached storage - Hardware HBA ?

2009-10-21 Thread nate
Clint Dilks wrote:
> Hi Everyone
>
> I am looking at setting up a File Server that uses ISCSI storage.  It is
> the first time I have done this, so I am wanting to get peoples thoughts
> on whether for CentOS systems you should use Hardware based ISCSI HBA's?
>
> If so do I need to be careful about what HBA I use ?  Currently I am
> looking at purchasing a Dell System using  Broadcom ethernet cards/
> ISCSI HBA.  From google searching it seems QLogic HBA's are quite popular ?
>
> Any suggestions or experience you can offer appreciated.

Depends on the load, most file servers aren't that busy in
which case software iSCSI would be fine. HBAs are good for
things like booting via iSCSI. Qlogic HBAs are good yes though
they are limited to 1Gbps of throughput. Chelsio seems to
be popular as well for 10Gbps at least.

Many modern broadcom chips have iSCSI offload ability as well,
though I haven't tested it myself under linux at least.

What iSCSI system will you be connecting your servers to?

nate


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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Mathew S. McCarrell
On Wed, Oct 21, 2009 at 5:55 PM, Yves Bellefeuille  wrote:

> > it will work when your mirror has 5.4
>
> I have the same problem. Are many mirrors not updated yet?
>

Many of them should be current since the official release just occurred.
 I've already seen 25 Mbps jump in traffic on the Clarkson mirror since
release almost an hour ago.


--
Mathew S. McCarrell
Clarkson University '10

mccar...@gmail.com
mccar...@clarkson.edu
1-518-314-9214
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] File Server using ISCSI attached storage - Hardware HBA ?

2009-10-21 Thread Clint Dilks
nate wrote:
> Clint Dilks wrote:
>   
>> Hi Everyone
>>
>> I am looking at setting up a File Server that uses ISCSI storage.  It is
>> the first time I have done this, so I am wanting to get peoples thoughts
>> on whether for CentOS systems you should use Hardware based ISCSI HBA's?
>>
>> If so do I need to be careful about what HBA I use ?  Currently I am
>> looking at purchasing a Dell System using  Broadcom ethernet cards/
>> ISCSI HBA.  From google searching it seems QLogic HBA's are quite popular ?
>>
>> Any suggestions or experience you can offer appreciated.
>> 
>
> Depends on the load, most file servers aren't that busy in
> which case software iSCSI would be fine. HBAs are good for
> things like booting via iSCSI. Qlogic HBAs are good yes though
> they are limited to 1Gbps of throughput. Chelsio seems to
> be popular as well for 10Gbps at least.
>
> Many modern broadcom chips have iSCSI offload ability as well,
> though I haven't tested it myself under linux at least.
>
> What iSCSI system will you be connecting your servers to?
>
> nate
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   
Hi, Thanks for the response.

At the moment I'm not exactly sure what ISCSI storage will be bought, 
but hopefully something like 
http://www1.ap.dell.com/nz/en/business/storage/equallogic-ps4000-series/ct.aspx?refid=equallogic-ps4000-series&s=bsd&cs=nzbsd1
 

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


Re: [CentOS] File Server using ISCSI attached storage - Hardware HBA ?

2009-10-21 Thread nate
Clint Dilks wrote:

> Hi, Thanks for the response.
>
> At the moment I'm not exactly sure what ISCSI storage will be bought,
> but hopefully something like
> http://www1.ap.dell.com/nz/en/business/storage/equallogic-ps4000-series/ct.aspx?refid=equallogic-ps4000-series&s=bsd&cs=nzbsd1

Don't know what your requirements are but file serving could
be handled by DAS at a lower cost -

http://www1.ap.dell.com/nz/en/business/sas/ct.aspx?refid=sas&s=bsd&cs=nzbsd1&~ck=mn

I wouldn't go DAS if you plan on adapting the iSCSI stuff to run
other applications such as virtualization or clustering or
something.

just a thought..

nate


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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Yves Bellefeuille
On Wednesday 21 October 2009 18:01, Mathew S. McCarrell wrote:

> On Wed, Oct 21, 2009 at 5:55 PM, Yves Bellefeuille  
wrote:
>
> > I have the same problem. Are many mirrors not updated yet?
>
> Many of them should be current since the official release just
> occurred. I've already seen 25 Mbps jump in traffic on the Clarkson
> mirror since release almost an hour ago.

It seems that my list of mirrors isn't being updated. The 
file /var/cache/yum/updates/mirrorlist.txt has this:

http://www.muug.mb.ca/pub/centos/5.3/updates/i386/
http://centos.arcticnetwork.ca/5.3/updates/i386/

(etc.)

I did do "yum clean all". How can I get the file to indicate
http://www.muug.mb.ca/pub/centos/5.4/updates/i386/, etc.?

-- 
Yves Bellefeuille  
"Yves Bellefeuille: Eterna malvenkanto en UEA" -- Heroldo Komunikas,
n-ro 389

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


Re: [CentOS] File Server using ISCSI attached storage - Hardware HBA ?

2009-10-21 Thread Clint Dilks
nate wrote:
> Clint Dilks wrote:
>
>   
>> Hi, Thanks for the response.
>>
>> At the moment I'm not exactly sure what ISCSI storage will be bought,
>> but hopefully something like
>> http://www1.ap.dell.com/nz/en/business/storage/equallogic-ps4000-series/ct.aspx?refid=equallogic-ps4000-series&s=bsd&cs=nzbsd1
>> 
>
> Don't know what your requirements are but file serving could
> be handled by DAS at a lower cost -
>
> http://www1.ap.dell.com/nz/en/business/sas/ct.aspx?refid=sas&s=bsd&cs=nzbsd1&~ck=mn
>
> I wouldn't go DAS if you plan on adapting the iSCSI stuff to run
> other applications such as virtualization or clustering or
> something.
>
> just a thought..
>
> nate
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   
Thanks for the suggestion.  But the plan is to eventually connect a 
number of Linux, Mac and Windows servers to separate LUN's on the ISCSI 
device
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpm --freshen issue

2009-10-21 Thread ken

On 10/21/2009 10:03 AM Barry Brimer wrote:
> 
> On Wed, 21 Oct 2009, ken wrote:
> 
>> On 10/20/2009 12:15 PM Benjamin Franz wrote:
>>> ken wrote:
 Okay, here's one. Maybe someone here can figure it out.
 Upgrading from 4.5 to 4.5.  From a 4.6 ISO I copied all the RPMs into a
 directory... let's call it c:/install :).   Now the oracle dba has
 strict parameters on what versions can be installed and which can't.
 The rpms in c:/install meet those requirements.  In addition, since this
 is a production machine, it can be down at most for one day.  So all I
 want to do is upgrade what's currently on the system.  Moreover, if
 something horks, I want two chances to back out (the second being asking
 the backup guy to put the system back to yesterday).  The command to do
 this would be

 rpm --freshen --repackage *

 run in that crazy c:/install directory (or what the redhat guy called, a
 "folder").  This command runs fine for one file which has no
 dependencies (i.e., change '*' to a specific rpm).  It also upgrades
 three or four co-dependent rpms if they're narrowly specified.  But if
 the file/rpm spec is '*', rpm complains about two missing dependencies
 and stops.

 Yeah, this directory contains 1507 rpms (IIRC)... which is a lot, but it
 should still work.  This is Linux, after all.  And there's plenty enough
 memory and cpu to handle it.

>>> Running
>>>
>>> rpm --freshen --repackage *
>>>
>>> for 1500+ rpms  probably exceeds the maximum character length for some
>>> part of the system after expansion of the '*'  by the shell.
>> That was my first suspicion too.  The redhat tech didn't bring that up
>> though.  (That doesn't mean I'm going to ignore that as a possible
>> workaround; the original conversation here was about tech support per
>> se.  Of course I'm still seeking ways to do the job.  And so thanks for
>> the suggestion.)
>>
>> I, too, recall reading some years back about a bash line length limit.
>> Back then, a long time ago, it was 2048 characters.  So I ran "echo *"
>> in that same install/ directory and the output included all 1507 files.
>> So the problem's not with a bash command line length limit, but still
>> pointing to the "rpm" command.
>>
>>
>>
>>> Try breaking it up into smaller chunks (say two or three hundred at a
>>> time). You can match subsets of the files using shell expansions like
>>>
>>> rpm --freshen --repackage [a-g]*
>>>
>>> and tweak the line for any dependency complaints manually.
>> This solution occurred to me also.  And right now it's a top contender
>> (along with another I'll mention shortly).  If the job environment were
>> different, I'd go with it.  But my boss is making me jump through a lot
>> of hoops for this project.  This upgrade from v.4.5 to v.4.6 needs to
>> happen in a single, specified day *and* my boss needs to know how long
>> it will take me to accomplish, this so the Oracle dba knows when he can
>> start to on what he's got to do for this upgrade.  And I have at most
>> fifteen hours (i.e., two working days) to come up with this fool-proof
>> plan.  Plus, I don't have a test box to try things out on.  But I've had
>> to do trickier stuff than this in the past with not dissimilar time
>> constraints, so though I should be taking extra boxers to work, I'm not
>> (yet).
>>
>> So what I was thinking of doing is scripting the solution you suggest
>> above.  But then, if I'm going to script something, I might as well
>> write a script that will take on the entire task wholistically.  I mean
>> something like this:
>>
>> ls -1 install/ > what-to-upgrade.list  # create package list
>> while read package | {upgrade package}  #just quasi-code here. Loop.
>> if {there's nothing to upgrade}
>>  remove pkg from what-to-upgrade.list
>>  log this
>>  continue
>> fi
>> if {there are dependencies}
>> then for {each dependency} {upgrade package}  # yep, recursion
>> fi
>> else [upgrade package} # simplest case, just upgrade one pkg
>>
>> The {upgrade package} function would be fairly simple (I think):
>> - Find the correct package in the install/ directory (containing the
>> RPMs for v.4.6).
>> - Upgrade the 4.5 package with that correct 4.6 package.
>> - Confirm that the 4.6 is installed.
>> - Remove that package name from what-to-upgrade.list
>> - Log that this package has been upgraded.
>>
>> I already see some bogus stuff here, but I'm writing this on the fly.
>> Point is, it seems do-able, and probably within the time constraints.
>> And then, what are the alternatives?
>>
>> One, suggested by the redhat tech (about whom there's more news...
>> later), is to use up2date.  I read the manpage on it and it's pretty
>> vague.  I'm sure I have, but I don't recall using it before, so I can't
>> fill in the details which the manpage lacks.  Lastly, I don't see a way
>> to test up2date to see if it will work within my (dba's) specific
>> parameters.
> 
> If yo

Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Ross Walker

On Oct 21, 2009, at 11:43 AM, John R Pierce  wrote:

>
>> Say, I had 4 devices with 500 GB drives exported using iSCSI.  If a
>> single larger server
>> took those four iSCSI export drives, and created one md RAID 5  
>> device,
>> could a single
>> server be turned off, and just degrade the array until it was either
>> replaced entirely
>> or brought back online?
>>
>
>
> how long would it take to replicate and rebuild a volume  across the  
> LAN
> via iscsi?  if each of those slices was 500GB, you'd be reading 3 x
> 500GB and writing 500GB before the drive was resynched.   note, a  
> single
> drive on each storage controller in this scenario won't even achieve
> 1gigE speeds.

Worthy of testing just to see how it performs, but I definitely would  
stick with raid6 or 10 here.

-Ross

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


Re: [CentOS] using CentOS as an iSCSI server?

2009-10-21 Thread Ross Walker
On Oct 21, 2009, at 11:16 AM, Les Mikesell   
wrote:

> Ross Walker wrote:
>> On Oct 21, 2009, at 9:47 AM, Rainer Duffner 
>> wrote:
>>
>>> Chan Chung Hang Christopher schrieb:
 I suspect so. After all, it is just seen as a disk as far as md is
 concerned and it will do the same normal thing if you unplugged a
 single
 disk from the array.

>>>
>>> But the latency over the net is much higher.
>>> Who knows if the kernel can handle this in all situations?
>>
>> I'm sure the kernel can handle the slowness, it's the cache
>> consistency one has to be careful with in these setups. With so many
>> caching devices in the chain, one must make sure the write and read
>> cache is consistent throughout.
>
> Journaled file systems should take care of the consistency issues.

I'm not talking data missing due to target/device failure, I'm talking  
about wrong data being returned from cache because the caches between  
the head server and backing store don't agree. No journal can help  
that, ZFS would help identify it, but not prevent, nor repair it as  
wrong data would keep coming back.

-Ross

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


  1   2   >