Re: [CentOS] CentOS 5.3 on X86_64: yum installs both i386 and x86_64 packages

2009-10-14 Thread Mathieu Baudier
Out of pure curiosity:
Does anybody know why both i386 and x86_64 are installed by default?

On other x86_64 platforms I rather tend to cherrypick the i386
packages and install them on a case by case basis.

On Wed, Oct 14, 2009 at 06:49, Vnpenguin  wrote:
>
> I removed all i?86 on my x86_64 servers. No problem.
>
> --
> http://vnoss.org
> ___
> 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] Best practice settings for channel bonding interface mode?

2009-10-14 Thread Joseph L. Casale
>E.g. I do have some fileservers connected to the users lan and to some
>ISCSI Storages. Or some Webservers only connected to the LAN. The
>switches are all new cisco models.

Just as an example, the Microsoft ini recommends against running it through
bonded interfaces but suggests to use multipathing instead, something you
might want to consider for the iSCSI case.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best practice settings for channel bonding interface mode?

2009-10-14 Thread nate
Götz Reinicke - IT-Koordinator wrote:
> E.g. I do have some fileservers connected to the users lan and to some
> ISCSI Storages. Or some Webservers only connected to the LAN. The
> switches are all new cisco models.

For me the only valid bonding modes to use are:

- active/backup
- 802.3ad

If you have systems using iSCSI, I strongly reccomend using
dedicated NICs for accessing iSCSI and putting them in VLANs
that have jumbo frames enabled, and enable jumbo frames on the iSCSI
targets. The nice thing about iSCSI is since it runs on top of
TCP you can configure your iSCSI system to use jumbo frames and
both standard frame and jumbo frame systems can talk to it because
TCP has MTU negotiation(forget what the real name is called).

Note that 802.3ad will not provide any higher throughput than
1 link in the bond can do to a single ip/port. It is meant for
many:1 improvement in throughput. If you have 802.3ad on the
client side and say your iSCSI target uses 802.3ad as well, and
everything is GbE, you won't get more than 1GbE of throughput
even if you have 8 ports in a bond/trunk.

For faster throughput than 1GbE between hosts I suggest going
to 10GbaseT, which allows 10GbE speeds on CAT5e up to 55 meters,
and CAT6a up to 100 meters. Really makes for cost effective
10GbE. There aren't many 10GbE NICs on the market yet that
can use 10GbE over UTP (Chelsio is one vendor that I know of).

Active/backup is pretty simple, you typically have 1 link that
is active the other is standby, by default if the system
detects the first link going down it switches over in about
a second or so.

nate

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


Re: [CentOS] Best practice settings for channel bonding interface mode?

2009-10-14 Thread Ross Walker
On Oct 14, 2009, at 8:55 AM, "Joseph L. Casale"  wrote:

>> E.g. I do have some fileservers connected to the users lan and to  
>> some
>> ISCSI Storages. Or some Webservers only connected to the LAN. The
>> switches are all new cisco models.
>
> Just as an example, the Microsoft ini recommends against running it  
> through
> bonded interfaces but suggests to use multipathing instead,  
> something you
> might want to consider for the iSCSI case.

That's on the initiator side, on the target side MS supports whatever  
works for the target.

For target servers I typically run 2 bonded pairs (802.3ad) for iSCSI  
traffic to 4-6 initiators, one pair for one path, the other for the  
other path using layer3/4 hashing.

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


Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Carlos Santana
The CentOS wiki link I mentioned [
http://wiki.centos.org/TipsAndTricks/VMWare_Server ], has instructions
adapted from VMware knowledge base link mentioned by many of you [
http://kb.vmware.com/kb/1006427 ].

I have followed the instructions on CentOS wiki, but it doesn't seem
to work. Most of the suggestions here are same as mentioned in the
CentOS wiki/VMware knowledge base.  Any comments or suggestions?

-
CS.



On Tue, Oct 13, 2009 at 6:34 PM, Ray Van Dolson  wrote:
> On Tue, Oct 13, 2009 at 04:31:03PM -0700, nate wrote:
>> Carlos Santana wrote:
>> > Howdy,
>> >
>> > I am having time-drift issues on my CentOS VM. I had referred to
>> > following documentation:
>> > http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't
>> > help. I used kickstart for creating this VM and I am listing important
>> > steps in ref to timekeeping issue. Any comments or suggestion would be
>> > appreciated.
>>
>> [..]
>> > VMware Tools not installed.
>>
>> You should certainly install vmware tools, and enable time sync to
>> the guest. Also don't run an ntp server in a Vmware VM.
>
> This is what I'd always thought, but the VMware KB link[1] referenced
> in the other reply in this thread seems to indicate that best practice
> is to use NTP + kernel w/ clock/divider options (unless it's new enough
> to not need it) and to *not* use the VMware Tools host time sync.
>
> That said, you should certainly still have VMware Tools installed, it
> just sounds like the host time sync is no longer preferred...
>
> Also note that they recommend you remove the local time source in
> ntp.conf...
>
> Ray
>
> [1] 
> http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427
> ___
> 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] timekeeping on VMware guests

2009-10-14 Thread Ray Van Dolson
On Wed, Oct 14, 2009 at 09:41:52AM -0500, Carlos Santana wrote:
> The CentOS wiki link I mentioned [
> http://wiki.centos.org/TipsAndTricks/VMWare_Server ], has instructions
> adapted from VMware knowledge base link mentioned by many of you [
> http://kb.vmware.com/kb/1006427 ].
> 
> I have followed the instructions on CentOS wiki, but it doesn't seem
> to work. Most of the suggestions here are same as mentioned in the
> CentOS wiki/VMware knowledge base.  Any comments or suggestions?

(Most people prefer you don't top post FYI).

Can you describe the steps you took exactly?  And the symptoms you're
still seeing?

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


Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Carlos Santana
On Wed, Oct 14, 2009 at 9:50 AM, Ray Van Dolson  wrote:
> On Wed, Oct 14, 2009 at 09:41:52AM -0500, Carlos Santana wrote:
>> The CentOS wiki link I mentioned [
>> http://wiki.centos.org/TipsAndTricks/VMWare_Server ], has instructions
>> adapted from VMware knowledge base link mentioned by many of you [
>> http://kb.vmware.com/kb/1006427 ].
>>
>> I have followed the instructions on CentOS wiki, but it doesn't seem
>> to work. Most of the suggestions here are same as mentioned in the
>> CentOS wiki/VMware knowledge base.  Any comments or suggestions?
>
> (Most people prefer you don't top post FYI).
>
> Can you describe the steps you took exactly?  And the symptoms you're
> still seeing?
>
> Ray
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Following steps were taken to set up my CentOS VM guest (without
vmware-tools installed):

1. Kernel options added as:
divider=10
clocksource=acpi_pm


2. ntp.conf file was modified as per wiki instructions as follows:
(add to the top of the file)
# modification as per http://kb.vmware.com/kb/1006427
# The configuration directive tinker panic 0 instructs NTP not to give up
# if it sees a large jump in time and must be at the top of the ntp.conf file.
tinker panic 0
# end of mod

(comment out 2 lines as below)
# modification as per http://kb.vmware.com/kb/1006427
# It is also important not to use the local clock as a time source,
# often referred to as the Undisciplined Local Clock. NTP has a
# tendency to fall back to this in preference to the remote servers
# The following 2 lines commented out.

# when there is a large amount of time drift.
# server127.127.1.0 # local clock
# fudge 127.127.1.0 stratum 10

3. Create /etc/ntp/step-tickers and add these lines:
0.centos.pool.ntp.org
1.centos.pool.ntp.org
--

Any missing pointers..?

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


Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Akemi Yagi
On Wed, Oct 14, 2009 at 8:55 AM, Carlos Santana  wrote:

> Following steps were taken to set up my CentOS VM guest (without
> vmware-tools installed):
>
> 1. Kernel options added as:
> divider=10
> clocksource=acpi_pm
(snip)
> Any missing pointers..?
>
> Thanks,
> CS.

I hope you have seen my earlier posts in this thread.  If you are not
running the latest kernel (-164), you want to give it a try because it
has patches developed by VMWare engineers for RHEL kernels.  If you
are already running the -164 kernel, you should not be using the
clocksource= option as explained in the upstream bugzilla I cited.

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


Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Carlos Santana
On Wed, Oct 14, 2009 at 11:04 AM, Akemi Yagi  wrote:
> On Wed, Oct 14, 2009 at 8:55 AM, Carlos Santana  wrote:
>
>> Following steps were taken to set up my CentOS VM guest (without
>> vmware-tools installed):
>>
>> 1. Kernel options added as:
>> divider=10
>> clocksource=acpi_pm
> (snip)
>> Any missing pointers..?
>>
>> Thanks,
>> CS.
>
> I hope you have seen my earlier posts in this thread.  If you are not
> running the latest kernel (-164), you want to give it a try because it
> has patches developed by VMWare engineers for RHEL kernels.  If you
> are already running the -164 kernel, you should not be using the
> clocksource= option as explained in the upstream bugzilla I cited.
>
> Akemi

Thanks Akemi.

I am using -128 (2.6.18-128.el5) though.


> ___
> 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] timekeeping on VMware guests

2009-10-14 Thread Ray Van Dolson
On Wed, Oct 14, 2009 at 10:55:40AM -0500, Carlos Santana wrote:
> Following steps were taken to set up my CentOS VM guest (without
> vmware-tools installed):
> 
> 1. Kernel options added as:
> divider=10
> clocksource=acpi_pm
> 
> 2. ntp.conf file was modified as per wiki instructions as follows:
> (add to the top of the file)
> # modification as per http://kb.vmware.com/kb/1006427
> # The configuration directive tinker panic 0 instructs NTP not to give up
> # if it sees a large jump in time and must be at the top of the ntp.conf file.
> tinker panic 0
> # end of mod
> 
> (comment out 2 lines as below)
> # modification as per http://kb.vmware.com/kb/1006427
> # It is also important not to use the local clock as a time source,
> # often referred to as the Undisciplined Local Clock. NTP has a
> # tendency to fall back to this in preference to the remote servers
> # The following 2 lines commented out.
> 
> # when there is a large amount of time drift.
> # server127.127.1.0 # local clock
> # fudge 127.127.1.0 stratum 10
> 
> 3. Create /etc/ntp/step-tickers and add these lines:
> 0.centos.pool.ntp.org
> 1.centos.pool.ntp.org
> --
> 
> Any missing pointers..?
> 

Looks good to me.  The only issue might be if you have a firewall
blocking access to the given NTP servers.

What kind of symptoms are you seeing after doin the above, rebooting,
sync'ing the time, then leaving ntpd doing it's thing?

Does the clock start going too fast?  Too slow?  Do you see any errors
in dmesg or /var/log/messages?

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


Re: [CentOS] CentOS 5.3 on X86_64: yum installs both i386 and x86_64 packages

2009-10-14 Thread Patrick McEvoy
I have just found this post regarding the removal of .i?86 packages on a 
x86_64 machine, http://bugs.centos.org/view.php?id=2590.  I assume that 
these issues still exist for CentOS 5.3.  Anyone have advice on how to 
remove the duplicate packages safely?

Thanks,
Patrick

Mathieu Baudier wrote:
> Out of pure curiosity:
> Does anybody know why both i386 and x86_64 are installed by default?
>
> On other x86_64 platforms I rather tend to cherrypick the i386
> packages and install them on a case by case basis.
>
> On Wed, Oct 14, 2009 at 06:49, Vnpenguin  wrote:
>   
>> I removed all i?86 on my x86_64 servers. No problem.
>>
>> --
>> http://vnoss.org
>> ___
>> 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
>
>   

-- 

Patrick McEvoy
System Administrator
Silva Capital Management, LLC
625 N. Michigan Ave, Suite 412
Chicago, IL 60611
Office: 312-397-0400, Fax: 312-397-0404
Cell: 773-517-1287
pmce...@silvacapitalmgmt.com


  Silva Capital Management, LLC 

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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread James A. Peltier

On Tue, 13 Oct 2009, Pasi Kärkkäinen wrote:



Hmm.. what kind of problems do you have with snapshots?


Let's see

They take up 16MB  of space regardless of the amount of data that changes. 
A single bit changes and 16MB is taken up.  This is not tunable.


Mounting a snapshot requires the generation of a new UUID for the file 
system in order to be able to use it.  Perhaps this is a XFS limitation, 
but unlike ZFS they aren't immediately available.  We need to perform this 
action extensively to backup file systems and allow for quick data 
recovery.


There is no GNU/Linux interface to automating the snapshot process. Sure 
there is a telnet interface but it changes from version to version.  I 
know because I've spoken with engineers to discuss this issue.  I wrote 
software to talk to the EQL using the interface.  There are talks of an 
SDK for developers but nothing has materialized.


Don't get me wrong, it's a great device for cheap storage compared to 
competitors but there are obvious limitations that you need to address in 
your requirements if you intend to deploy it.


--
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
HPC Coordinator
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
  http://blogs.sfu.ca/people/jpeltier
MSN : subatomic_s...@hotmail.com

Does your OS has a man 8 lart?
http://www.xinu.nl/unix/humour/asr-manpages/lart.html___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] post install freezes

2009-10-14 Thread David Mehler
Hello,
I'm doing an unattended CentOS 5.3 install in a virtual machine
vmware. I'm redirecting output to a serial console because production
boxes won't have monitors. I'm getting to the point of doing the post
installation then the box freezes. The only command i have in %post is
yum -y update.
I'm not getting no output. Suggestions appreciated.
In the commands section reboot is explicitly called so that at the end
of the install the vm will reboot.
Thanks.
Dave.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread James A. Peltier
On Tue, 13 Oct 2009, Carlos Santana wrote:

> Howdy,
>
> I am having time-drift issues on my CentOS VM. I had referred to
> following documentation:

The issue I had with time drift was due to running NTP inside the VM. 
Don't do it.  The VM should get it's time through the VMWare tools that 
are installed on the guest.  Once I did this the drift disappeared.

-- 
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
HPC Coordinator
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
   http://blogs.sfu.ca/people/jpeltier
MSN : subatomic_s...@hotmail.com

Does your OS has a man 8 lart?
http://www.xinu.nl/unix/humour/asr-manpages/lart.html
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dell Equallogic

2009-10-14 Thread Eugene Vilensky
On Wed, Oct 14, 2009 at 12:36 PM, James A. Peltier  wrote:
> They take up 16MB  of space regardless of the amount of data that changes. A
> single bit changes and 16MB is taken up.  This is not tunable.

I know they run Linux but is the internal file system some secret
sauce or did they just slap tools on LVM/ext3?  Somewhere in between?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dell Equallogic

2009-10-14 Thread nate
James A. Peltier wrote:

> Mounting a snapshot requires the generation of a new UUID for the file
> system in order to be able to use it.  Perhaps this is a XFS limitation,
> but unlike ZFS they aren't immediately available.  We need to perform this
> action extensively to backup file systems and allow for quick data
> recovery.

Another side effect of snapshots and using LVM for example(applies
to any vendor's block based snapshots), is you can't easily take
a snapshot of an LVM-based file system, then mount that snapshot
on the same system, LVM will bitch. I spent some time trying to
play with dynamically changing the UUID in the volume group but
gave up, too complicated for my needs, instead I just mount the
snapshot on another system(or a VM with either Raw device mapping
in VMware or a software iSCSI initiator on the guest).

I've written a few scripts for things like mysql snapshots and
Oracle snapshots over the years with my 3PAR array, using SSH
and key-based authentication the interface is pretty easy, a single
command to create a read-only snapshot, then another command
to create a read-write (read-write snapshots must be children of
read-only ones in the 3PAR world anyways). The process takes less
than a second, and if I want to snapshot a dozen volumes at the
same instant, still a single command and the array ensures all
volumes are taken at the same point in time, very helpful for
Oracle snapshots which can get messy if your dealing with
multiple volumes and not having them all perfectly in sync
with each other.

nate


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


Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Brian Mathis
On Wed, Oct 14, 2009 at 1:38 PM, James A. Peltier  wrote:
> On Tue, 13 Oct 2009, Carlos Santana wrote:
>
>> Howdy,
>>
>> I am having time-drift issues on my CentOS VM. I had referred to
>> following documentation:
>
> The issue I had with time drift was due to running NTP inside the VM.
> Don't do it.  The VM should get it's time through the VMWare tools that
> are installed on the guest.  Once I did this the drift disappeared.
>
> --
> James A. Peltier


I recently wrote a script that retrieves the current time from an NTP
server and compares it to the local time.  You may be surprised to
know that inside of a VM the time is constantly drifting, and when it
gets to 60 seconds difference, it is forcibly reset by vmware tools.
In other words, this is a bad way to handle time.

As has been already mentioned, the timekeeping best practices from
vmware have changed from using vmware tools to using NTP and correct
kernel options 
(http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427).
 I have not yet implemented this myself, but it seems like a better
way to handle it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dell Equallogic

2009-10-14 Thread John R Pierce
nate wrote:
> Another side effect of snapshots and using LVM for example(applies
> to any vendor's block based snapshots), is you can't easily take
> a snapshot of an LVM-based file system, then mount that snapshot
> on the same system, LVM will bitch. 


if you have a SAN that supports logical volumes that have snapshot and 
grow and such, I'm not sure why you'd bother with LVM on top of that, it 
would just further obfuscate things.


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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread Pasi Kärkkäinen
On Wed, Oct 14, 2009 at 10:36:01AM -0700, James A. Peltier wrote:
> On Tue, 13 Oct 2009, Pasi Kärkkäinen wrote:
> 
> >
> >Hmm.. what kind of problems do you have with snapshots?
> 
> Let's see
> 
> They take up 16MB  of space regardless of the amount of data that changes. 
> A single bit changes and 16MB is taken up.  This is not tunable.
> 

EQL volumes are based on 'pages', that are (afaik) 16 MB in size. 
So the minimum increment is 16 MB if you have changes on the volume.

This is expected.

> Mounting a snapshot requires the generation of a new UUID for the file 
> system in order to be able to use it.  Perhaps this is a XFS limitation, 
> but unlike ZFS they aren't immediately available.  We need to perform this 
> action extensively to backup file systems and allow for quick data 
> recovery.
> 

This is not Equallogic problem, it's a limitation/feature of the
filesystem.

Taking snapshots in the Equallogic storage array takes only seconds, and
the snapshots are immediately available.

> There is no GNU/Linux interface to automating the snapshot process. Sure 
> there is a telnet interface but it changes from version to version.  I 
> know because I've spoken with engineers to discuss this issue.  I wrote 
> software to talk to the EQL using the interface.  There are talks of an 
> SDK for developers but nothing has materialized.
> 

I think Equallogic provides Perl samples how to take snapshots from
Linux/Unix scripts. I remember going through the scripts earlier.

So you can definitely integrate EQL stuff to your Linux environment.

> Don't get me wrong, it's a great device for cheap storage compared to 
> competitors but there are obvious limitations that you need to address in 
> your requirements if you intend to deploy it.
> 

Well.. the stuff you mentioned isn't really Equallogic specific. It's
general stuff you need to sort out with any storage.

-- Pasi

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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread Pasi Kärkkäinen
On Wed, Oct 14, 2009 at 12:39:54PM -0500, Eugene Vilensky wrote:
> On Wed, Oct 14, 2009 at 12:36 PM, James A. Peltier  
> wrote:
> > They take up 16MB  of space regardless of the amount of data that changes. A
> > single bit changes and 16MB is taken up.  This is not tunable.
> 
> I know they run Linux but is the internal file system some secret
> sauce or did they just slap tools on LVM/ext3?  Somewhere in between?

Equallogic does NOT run Linux. Their firmware is based on (afaik)
heavily modified NetBSD.

-- Pasi

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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread Pasi Kärkkäinen
On Wed, Oct 14, 2009 at 10:52:19AM -0700, nate wrote:
> James A. Peltier wrote:
> 
> > Mounting a snapshot requires the generation of a new UUID for the file
> > system in order to be able to use it.  Perhaps this is a XFS limitation,
> > but unlike ZFS they aren't immediately available.  We need to perform this
> > action extensively to backup file systems and allow for quick data
> > recovery.
> 
> Another side effect of snapshots and using LVM for example(applies
> to any vendor's block based snapshots), is you can't easily take
> a snapshot of an LVM-based file system, then mount that snapshot
> on the same system, LVM will bitch. I spent some time trying to
> play with dynamically changing the UUID in the volume group but
> gave up, too complicated for my needs, instead I just mount the
> snapshot on another system(or a VM with either Raw device mapping
> in VMware or a software iSCSI initiator on the guest).
> 
> I've written a few scripts for things like mysql snapshots and
> Oracle snapshots over the years with my 3PAR array, using SSH
> and key-based authentication the interface is pretty easy, a single
> command to create a read-only snapshot, then another command
> to create a read-write (read-write snapshots must be children of
> read-only ones in the 3PAR world anyways). The process takes less
> than a second, and if I want to snapshot a dozen volumes at the
> same instant, still a single command and the array ensures all
> volumes are taken at the same point in time, very helpful for
> Oracle snapshots which can get messy if your dealing with
> multiple volumes and not having them all perfectly in sync
> with each other.
> 

On Equallogic you can group your volumes, and snapshot the whole group. 
So it's meant exactly for this purpose; your database tables, logs and indices 
(and what not) are quaranteed to be snapshotted at the exact same time.

-- Pasi

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


Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Les Mikesell
Brian Mathis wrote:
> On Wed, Oct 14, 2009 at 1:38 PM, James A. Peltier  wrote:
>> On Tue, 13 Oct 2009, Carlos Santana wrote:
>>
>>> Howdy,
>>>
>>> I am having time-drift issues on my CentOS VM. I had referred to
>>> following documentation:
>> The issue I had with time drift was due to running NTP inside the VM.
>> Don't do it.  The VM should get it's time through the VMWare tools that
>> are installed on the guest.  Once I did this the drift disappeared.
>>
>> --
>> James A. Peltier
> 
> 
> I recently wrote a script that retrieves the current time from an NTP
> server and compares it to the local time.  You may be surprised to
> know that inside of a VM the time is constantly drifting, and when it
> gets to 60 seconds difference, it is forcibly reset by vmware tools.
> In other words, this is a bad way to handle time.
> 
> As has been already mentioned, the timekeeping best practices from
> vmware have changed from using vmware tools to using NTP and correct
> kernel options 
> (http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427).
>  I have not yet implemented this myself, but it seems like a better
> way to handle it.

So is this going to change for CentOS when 5.4 is released?

Also, this seems geared towards guest settings when running under 
ESX(i).  The place I've seen the worst problem is when running under 
vmware server with a CPU that saves power by running at variable speed.

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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread nate
John R Pierce wrote:

> if you have a SAN that supports logical volumes that have snapshot and
> grow and such, I'm not sure why you'd bother with LVM on top of that, it
> would just further obfuscate things.

Makes life easier for me when using MPIO, auto detection of the
volume no matter what path it shows up with. And I can slap an
easily readable "label" on the volume so I know what it is.

Sample log from one of my oracle snapshot procedures:
http://portal.aphroland.org/~aphro/san/oracle-restore-prod-oracle-1a_20080319_230901.log

And it allows me to better control growth with thin provisioning,
some apps are not thin provisioning friendly so I restrict them
with LVM, knowing that I can easily do an online resize at any
time without touching the array.

nate


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


Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Benjamin Franz
Les Mikesell wrote:
> So is this going to change for CentOS when 5.4 is released?
>
> Also, this seems geared towards guest settings when running under 
> ESX(i).  The place I've seen the worst problem is when running under 
> vmware server with a CPU that saves power by running at variable speed

The short answer is "don't do that". ;)

Turn off the 'cpuspeed' init script and any BIOS auto power saving 
modes. You just aren't going to get accurate time keeping otherwise.

-- 
Benjamin Franz

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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread Ray Van Dolson
On Wed, Oct 14, 2009 at 11:22:36AM -0700, nate wrote:
> John R Pierce wrote:
> 
> > if you have a SAN that supports logical volumes that have snapshot and
> > grow and such, I'm not sure why you'd bother with LVM on top of that, it
> > would just further obfuscate things.
> 
> Makes life easier for me when using MPIO, auto detection of the
> volume no matter what path it shows up with. And I can slap an
> easily readable "label" on the volume so I know what it is.

Couldn't you accomplish this with the "alias" parameter in your
multipath.conf file per LUN?  We have this set up here so there's a
/dev/mpath/ based on the WWID.

(Not that I have any problem with using LVM as you are...)

> 
> Sample log from one of my oracle snapshot procedures:
> http://portal.aphroland.org/~aphro/san/oracle-restore-prod-oracle-1a_20080319_230901.log
> 
> And it allows me to better control growth with thin provisioning,
> some apps are not thin provisioning friendly so I restrict them
> with LVM, knowing that I can easily do an online resize at any
> time without touching the array.

Definitely.

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


[CentOS] Update question

2009-10-14 Thread Ron Loftin

I have some customer machines that have not been updated for some time,
and are still on CentOS 5.2.  While reading the release notes for 5.4, I
have not yet seen anything that looks like it needs attention, but are
there any known issues or "gotchas" related to moving directly from 5.2
to 5.4?

Comments, pointers, things to look for are all welcome.

Thanks muchly.

-- 
Ron Loftin  relof...@twcny.rr.com

"God, root, what is difference ?"   Piter from UserFriendly

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


Re: [CentOS] Update question

2009-10-14 Thread Kwan Lowe
On Wed, Oct 14, 2009 at 2:36 PM, Ron Loftin  wrote:
>
> I have some customer machines that have not been updated for some time,
> and are still on CentOS 5.2.  While reading the release notes for 5.4, I
> have not yet seen anything that looks like it needs attention, but are
> there any known issues or "gotchas" related to moving directly from 5.2
> to 5.4?
>
> Comments, pointers, things to look for are all welcome.
>

On a few virtual systems I moved directly from 5.2 stock to 5.3
completely updated. There were no issues to speak of except that I ran
out of space in /var and had some trouble with the LVMs not resizing
properly. In short, I had to take the system down to single user mode
to unmount /var and resize the journal. Once that was complete, the
update went fine.

I did have a glitch some months ago moving from a 5.2 with some minor
patches to 5.3.  I lost the network connections to the Xen virtual
systems and found out that the default MAC address of the virtual
ethernet conflicted with the hardware address of the Linksys adapter.
Moving from 5.2 to 5.4 may hit the same issue.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Update question

2009-10-14 Thread Benjamin Donnachie
2009/10/14 Ron Loftin :
> I have some customer machines that have not been updated for some time,
> and are still on CentOS 5.2.

Do you *need* to upgrade?  If the machines are running anything
critical, I would be tempted to leave them with 5.2.

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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread rainer
> nate wrote:
> if you have a SAN that supports logical volumes that have snapshot and
> grow and such, I'm not sure why you'd bother with LVM on top of that, it
> would just further obfuscate things.


And how do you grow a filesystem without LVM?
Online?

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


Re: [CentOS] Update question

2009-10-14 Thread Ron Loftin

On Wed, 2009-10-14 at 19:51 +0100, Benjamin Donnachie wrote:
> 2009/10/14 Ron Loftin :
> > I have some customer machines that have not been updated for some time,
> > and are still on CentOS 5.2.
> 
> Do you *need* to upgrade?  If the machines are running anything
> critical, I would be tempted to leave them with 5.2.
> 

That is a valid question.  As these systems are Internet-facing boxes
providing firewall/VPN/DNS services, I do need to keep them as current
as customer management will allow for bug fixes and security patches.
Everything on them is either from the CentOS repos or one of the more
reliable 3rd-party repos such as RPMforge, so I'm hoping for a
manageable amount of issues here.

And yes, I DO test in a non-production environment before I deploy.  I
have lost my taste for tossing stuff into production without checking it
out in advance.  I'm a firm believer in the old Reagan-era philosophy of
"Trust, but verify". ;>

-- 
Ron Loftin  relof...@twcny.rr.com

"God, root, what is difference ?"   Piter from UserFriendly

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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread Eugene Vilensky
>
> And how do you grow a filesystem without LVM?
> Online?

It certainly is not easy!
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_Storage_Reconfiguration_Guide/index.html

Here's hoping for an integrated solution in EL6, but from the looks of
Fedora, it's not likely is it?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Update question

2009-10-14 Thread John R. Dennison
On Wed, Oct 14, 2009 at 07:51:27PM +0100, Benjamin Donnachie wrote:
> 
> Do you *need* to upgrade?  If the machines are running anything
> critical, I would be tempted to leave them with 5.2.

Because advising someone to run with known vulnerabilities
is conducive to maintaining the integrity of critical
systems?

I've been seeing this mentality a lot recently, and while
in some corner-cases it does make sense, for the majority
of users it does not and leaves them open to pain and suffering
in the future.

Update once in a while after testing in a properly configured
test environment and you will, in the long run, be much happier.




John

-- 
DMR: So fsck was originally called something else.
Q: What was it called?
DMR: Well, the second letter was different.
   Dennis M. Ritchie, Usenix, June 18, 1998.


pgpeI4jMBM3us.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Update question

2009-10-14 Thread Benjamin Donnachie
2009/10/14 John R. Dennison :
>        Because advising someone to run with known vulnerabilities
>        is conducive to maintaining the integrity of critical
>        systems?

If those vulnerabilities put your servers at risk in the environment
that you use them, then that would qualify as *need* to upgrade (and
fast).

>        I've been seeing this mentality a lot recently, and while
>        in some corner-cases it does make sense, for the majority
>        of users it does not and leaves them open to pain and suffering
>        in the future.

On the one hand I'm quite fortunate that our critical infrastructure
is completely isolated but on the other I'm rather unfortunate with
the requirement for near constant uptime with ageing hardware and no
spare cash - until things go wrong...

I also monitor various lists for vulnerability updates.

>        Update once in a while after testing in a properly configured
>        test environment and you will, in the long run, be much happier.

Completely agree! :)

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


Re: [CentOS] CentOS 5.3 on X86_64: yum installs both i386 and x86_64 packages

2009-10-14 Thread James Matthews
Frank Cox posted above this line,
'  yum remove \*.i?86   '

What I do is put the package name and then the platform. E.g php-cli.x86_64

On Wed, Oct 14, 2009 at 1:25 PM, Patrick McEvoy <
pmce...@silvacapitalmanagement.com> wrote:

> I have just found this post regarding the removal of .i?86 packages on a
> x86_64 machine, http://bugs.centos.org/view.php?id=2590.  I assume that
> these issues still exist for CentOS 5.3.  Anyone have advice on how to
> remove the duplicate packages safely?
>
> Thanks,
> Patrick
>
> Mathieu Baudier wrote:
> > Out of pure curiosity:
> > Does anybody know why both i386 and x86_64 are installed by default?
> >
> > On other x86_64 platforms I rather tend to cherrypick the i386
> > packages and install them on a case by case basis.
> >
> > On Wed, Oct 14, 2009 at 06:49, Vnpenguin  wrote:
> >
> >> I removed all i?86 on my x86_64 servers. No problem.
> >>
> >> --
> >> http://vnoss.org
> >> ___
> >> 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
> >
> >
>
> --
>
> Patrick McEvoy
> System Administrator
> Silva Capital Management, LLC
> 625 N. Michigan Ave, Suite 412
> Chicago, IL 60611
> Office: 312-397-0400, Fax: 312-397-0404
> Cell: 773-517-1287
> pmce...@silvacapitalmgmt.com
>
>
>  Silva Capital Management, LLC 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



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


Re: [CentOS] CentOS 5.3 on X86_64: yum installs both i386 and x86_64 packages

2009-10-14 Thread Dan Burkland
I have no idea why the packages are installed along with the x86_64 ones 
however I add excludepkgs=*.i386 *.i686 to yum.conf and it cakes care of that.

Dan Burkland

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
Mathieu Baudier
Sent: Wednesday, October 14, 2009 3:09 AM
To: CentOS mailing list
Subject: Re: [CentOS] CentOS 5.3 on X86_64: yum installs both i386 and x86_64 
packages

Out of pure curiosity:
Does anybody know why both i386 and x86_64 are installed by default?

On other x86_64 platforms I rather tend to cherrypick the i386
packages and install them on a case by case basis.

On Wed, Oct 14, 2009 at 06:49, Vnpenguin  wrote:
>
> I removed all i?86 on my x86_64 servers. No problem.
>
> --
> http://vnoss.org
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Simple way to banish IP addresses ?

2009-10-14 Thread James Matthews
Removing my services from the standard ports, I saw a massive drop in these
requests.

On Mon, Oct 12, 2009 at 5:01 PM, Lucian @ lastdot.org wrote:

> On Mon, Oct 12, 2009 at 9:36 PM, nate  wrote:
> > Amos Shapira wrote:
> >> There is an iptables geoip module to allow you to specify countries. I
> >> never used it thought.
> >
> > I love linux, been using it for about 14 years but a good firewall it
> > does not make..
> >
> > http://www.openbsd.org/faq/pf/tables.html
> >
> > "A table is used to hold a group of IPv4 and/or IPv6 addresses. Lookups
> > against a table are very fast and consume less memory and processor time
> > than lists. For this reason, a table is ideal for holding a large group
> of
> > addresses as the lookup time on a table holding 50,000 addresses is only
> > slightly more than for one holding 50 addresses
> > [..]
> > Tables can also be populated from text files containing a list of IP
> > addresses and networks:
> >
> >table  persist file "/etc/spammers"
> >
> >block in on fxp0 from  to any
> > [..]
> > Tables can be manipulated on the fly by using pfctl(8). For instance, to
> add
> > entries to the  table created above:
> >
> ># pfctl -t spammers -T add 218.70.0.0/16"
> >
> > --
> >
> > Myself I'd be interested in seeing a iptables system running
> > with 50,000 rules for matching against.
> >
> >
> > nate
> >
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
> That's why i was recommending ipset earlier.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread nate
Ray Van Dolson wrote:

> Couldn't you accomplish this with the "alias" parameter in your
> multipath.conf file per LUN?  We have this set up here so there's a
> /dev/mpath/ based on the WWID.

I suppose I could, I recall the friendly name thing a while
ago, it seemed more complicated than using LVM though to me at
the time. I came up with a system a couple of years ago and haven't
had much need to re-visit it.

Another option I think was to use the file system label feature
at least with ext3. But I found the other advantages to LVM, so
stuck to that, even though I've yet to have more than 1 LV in
any particular VG on my SANs.

I came up with this script at the time to mount/unmount my
volumes:
http://portal.aphroland.org/~aphro/mount_san.init

Mainly to work around limitations in RHEL/CentOS 4 with
regards to iSCSI volumes being mounted at the right time, and
unmounted at the right time. I believe RHEL/CentOS 5 has fixed
this, but I haven't had a need to try out the "fix" since my
setup is working well.

nate


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


Re: [CentOS] CentOS 5.3 on X86_64: yum installs both i386 and x86_64 packages

2009-10-14 Thread Patrick McEvoy
I understand how to remove them using '  yum remove \*.i?86   '.  The 
link below says that it breaks the installation of the x86_64 packages 
by removing files which are shared between the architectures, i.e. 
docs.   How do you remove the .i?86 packages without effecting the 
x86_64 packages?

James Matthews wrote:
> Frank Cox posted above this line,
> '  yum remove \*.i?86   '
>
> What I do is put the package name and then the platform. E.g 
> php-cli.x86_64
>
> On Wed, Oct 14, 2009 at 1:25 PM, Patrick McEvoy 
>  > wrote:
>
> I have just found this post regarding the removal of .i?86
> packages on a
> x86_64 machine, http://bugs.centos.org/view.php?id=2590.  I assume
> that
> these issues still exist for CentOS 5.3.  Anyone have advice on how to
> remove the duplicate packages safely?
>
> Thanks,
> Patrick
>
> Mathieu Baudier wrote:
> > Out of pure curiosity:
> > Does anybody know why both i386 and x86_64 are installed by default?
> >
> > On other x86_64 platforms I rather tend to cherrypick the i386
> > packages and install them on a case by case basis.
> >
> > On Wed, Oct 14, 2009 at 06:49, Vnpenguin  > wrote:
> >
> >> I removed all i?86 on my x86_64 servers. No problem.
> >>
> >> --
> >> http://vnoss.org
> >> ___
> >> 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
> >
> >
>
> --
>
> Patrick McEvoy
> System Administrator
> Silva Capital Management, LLC
> 625 N. Michigan Ave, Suite 412
> Chicago, IL 60611
> Office: 312-397-0400, Fax: 312-397-0404
> Cell: 773-517-1287
> pmce...@silvacapitalmgmt.com 
>
>
>  Silva Capital Management, LLC 
>
> ___
> CentOS mailing list
> CentOS@centos.org 
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
>
> -- 
> http://www.goldwatches.com
>
>
>
> 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   

-- 

Patrick McEvoy
System Administrator
Silva Capital Management, LLC
625 N. Michigan Ave, Suite 412
Chicago, IL 60611
Office: 312-397-0400, Fax: 312-397-0404
Cell: 773-517-1287
pmce...@silvacapitalmgmt.com


  Silva Capital Management, LLC 

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


Re: [CentOS] post install freezes

2009-10-14 Thread Tru Huynh
On Wed, Oct 14, 2009 at 01:37:30PM -0400, David Mehler wrote:
> Hello,
> I'm doing an unattended CentOS 5.3 install in a virtual machine
> vmware. I'm redirecting output to a serial console because production
> boxes won't have monitors. I'm getting to the point of doing the post
> installation then the box freezes. The only command i have in %post is
> yum -y update.
that's expected:
1) your chrooted post-install does not have any network information
2) nor the ability to acknowledge the import of the GPG key...

> I'm not getting no output. Suggestions appreciated.
the kickstart mailing list archives are full of info
on how to do that.

Cheers,

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B


pgpZkJ0m0ZxLG.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] post install freezes

2009-10-14 Thread David Mehler
Hello,
I'm configuring the addresses for the network interface statically so
i was under the impression name resolution would work. For the gpg key
import i did an rpm --import /etc/pki/ i can't remember the rest of
this path though i checked it on a running system. I'm still getting a
freeze.
Thanks.
Dave.


On 10/14/09, Tru Huynh  wrote:
> On Wed, Oct 14, 2009 at 01:37:30PM -0400, David Mehler wrote:
>> Hello,
>> I'm doing an unattended CentOS 5.3 install in a virtual machine
>> vmware. I'm redirecting output to a serial console because production
>> boxes won't have monitors. I'm getting to the point of doing the post
>> installation then the box freezes. The only command i have in %post is
>> yum -y update.
> that's expected:
> 1) your chrooted post-install does not have any network information
> 2) nor the ability to acknowledge the import of the GPG key...
>
>> I'm not getting no output. Suggestions appreciated.
> the kickstart mailing list archives are full of info
> on how to do that.
>
> Cheers,
>
> Tru
> --
> Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] post install freezes

2009-10-14 Thread DTS-Corp (Knowledgebase)
what kind of pki's are you using?

On Wed, Oct 14, 2009 at 5:58 PM, David Mehler  wrote:

> Hello,
> I'm configuring the addresses for the network interface statically so
> i was under the impression name resolution would work. For the gpg key
> import i did an rpm --import /etc/pki/ i can't remember the rest of
> this path though i checked it on a running system. I'm still getting a
> freeze.
> Thanks.
> Dave.
>
>
> On 10/14/09, Tru Huynh  wrote:
> > On Wed, Oct 14, 2009 at 01:37:30PM -0400, David Mehler wrote:
> >> Hello,
> >> I'm doing an unattended CentOS 5.3 install in a virtual machine
> >> vmware. I'm redirecting output to a serial console because production
> >> boxes won't have monitors. I'm getting to the point of doing the post
> >> installation then the box freezes. The only command i have in %post is
> >> yum -y update.
> > that's expected:
> > 1) your chrooted post-install does not have any network information
> > 2) nor the ability to acknowledge the import of the GPG key...
> >
> >> I'm not getting no output. Suggestions appreciated.
> > the kickstart mailing list archives are full of info
> > on how to do that.
> >
> > Cheers,
> >
> > Tru
> > --
> > Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
> > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] QT-Designer 4

2009-10-14 Thread DTS-Corp (Knowledgebase)
Does anyone know if there is any compatible QT-Designer for use with Cent OS
other than 3 EL5?

I am still trying to get keepassx to work with CentOS
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Mounting Network Storage Issues

2009-10-14 Thread DTS-Corp (Knowledgebase)
I have an Iomega NAS 1TB drive that I am using as just kind of a file
sharing solution between all of my computers.

Of course it is on a timed backup with my server however it just serves as a
temporary solution for a bigger problem ( IE 15 different puters of all
various OS Flavors).

However I am not able to connect to any network storage server such as
Windows PC's or NAS Storage using map network drive functions normally used
with windows on CentOS.

I am wondering if there is something goofy with this or is Cent just
incompatible with NTFS network storage drives?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mounting Network Storage Issues

2009-10-14 Thread nate
DTS-Corp (Knowledgebase) wrote:

> I am wondering if there is something goofy with this or is Cent just
> incompatible with NTFS network storage drives?

You sound pretty confusing, are you sure the Iomega NAS drive
is not using CIFS/SMB? If it is then look into smbclient and/or
smbfs.

As far as I know there is no such thing as NTFS network storage
drives. NTFS is not a network file system, any more than ext3 is.

nate


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


Re: [CentOS] post install freezes

2009-10-14 Thread David Mehler
Hi,
Just the standard keys that come with centos.
Dave.


On 10/14/09, DTS-Corp (Knowledgebase)  wrote:
> what kind of pki's are you using?
>
> On Wed, Oct 14, 2009 at 5:58 PM, David Mehler  wrote:
>
>> Hello,
>> I'm configuring the addresses for the network interface statically so
>> i was under the impression name resolution would work. For the gpg key
>> import i did an rpm --import /etc/pki/ i can't remember the rest of
>> this path though i checked it on a running system. I'm still getting a
>> freeze.
>> Thanks.
>> Dave.
>>
>>
>> On 10/14/09, Tru Huynh  wrote:
>> > On Wed, Oct 14, 2009 at 01:37:30PM -0400, David Mehler wrote:
>> >> Hello,
>> >> I'm doing an unattended CentOS 5.3 install in a virtual machine
>> >> vmware. I'm redirecting output to a serial console because production
>> >> boxes won't have monitors. I'm getting to the point of doing the post
>> >> installation then the box freezes. The only command i have in %post is
>> >> yum -y update.
>> > that's expected:
>> > 1) your chrooted post-install does not have any network information
>> > 2) nor the ability to acknowledge the import of the GPG key...
>> >
>> >> I'm not getting no output. Suggestions appreciated.
>> > the kickstart mailing list archives are full of info
>> > on how to do that.
>> >
>> > Cheers,
>> >
>> > Tru
>> > --
>> > Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
>> > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
>> >
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] continuing issues with %post

2009-10-14 Thread David Mehler
Hello,
I'm trying to do an unattended CentOS 5.3 install. For the most part
it's working. As of right now i'm statically assigning the machine an
IP which i believe will allow %post to resolve names? I also like
knowing where the box will show up.
I am however having a few issues and I'm probably thinking to
complicated on them. My first one is the fact that updates aren't
working from %post. Under the assumption name resolution is working,
see above with the static configuration, the issue is then most likely
importing of gpg keys. I've got these lines in %post:

# GPG keys
echo "Importing GPG keys ..."
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
/usr/bin/yum -y update

When they're uncommented the box hangs, i'd love to see output.
My second issue is a cosmetic one. I want to set a standard prompt in
/etc/bashrc. Out of the box the bashrc PS1 lines:

if [ "$PS1" ]; then
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[...@\h \W]\\$ "

I have to make changes to that second line so a sed substitution
would probably be my best bet. I'm not sure how to grab the part i
need and change it. Manually i change that line to:

PS1='\...@\h:\w\$'

I'd like to get %post to do that for me.
Next, i'd like to alter /boot/grub/grub.conf. I want to set it up for
serial terminal support, so i have to add a serial and terminal lines
at the top of the file say after any comment blocks that might or
might not be there plus add console=tty0 and/or console=ttyS0,9600n8
to the append lines to however many kernels are there. Again, i'm
assuming sed but i'm not sure how to get the parts i need and edit.
I want to do other things, mostly with security, increasing password
complexity requirements and pam, but that should be easy once i figure
out how to alter the right sections in files. Any help appreciated.
Thanks.
Dave.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mounting Network Storage Issues

2009-10-14 Thread Tait Clarridge
On Wed, 2009-10-14 at 19:13 -0500, DTS-Corp (Knowledgebase) wrote:
> I have an Iomega NAS 1TB drive that I am using as just kind of a file
> sharing solution between all of my computers.
> 
> Of course it is on a timed backup with my server however it just
> serves as a temporary solution for a bigger problem ( IE 15 different
> puters of all various OS Flavors).
> 
> However I am not able to connect to any network storage server such as
> Windows PC's or NAS Storage using map network drive functions normally
> used with windows on CentOS.
> 
> I am wondering if there is something goofy with this or is Cent just
> incompatible with NTFS network storage drives?

If that drive is indeed using NFS, Windows does have an NFS client and
it doesn't work out too bad. Can't remember where it is, but I think it
is something called Unix Services for Windows.

I have used CentOS to connect to a windows smb share.. so it does work,
just had to look it up on google. 

I am kind of confused by your message, are you saying that the 1TB NAS
drive is sitting on the network and is NOT attached to any computer on
your network? 

Or is the problem connecting CentOS to a Windows share?


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] continuing issues with %post

2009-10-14 Thread Craig White
On Wed, 2009-10-14 at 22:17 -0400, David Mehler wrote:
> Hello,
> I'm trying to do an unattended CentOS 5.3 install. For the most part
> it's working. As of right now i'm statically assigning the machine an
> IP which i believe will allow %post to resolve names? I also like
> knowing where the box will show up.
>   I am however having a few issues and I'm probably thinking to
> complicated on them. My first one is the fact that updates aren't
> working from %post. Under the assumption name resolution is working,
> see above with the static configuration, the issue is then most likely
> importing of gpg keys. I've got these lines in %post:
> 
> # GPG keys
> echo "Importing GPG keys ..."
> rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
> /usr/bin/yum -y update
> 
> When they're uncommented the box hangs, i'd love to see output.

I would expect to see that in the error out console 
(I think...maybe F3, or F5, I always forget). Generally, I will log
everything that happens anyway so I would add to each of the 'custom
lines something like '>> post-install.log 2&>1' instead

>   My second issue is a cosmetic one. I want to set a standard prompt in
> /etc/bashrc. Out of the box the bashrc PS1 lines:
> 
> if [ "$PS1" ]; then
> [ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[...@\h \W]\\$ "
> 
>   I have to make changes to that second line so a sed substitution
> would probably be my best bet. I'm not sure how to grab the part i
> need and change it. Manually i change that line to:
> 
> PS1='\...@\h:\w\$'

I find it's easier to just replace the whole file for this though you
couuld use sed, I would probably just grab a copy of bashrc from an
available web server and wget it it into place.

> I'd like to get %post to do that for me.
>   Next, i'd like to alter /boot/grub/grub.conf. I want to set it up for
> serial terminal support, so i have to add a serial and terminal lines
> at the top of the file say after any comment blocks that might or
> might not be there plus add console=tty0 and/or console=ttyS0,9600n8
> to the append lines to however many kernels are there. Again, i'm
> assuming sed but i'm not sure how to get the parts i need and edit.
>   I want to do other things, mostly with security, increasing password
> complexity requirements and pam, but that should be easy once i figure
> out how to alter the right sections in files. Any help appreciated.

sounds like you're too lazy to try sed to actually give us anything
useful in terms of why it's not working. Google has millions of sed
examples.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[CentOS] Problems printing landscapes in AR

2009-10-14 Thread MHR
I have the L&G (AFAIK) Adobe Acrobat Reader, 9.1.0, on my 5.3 x86_64
machine, but it seems to be incapable of printing some landscape-mode
PDFs.  I created them by printing some wide graphics (PNG) files to
PDF files from the image viewer, and that didn't work - AR prints them
ONLY in portrait mode, no matter how the portrait-landscape is set,
and no matter how it is displayed.  Then I tried converting the
graphics to PDFs using Adobe Photoshop Elements 2.0 (yeah, I know it's
old, but it's free and it works for some things the GIMP won't do,
like making graphics into PDFs) on my virtual WinXP SP2 "box" and got
the same results.

To my surprise, if I just print the PNGs from the image viewer, they
print in landscape mode just fine (although they display in
pseudo-portrait mode as counter-clockwise rotated images).

Anyone got a clue why this might be?  I blew away the PDFs that
wouldn't print ('cuz I was pissed) but I can recreate them if needed.
And, no, I'm not interested in tiff2pdf - it made enormous PDFs (4-10x
original file size) out of every TIF I've tried with it, and APE2
makes little ones that are just as good _and_ smaller.

Thanks.

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


Re: [CentOS] Dell Equallogic

2009-10-14 Thread Pasi Kärkkäinen
On Wed, Oct 14, 2009 at 08:55:16PM +0200, rai...@ultra-secure.de wrote:
> > nate wrote:
> > if you have a SAN that supports logical volumes that have snapshot and
> > grow and such, I'm not sure why you'd bother with LVM on top of that, it
> > would just further obfuscate things.
> 
> 
> And how do you grow a filesystem without LVM?
> Online?
> 

If you're using RHEL 5.3 or CentOS 5.3 or newer it's easy. You just
rescan the iscsi session and the SCSI devices grow (online), and after
that you resize the filesystem (online).

I've tested and verified it works.

-- Pasi

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