[CentOS] Traffic shaping problem

2013-02-03 Thread Bent Terp
Hi all,

I tried last week to do traffic shaping on a production system,
object of the exercise was simply to throttle the outgoing traffic.

tc qdisc add dev eth4 root tbf rate 300mbit burst 300kb latency 50ms

But the server became rather instable, crashing repeatedly without
anything in the logs.

Can anybody spot glaring mistakes in the tc command above,
or tell me what I should have done instead?

with kind regards,
  Bent Terp
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Multiple Virtual SSL sites with Apache httpd on CentOS 5

2013-02-03 Thread Bent Terp
On Mon, Feb 4, 2013 at 5:02 AM, Harold Pritchett har...@uga.edu wrote:

 I know that the upstream provider often provides services added to new
 releases as updates to the current release.  My question is how can I get
 multiple secure web sites on a
 single IP address and port?  Has the upstream provider added this function
 to the current server?


I've found this rather straightforward to do, as long as all sites are
covered by the same certificate. Remember that the encrypted tunnel is
negotiated and activated prior to the request being sent - so when the
certificate and keys are being managed, the vhost is as yet unknown. Having
all sites covered by one certificate makes that problem go away :-)

So my advice is to use a wildcard domain covering *.mycompany.com - but
remember that mycompany.com does not match *.mycompany.com, so you'll need
a redirect to www.mycompany.com

BR Bent

PS Just realised that we did this on nginx not apache, but I really don't
expect that to be a problem.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] load balancer recommendation

2012-10-01 Thread Bent Terp
If you're talking about web traffic, I'd recommend Varnish: cache and
load-balancer in one application.

BR Bent

On Fri, Sep 28, 2012 at 4:45 PM, Boris Epstein borepst...@gmail.com wrote:

 Hello all,

 If I were looking for a load balancer to run on a Linux - specifically,
 CentOS - machine - what would you recommend?

 Thanks.

 Boris.
 ___
 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] 11TB ext4 filesystem - filesystem alternatives?

2012-09-27 Thread Bent Terp
On Thu, Sep 27, 2012 at 10:10 AM, Rafał Radecki radecki.ra...@gmail.comwrote:

 Which other mature and stable filesystem can you recommend for such large
 storage?


I recommend XFS

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


Re: [CentOS] NTOP alternatives?

2012-08-30 Thread Bent Terp
On Wed, Aug 29, 2012 at 10:59 AM, Morgan Cox morganco...@gmail.com wrote:

 Have you tried Darkstat - it's a nice very very lightweight alternative

 http://unix4lyfe.org/darkstat/


Hi. Darkstat worked like a charm on my laptop yesterday, for traffic
to/from the laptop. So this morning I've been trying to make it work in the
serverroom.

I've set up a monitoring port on the switch and mirrored a vlan to it. To
this monitoring switch port, I've connected the second nic on a spare
server.

But I can't make it see the traffic:
*Running for* 38 secs*, since* 2012-08-30 08:27:12 UTC+*.*
*Total* 0 *bytes, in* 0 *packets.* (2,512,454 *captured,* 2,494,741 *
dropped)

*And so the graphs are blank :-(

I've tried several incantations to no avail:
usr/local/sbin/darkstat -i eth1 -p 5001 --no-daemon --no-dns -l 
0.0.0.0/0.0.0.0 --local-only
/usr/local/sbin/darkstat -i eth1 -p 5001 --no-daemon --no-dns -l 
0.0.0.0/0.0.0.0
/usr/local/sbin/darkstat -i eth1 -p 5001 --no-daemon --no-dns

I've even tried assigning a bogus ip address on the monitored subnet to
eth1, but that doesn't help either.

Any suggestions?

with kind regards,
  Bent
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Bent Terp
On Wed, Aug 29, 2012 at 9:52 AM, Rafał Radecki radecki.ra...@gmail.comwrote:

 After some search I think I will use ntop ;)


Having lurked in this thread, I think I'll start using ntop as well. Did a
quick test today on my laptop and got it up and running in no time.

But to answer the question people at the office keeps asking me, I need to
dump Network Load data with a 1-second granularity. Does anoybody know how
to do that? Basic question is, do we have large fluctuations on our
internet connection usage.

Thanks in advance!

with kind regards,
  Bent Terp
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Bent Terp
On Thu, Aug 30, 2012 at 4:32 AM, Indunil Jayasooriya induni...@gmail.comwrote:

 Have you tried Darkstat - it's a nice very very lightweight alternative
 
  http://unix4lyfe.org/darkstat/
 
 
 I installed it on Centos 6.2 (64 bit VM). It is pretty light.

 I would like to know on which host should I install it on LAN?


If you want it to be able to see all traffic on the local network, then you
have to make sure all the traffic actually shows up on that interface -
which is not usually the case on a switched network :-)

My plan for today is to install darkstar on a separate physical host with
dual nic's, and tell the switch to copy all traffic on the VLAN's that I
wish to monitor to one port which will then be connected to one of the
NIC's on the darkstar host. This feature is called port mirroring on
ProCurve switches but most professional switches have similar features,
although they might be called differently.


 gateway Machine, proxy Server or any host on that LAN?


Alternatively, if you have a gateway machine that all traffic passes
through, this would also be a good candidate unless traffic is so high that
the additional load from darkstat impacts performance - or any bug in
darkstat that just might interrupt regular operations.

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


Re: [CentOS] 3TB usb drive won't mount

2012-03-26 Thread Bent Terp
On Thu, Mar 22, 2012 at 4:05 PM, m.r...@5-cent.us wrote:

 In short, either partition the drive, or rebuild the drive with a GPT.


Yes, I'm back :-D

Finally had a chance to try this out, and it works totally on my Fedora16
laptop. But not on the EL6.2 server

Mar 26 16:36:00 gpfsnode8 kernel: usb 1-1: new high speed USB device using
ehci_hcd and address 8
Mar 26 16:36:00 gpfsnode8 kernel: usb 1-1: New USB device found,
idVendor=1058, idProduct=1140
Mar 26 16:36:00 gpfsnode8 kernel: usb 1-1: New USB device strings: Mfr=1,
Product=2, SerialNumber=5
Mar 26 16:36:00 gpfsnode8 kernel: usb 1-1: Product: My Book 1140
Mar 26 16:36:00 gpfsnode8 kernel: usb 1-1: Manufacturer: Western Digital
Mar 26 16:36:00 gpfsnode8 kernel: usb 1-1: SerialNumber:
574341575A31313831373338
Mar 26 16:36:00 gpfsnode8 kernel: usb 1-1: configuration #1 chosen from 1
choice
Mar 26 16:36:00 gpfsnode8 kernel: scsi13 : SCSI emulation for USB Mass
Storage devices
Mar 26 16:36:01 gpfsnode8 kernel: scsi 13:0:0:0: Direct-Access WD
My Book 1140 1003 PQ: 0 ANSI: 6
Mar 26 16:36:01 gpfsnode8 kernel: scsi 13:0:0:1: Enclosure WD
SES Device   1003 PQ: 0 ANSI: 6
Mar 26 16:36:01 gpfsnode8 kernel: sd 13:0:0:0: Attached scsi generic sg0
type 0
Mar 26 16:36:01 gpfsnode8 kernel: ses 13:0:0:1: Attached Enclosure device
Mar 26 16:36:01 gpfsnode8 kernel: ses 13:0:0:1: Attached scsi generic sg1
type 13
Mar 26 16:36:09 gpfsnode8 kernel: ses 13:0:0:1: Failed to get diagnostic
page 0x802
Mar 26 16:36:09 gpfsnode8 kernel: ses 13:0:0:1: Failed to bind enclosure -19
Mar 26 16:36:17 gpfsnode8 kernel: sd 13:0:0:0: [sda] Spinning up
diskready
Mar 26 16:36:17 gpfsnode8 kernel: sd 13:0:0:0: [sda] 732558336 4096-byte
logical blocks: (3.00 TB/2.72 TiB)
Mar 26 16:36:17 gpfsnode8 kernel: sd 13:0:0:0: [sda] Write Protect is off
Mar 26 16:36:17 gpfsnode8 kernel: sd 13:0:0:0: [sda] Assuming drive cache:
write through
Mar 26 16:36:17 gpfsnode8 kernel: sd 13:0:0:0: [sda] 732558336 4096-byte
logical blocks: (3.00 TB/2.72 TiB)
Mar 26 16:36:17 gpfsnode8 kernel: sd 13:0:0:0: [sda] Assuming drive cache:
write through
Mar 26 16:36:17 gpfsnode8 kernel: sda: sda1
Mar 26 16:36:17 gpfsnode8 kernel: sd 13:0:0:0: [sda] 732558336 4096-byte
logical blocks: (3.00 TB/2.72 TiB)
Mar 26 16:36:17 gpfsnode8 kernel: sd 13:0:0:0: [sda] Assuming drive cache:
write through
Mar 26 16:36:17 gpfsnode8 kernel: sd 13:0:0:0: [sda] Attached SCSI disk
Mar 26 16:36:17 gpfsnode8 multipathd: sda: add path (uevent)
[root@gpfsnode8 ~]# parted /dev/sda print
Warning: Device /dev/sda has a logical sector size of 4096.  Not all parts
of GNU Parted support this at the moment, and the working code is HIGHLY
EXPERIMENTAL.

Model: WD My Book 1140 (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt

Number  Start   End SizeFile system  Name Flags
 1  1049kB  3001GB  3001GB   primary

[root@gpfsnode8 ~]# mount.ntfs-3g /dev/sda1 /mnt/disk2
ntfs-3g: Failed to access volume '/dev/sda1': No such file or directory

ntfs-3g 2010.10.2 integrated FUSE 27 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:ntfs-3g [-o option[,...]] device|image_file mount_point

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
  umask=, fmask=, dmask=, streams_interface=.
  Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org
[root@gpfsnode8 ~]# ls -l /dev/sda1
ls: cannot access /dev/sda1: No such file or directory
[root@gpfsnode8 ~]#

And this I just can't get my head around, why is /dev/sda1 not created?
/dev/sda shows up as expected and the kernel even recognizes that there is
a sda1 partition but the device entry isn't created.

Anybody able to help me here?

BR Bent


   mark

 ___
 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] 3TB usb drive won't mount

2012-03-23 Thread Bent Terp
On Thu, Mar 22, 2012 at 4:05 PM, m.r...@5-cent.us wrote:

 There's a problem here: MSDOS - that would be an MBR - can only handle
 2TB. Now, if it's set up with 4k sectors, it'll do more, but I don't know
 if there's an interaction there.


Works on Win2k8 and Win7, so yes it's 4k sectors.


 In short, either partition the drive, or rebuild the drive with a GPT.


Yeah, won't do much good for the data on the drive, though...

So as a stop-gap measure, the drive is currently mounted on a Win2k8 box
and the C6 box cifs-mounts //ip/e$ It ain't pretty but it's the best I can
do at the moment.

But you had a good point 'bout the partiontable - that could explain why I
had success with some drives and not with others. Once this disk has been
emptied, I'll try and rebuild it and see if that works on both platforms.

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


Re: [CentOS] your advice on backup procedure

2012-03-23 Thread Bent Terp
On Sat, Mar 24, 2012 at 2:28 AM, Steven Crothers
steven.croth...@gmail.comwrote:

 Snapshot the lvm and rsync it to your house. Then wipe out the snap.
 Seems easiest. Though it won't be the best for things like running
 databases.


How about you lock all tables and flush buffers, then do the snapshot, and
release the lock. Now backup then snapshot and remove it. Shouldn't take
more than a few seconds for the lock-snapshot-release part, and you avoid
the problem of inconsistent data in your db.

In other places, I've seen people do master-slave replication and using
mysqldump on the slave (cuz mysqldump locks tables as well)

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


[CentOS] 3TB usb drive won't mount

2012-03-22 Thread Bent Terp
Hi list!

I have a 3TB usb drive with an NTFS filesystem on it, that I can't mount.:
[bent@bnlaptop ~]$ sudo /sbin/mount.ntfs-3g /dev/sdb1 /mnt
Failed to read vcn 0xf28: Input/output error
Failed to mount '/dev/sdb1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

On a Win7 machine there are no problems and chkdsk can't find anything
wrong with the filesystem.

I can mount 1TB drives using ntfs-3g without problems, so the driver
doesn't seem to be the issue.

I've tried both CentOS6.2 and Fedora16 with the same result.

Any suggestions?

with kind regards,
  Bent Terp
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 3TB usb drive won't mount

2012-03-22 Thread Bent Terp
On Thu, Mar 22, 2012 at 1:39 PM, Barry Brimer li...@brimer.org wrote:

 I wonder if it uses a GPT partition table or not.  I don't remember all
 the details, but for some reason I think you need a GPT partition table to
 handle partitions, filesystems, or something over 2 TB.


I would have expected this as well, but:
 [bent@bnlaptop ~]$ sudo parted /dev/sdb print
Model: WD My Book 1140 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  1049kB  3001GB  3001GB  primary

[bent@bnlaptop ~]$

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


Re: [CentOS] Can anyone talk infrastructure with me?

2012-01-25 Thread Bent Terp
On Thu, Jan 26, 2012 at 12:53 AM, Jason T. Slack-Moehrle 
slackmoeh...@gmail.com wrote:

 HAProxy is a load-balancer, so It should do in front of web-servers so it
 can decide which web-server to send the traffic to?

 Varnish Cache is all about caching commonly used resources so it seems
 that this has to go in front too?

 Can this be the same box realistically? How does one spec this box out?


Varnish will do the load-balancing for you as well. What you need to figure
out is the failover scenario fron one varnish to another - IF you really
need more than 99.9 percent uptime.

A varnish machine should have LOTS of memory and a fair bit of fast disk
with a BIG swapfile on it. Basically varnish treats the entire virtual
memory space as its cache storage and let's vfs worry about what should be
in memory and what can be swapped out.

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


Re: [CentOS] defense-in-depth possible for sshd?

2012-01-10 Thread Bent Terp
On Tue, Jan 10, 2012 at 2:49 PM, John Doe jd...@yahoo.com wrote:

 From: Bennett Haselton benn...@peacefire.org

  On 1/10/2012 5:16 AM, John Doe wrote:
   The sshd child is running as bob; so it has bob (and not root)
 rights...
 
  Yes, I understand that.  What I said was that if you could take complete
  control of the sshd process you were connecting to, even if that process
  was completely unprivileged, you could still make it say Accept a login
  from 'root' with password 'foo' and then log in as root.

 How would your bob owned child sshd take complete control of the
 parent root owned sshd...?

 JD


Or, if you simply WANT more layers, then deploy defense-in-depth in FRONT
of sshd. VPN or port-knocking springs to mind

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


Re: [CentOS] What CentOS means?

2011-12-12 Thread Bent Terp
Community ENTerprise OS

/Bent

On Mon, Dec 12, 2011 at 12:36 PM, LinuxIsOne reall...@hmamail.com wrote:

 Hi,

 I was thinking from where the word 'centos' came and what it means?
 How they choose this word?
 ___
 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] Add new host to /etc/libvirt/qemu/networks/default.xml without virsh net-destroy?

2011-11-25 Thread Bent Terp
Hi,

When I setup a new KVM guest and add it's mac address to the default
NAT'ted network, it would be nice to have that become active without having
to destroy the network and recreate it - as that tends to make the other
guests rather upset.

Anybody knows how to achieve that? I've tried virsh net-edit but that
doesn't seem to do anything useful :-(

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


Re: [CentOS] You suggestion for 'big' filesystem management Best Practice?

2011-10-28 Thread Bent Terp
2011/10/28 Götz Reinicke goetz.reini...@filmakademie.de

 The iSCSI RAID we have is about 26TB netto and I'm again faced with the
 question: How many partitions, which filesystem, which mount options etc.


My vote goes to XFS, if only one server needs acces to the LUN's; and GPFS
(not GFS) if you need a cluster filesystem.

BR Bent (130 TB in one XFS installation, and 600 TB in one gpfs cluster)


 For the User it would be the most simpel thing, to have one big
 filesystem she/he could fill with all the data and dont has to search
 e.g. on multiple volumes.

 On the other hand, if one big filesystem crashes or has do be checked it
 will destroy a lot of data or the check will take hours ...


 Any suggestions pro or cons are welcome! :-)

 My favourite for now is 3 to 4 filesystems with the default ext4
 settings. (Redhat EL 5.7, may be soon 6.1)

 Thanks and best regards. Götz
 --
 Götz Reinicke
 IT-Koordinator

 Tel. +49 7141 969 420
 Fax  +49 7141 969 55 420
 E-Mail goetz.reini...@filmakademie.de

 Filmakademie Baden-Württemberg GmbH
 Akademiehof 10
 71638 Ludwigsburg
 www.filmakademie.de

 Eintragung Amtsgericht Stuttgart HRB 205016

 Vorsitzender des Aufsichtsrats:
 Jürgen Walter MdL
 Staatssekretär im Ministerium für Wissenschaft,
 Forschung und Kunst Baden-Württemberg

 Geschäftsführer:
 Prof. Thomas Schadt




 ___
 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] Bastille-linux

2011-06-02 Thread Bent Terp
On Fri, Jun 3, 2011 at 1:57 AM, Bob Hepple bhep...@promptu.com wrote:
 http://bastille-linux.sourceforge.net claims RHEL5 support but I ran
 into problems running it on a Centos 5.6 test system.

It also claims that Bastille UNIX release coming January 14th, 2008. ;-)

Looks like abandon-ware, unfortunately. It was a good idea, really.

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


Re: [CentOS] ssh in while in fsck

2011-04-28 Thread Bent Terp
On Wed, Apr 27, 2011 at 10:28 PM,  m.r...@5-cent.us wrote:
 Hmm, now *that's* an interesting thought: with, say, DRAC, could you ssh
 into a management server, then go to a booting system?

I'd recommend you use a vpn connection instead, so you can go straight
to the iDRAC/ILO/RSA2 (Dell/HP/IBM, respectively) using ssh and https

That way you can powercycle the server, access the bios, and work in
the console without a running sshd.

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


Re: [CentOS] 40TB File System Recommendations

2011-04-12 Thread Bent Terp
On Tue, Apr 12, 2011 at 9:23 AM, Matthew Feinberg matt...@choopa.com wrote:
 Hello All

 I have a brand spanking new 40TB Hardware Raid6 array to play around
 with. I am looking for recommendations for which filesystem to use. I am
 trying not to break this up into multiple file systems as we are going
 to use it for backups. Other factors is performance and reliability.

We've been very happy with XFS, as it allows us to add diskspace
through LVM and grow the filesystem online - we've had to reboot the
server when we add new diskenclosures, but that's not XFS's fault...

BR Bent


 CentOS 5.6

 array is /dev/sdb

 So here is what I have tried so far
 reiserfs is limited to 16TB
 ext4 does not seem to be fully baked in 5.6 yet. parted 1.8 does not
 support creating ext4 (strange)

 Anyone work with large filesystems like this that have any
 suggestions/recommendations?

 --
 Matthew Feinberg
 matt...@choopa.com
 AIM: matthewchoopa

 ___
 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] 1 Gbit/s Ethernet NIC under CentOS

2010-12-02 Thread Bent Terp
On Wed, Dec 1, 2010 at 8:36 PM, Timo Schoeler
timo.schoe...@riscworks.net wrote:
 You get what you pay for -- this is a valid rule of thumb throughout the
 whole life.

Except with CentOS - we get SO much more than we pay for :-D
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - Any true bourne shells out there for linux?

2010-11-08 Thread Bent Terp
On Tue, Nov 9, 2010 at 12:13 AM, Kwan Lowe kwan.l...@gmail.com wrote:
 On Mon, Nov 8, 2010 at 3:06 PM, Phil Savoie psavoie1...@rogers.com wrote:
 Hi All,

 Was wondering if anyone knows there are any separate rpms to be able to
 install a true bourne shell and not one linked to bash.

 Bash has some options to run in compatibility mode. Not sure what you
 need, but may do the trick.  It's useful if you need to build on Linux
 then move to another environment.

In that case, tcshell might be a viable alternative. It's more like an
addon for all OS's so the differences might well be smaller. Just a
thought, not a thoroughly tested opinion.

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


Re: [CentOS] 8-15 TB storage: any recommendations?

2010-01-11 Thread Bent Terp
On Wed, Jan 6, 2010 at 10:35 PM, Boris Epstein borepst...@gmail.com wrote:
 some storage servers to run under Linux - most likely CentOS. The storage
 volume would be in the range specified: 8-15 TB. Any recommendations as far
 as hardware?

I'm kind of partial to Areca raid controllers, you can get up to 24
ports, so that can be as much as 20 TB (that's real world terabytes,
not hardware manufacturer's) in a raid 6 with hot-spare using 1000 GB
drives.

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


Re: [CentOS] GUID Partition Tables and Ext3 Partition Size

2009-11-09 Thread Bent Terp
On Mon, Nov 9, 2009 at 5:10 AM, Manish Kathuria
mkathu...@tuxtechnologies.co.in wrote:
 Does CentOS 5.4 support large (  2 TB) external storage devices using
 GPT (GUID Partition Tables), while the main OS resides on smaller hard
 disks using MBR. In this scenario, what can be the largest possible
 size of an ext3 partition (and filesystem) which can be created on the
 storage array under CentOS 5.4 ?

As a non-boot volume, we've got 9 SAS boxes of 15 1TB disks deployed
as a single XFS filesystem, tied together with LVM.  Total usable
space: 110T

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


Re: [CentOS] Cluster server options?

2009-11-08 Thread Bent Terp
On Sat, Nov 7, 2009 at 7:57 PM, Scott Ehrlich srehrl...@gmail.com wrote:
  Some code is designed for a single, powerful workstation.  I'd like
 this cluster to act as one powerful workstation.

I was going to suggest OpenMOSIX but that turned out to be quite dead :-(

2 minutes of frantic googling led to this project:
http://www.kerrighed.org which at least seems to be alive, but I
haven't tried it myself.

with kind regards,
  Bent Terp
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cluster server options?

2009-11-08 Thread Bent Terp
On Mon, Nov 9, 2009 at 7:12 AM, Bent Terp b...@nagstrup.dk wrote:
 On Sat, Nov 7, 2009 at 7:57 PM, Scott Ehrlich srehrl...@gmail.com wrote:
  Some code is designed for a single, powerful workstation.  I'd like
 this cluster to act as one powerful workstation.

 I was going to suggest OpenMOSIX but that turned out to be quite dead :-(

 2 minutes of frantic googling led to this project:
 http://www.kerrighed.org which at least seems to be alive, but I
 haven't tried it myself.

You might also want to look at this one: http://www.xtreemos.org/

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


Re: [CentOS] CentOS is dead, long live CentOS

2009-09-18 Thread Bent Terp
On Fri, Sep 18, 2009 at 12:42 AM, Ron Blizzard rb4cen...@gmail.com wrote:
 Which, again, is why CentOS is currently NOT accepting cash donations
 *until* some form of oversight is set up.

Okay, but if some of the people doing the grunt work of CentOS (I
won't list names here simply because I don't wish to offend any of you
by forgetting to mention a name) ever find themselves in the Stockholm
area, I'll happily donate a beer or two :-D

BR Bent Terp (who still believes we get *better* support from the
CentOS team than customers get from RedHat)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:CMS

2009-07-09 Thread Bent Terp
On Thu, Jul 9, 2009 at 7:22 AM, madunixmadu...@gmail.com wrote:
 Dear ALL,

 What  are the experiences you have with various open source CMS
 products (Comparison of PHP-based CMS) such as  (Drupal, Joomla,
 OpenCMS, Typo3, eZ publish ..etc.)

We're migrating from Joomla to Drupal at the moment

 Security, Bugs, Performance, Support, Developer Community, learning
 curve, appearance..etc

Drupal learning curve is rather steep. It has another terminology and
another way of coding.

If you write your pages correctly and have a sufficient memcache, then
performance can be very good ideed.

Community is very active, and bug/security fixes timely.

Appearance is all about theming - your site can look exactly the same,
whether it's Joomla or Drupal or Typo3.

Drual and Typo3 are very good professional CMS's, but they're not
intended for the casual user without programmers and sysadmins.

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


Re: [CentOS] OT:CMS

2009-07-09 Thread Bent Terp
On Thu, Jul 9, 2009 at 9:18 AM, Geoff Galitzge...@galitz.org wrote:
 Why are you migrating away from Joomla?

Cuz developers got very excited about views and panels and shiny stuff :-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] External USB Drive partitioning, formatting and configuring Bacula server

2009-06-29 Thread Bent Terp
On Mon, Jun 29, 2009 at 6:36 AM, Sagar Koiralasagar.koir...@gmail.com wrote:
 partition, I created 3 logical partitions 33% each. It went numbering
 sdb1, sdb5, sdb6 and sdb7. Where's the hell 2,3 and 4? Anyways, I've

partitions 1 through 4 are dedicated to primary/extended partitions,
logicals start from 5.

this is not linux numbering, this is the way the partition table works.

 backupugh...how can I use my usb partitions with Bacula? Any
 ideas?

http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html#SECTION003245000
seems like what you're after.

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


Re: [CentOS] Web photo gallery options

2009-06-24 Thread Bent Terp
I'd recommend using the beta of Gallery3 instead - it will be upgradable to
the final version, and -3 is so much nicer to work with than -2. Actually,
I've stayed on -1 simply because -2 was way too complex.

You won't get it through yum, but you can update using git instead of having
to download and untar new versions.

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


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-21 Thread Bent Terp
On Mon, Jun 22, 2009 at 1:27 AM, Robert P. J. Day rpj...@crashcourse.cawrote:

  talk to someone with a marketing background.  seriously.  all you
 need to do is admit that there's no support, but word it carefully so
 that it doesn't seem like a big deal.  just give people the warm
 fuzzies.  that's all they're looking for.



No, let's NOT talk to marketing people about this - all they care about is
making money by making stuff look nice and remove all the wrinkles in
photoshop! Kinda like the above

IMNSHO, commercial support for Centos comes from consultants that could use
the page for small advert blurbs. The community advantage to that comes from
the safety net this spins under end-users: if the consultant which set-up
your company's servers goes away, then you as a user can look at this list
and find somebody that can take over the job.

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


Re: [CentOS] link to commercial support page isn't really helpful

2009-06-21 Thread Bent Terp
On Mon, Jun 22, 2009 at 1:32 AM, Robert P. J. Day rpj...@crashcourse.cawrote:

  again, no, i'm *not* the right person.  i'm not a centos developer
 and, therefore, i have no idea what options the developers might be
 looking at in terms of support channels.


You ARE the right person, as you want to sell CentOS support.


 i have an extensive red hat/fedora background so i can certainly
 address the *quality* of the product.  but if a client wants to know
 what might be backing *me* up in terms of support from the community
 or from commercial entities, i simply don't know.


You do this for a living = you are a commercial entity. If you want to know
what support YOU can expect from the community, and are satisfied with a
marketing-written page that gives you warm fuzzies, then you're way off
mark. Instead, you should follow this list for several months and use that
experience when you make your recommendations to your customers.

From my personal experience, we've received better support from CentOS than
from RedHat!
What you don't get is a phone-droid that's being paid minimum wages to
listen to phone abuse.

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


Re: [CentOS] CentOS 5.3 cron / crontab missing?

2009-06-10 Thread Bent Terp
 Am I missing something here?

vixie-cron?
[r...@misc ~]# rpmquery --whatprovides $(which crontab)
vixie-cron-4.1-76.el5

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


Re: [CentOS] PHP 5.2 or greater availability

2009-05-18 Thread Bent Terp
On Tue, May 19, 2009 at 1:46 AM, Kaplan, Andrew H.
ahkap...@partners.org wrote:
 Is there a repository that has php version 5.2 or greater available for use
 with the Centos 5.3 distribution?

http://blog.famillecollet.com/post/2009/05/03/remi-release-5-en

Works for my gallery3 installation at least

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


Re: [CentOS] fs for 16 TiB partition

2009-05-06 Thread Bent Terp
On Wed, May 6, 2009 at 10:48 AM, Adrian Sevcenco
adrian.sevce...@cern.ch wrote:
 Hi,
 What would you recommend as an FS for an partition greater than 16 TiB?
 This is for an production server (that is, no ext4 recommendations
 please :) )
 What experiences did you had with your preferred FS ? (good and not so
 good points)

We've got a 110 TB xfs system in production based on a logical volume
striped over 9 boxes of SATA disk, works like a charm with great
throughput as we stripe over 3 controllers :-)

Only whoopsie in 18+ months was when we recently added 3 more disk
boxes and I grew the filesystem. First attempt xfs_grow only added a
fraction of the available space. Second attempt gave a kernel panic.
Reboot and everything was fine with all space available.

Lesson learned: don't use xfs_grow unless you're in the general
vicinity of the server ;-)

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


Re: [CentOS] fs for 16 TiB partition

2009-05-06 Thread Bent Terp
On Wed, May 6, 2009 at 11:27 AM, Bent Terp b...@nagstrup.dk wrote:
 Lesson learned: don't use xfs_grow unless you're in the general
 vicinity of the server ;-)

Correction: the command is xfs_growfs not xfs_grow

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


[CentOS] Hierarchial storage management or automated archival to tape

2009-01-08 Thread Bent Terp
Hi list!

While regular backup solutions like amanda or bacula are very good at
their job, ie keeping point2point copies of the files currently on
disk, I find them less suited for archiving - having unused files move
to tape in duplo and stay there until requested. I've even read of
multi-tier solutions - move to slower disks after a week and further
on to tape after a month.

Does anyone have some experience or suggestions for this? The project
will deal with ~100 TB of growth per year, most files somewhere
between 2 and 50 GB.

Yes, it can be done with everything in one filesystem, but I'm
concerned about running a full backup every month of 500 TB ;-) Not to
mention the time required for recovery in case the filesys crashes

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


Re: [CentOS] Hierarchial storage management or automated archival to tape

2009-01-08 Thread Bent Terp
On Thu, Jan 8, 2009 at 5:08 PM, Tony Placilla
aplac...@jhuadig.admin.jhu.edu wrote:
 We use SAM-FS to do just that here in the libraries.
 http://opensolaris.org/os/project/samqfs/What_are_QFS_and_SAM/

Thanks for the pointer! Do you use SAM with QFS or ZFS? Or some sort of combo?

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


Re: [CentOS] only backup selected files

2008-11-09 Thread Bent Terp
On Sun, Nov 9, 2008 at 4:49 AM, Robert [EMAIL PROTECTED] wrote:
 I'm sure there will be other ideas but in the absence of an include these
 files file option, you could employ a simple loop to append the files in a

man tar:
   -T, --files-from F
  get names to extract or create from file F

 list to a tar archive.  For example, if you had a file named include with
 these 3 records

   /bin/gawk
   /etc/fstab
   /etc/resolv.conf

 This would cause the 3 files to be archived as included.tar.
 [EMAIL PROTECTED] ~]$ while read inc ; do echo including: $inc ; tar -v -r 
 $inc -f
  included.tar ; done  include

or: tar -jvrc included.tar.bz2 --files-from include

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


Re: [CentOS] centralized logs server and also storing the logs on the local server

2008-11-09 Thread Bent Terp
On Sun, Nov 9, 2008 at 8:57 AM, ankush grover [EMAIL PROTECTED] wrote:

 store all the logs on the local server aka means logs will be sent to
 the central log server but also will be stored on the local server.

I see two ways of doing this: 1) use rsyslog and multiple rules, one
for writing to local file and another for TCP forwarding to central
syslog server. 2) Do the logging locally, and let logrotate copy the
files to the central location.

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


Re: [CentOS] rpm spec question

2008-11-03 Thread Bent Terp
On Mon, Nov 3, 2008 at 10:38 AM, Tom Brown [EMAIL PROTECTED] wrote:
 specify this in the %postun. Is there a way to tell rpm to NOT remove
 files/dir's that it creates unless i request it?

don't list the dir in the files section, use /* instead to point out
the files in the dir

If you list the dir itself, it will be owned by the rpm and removed
together with it.

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


Re: [CentOS] scp and key login

2008-10-01 Thread Bent Terp
On Tue, Sep 30, 2008 at 6:31 PM, Kai Schaetzl [EMAIL PROTECTED] wrote:
 Thanks, the agent without forwarding might be enough. The article is a bit
 general, though. I hope I can actually make this work with the few details

nono, you need the agent forwarding for the first login (ssh -A ),
then then scp will (should) work, using the forwarded credentials to
contact the agent on the initial machine.

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


Re: [CentOS] scp and key login

2008-10-01 Thread Bent Terp
Short version:
[EMAIL PROTECTED] ~]$ ssh-add
Enter passphrase for /home/user/.ssh/id_dsa:
Identity added: /home/user/.ssh/id_dsa (/home/user/.ssh/id_dsa)
[EMAIL PROTECTED] ~]$ ssh -A [EMAIL PROTECTED]
Last login: Wed Sep  31 25:74:52 2008 from 127.0.0.1
[EMAIL PROTECTED] ~]$ scp /tmp/CentOS.iso [EMAIL PROTECTED]:/tmp

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


Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread Bent Terp
On Wed, Oct 1, 2008 at 1:29 PM, Rudi Ahlers [EMAIL PROTECTED] wrote:
 wget downloads the whole page every time, which wastes bandwidth  HDD
 space. Apart from using the  /dev/null option, is there any other
 way to use it?

wget -O- and then devnull :-)

curl --silent is quite nice as well
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum

2008-08-06 Thread Bent Terp
On Tue, Aug 5, 2008 at 7:01 PM, Mohsen Pahlevanzadeh
[EMAIL PROTECTED] wrote:
 Dear All,
 When i install CentOS, it doesn't install yum package.
 How i do it?
 when i haven't yum, it is like that i haven't apt-get.
 Please help me
 Yours,
 Mohsen
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Sounds like you need to talk to the support staff where you bought the
VPServer - after all, they're the ones responsible for creating your
problem.

Alternatively, you could try 'rpm --upgrade
http://mirror.centos.org/centos-5/5.2/updates/i386/RPMS/yum-3.2.8-9.el5.centos.2.1.noarch.rpm;
- add dependencies ad nauseam.

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


Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Bent Terp
On Sat, Aug 2, 2008 at 4:00 PM, Johnny Hughes [EMAIL PROTECTED] wrote:
 stupid question ... why not just put it in the machine and make it a raid1
 mirror

cuz it's not an md volume to begin with?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] share folder as USB mass storage device

2008-07-08 Thread Bent Terp
Hi all!

Maybe I'm just being silly here, but I'm wondering if anybody has ever
used their computer for sharing files over USB. That is, the computer
pretends to be a USB mass storage device.

This could be useful for connecting to media players and such that
support you plugging a USB harddrive or memory stick.

Surely, somebody must have thought of this before :-D

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


Re: [CentOS] Yum repository for bacula for CentOS 5?

2008-07-01 Thread Bent Terp
On Mon, Jun 30, 2008 at 1:29 PM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Mon, Jun 30, 2008 at 2:49 AM, Kevin Thorpe [EMAIL PROTECTED] wrote:
 Can anyone point me at a yum repository containing a CentOS 5 version of
 bacula?

 Check out the EPEL repository.  Please see (near the bottom):

 http://wiki.centos.org/AdditionalResources/Repositories

Kinda old, ain't it? At least we're only one release behind ;-)

/Bent


MTG.repo
Description: Binary data
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?

2008-06-22 Thread Bent Terp
 I have changed the comms in minincom to use /dev/tty0  the baud rate to
 9600, yet I can't seem to connect with minicom. Does anyone know how to
 connect to a serial device from the console?

This works for me with our Cisco console cables:
sudo yum install picocom
sudo picocom /dev/ttyS0

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


Re: [CentOS] rpmfusion status?

2008-06-18 Thread Bent Terp
On Wed, Jun 18, 2008 at 6:27 PM, Ross S. W. Walker
[EMAIL PROTECTED] wrote:
 If they manage to port all the Fedora extras over for EL then I
 would say that is pretty darn close to one-stop shop for RPMs.

Assuming that all software ever needed by anybody exists in Fedora
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fwd: RHEL5 network throughput/scalability

2008-06-13 Thread Bent Terp
 I have an issue with a new cluster setup where the nodes are RHEL5.1(with
 the latest 5.2 kernel), when i try to write NFS data, the nodes scale

Have you tried the latest bz32 kernel from Johnny?
http://people.centos.org/hughesjr/kernel/5/

I have kind of lost faith in RH kernels as far as NFS performance is
concerned - and yes, I know that the bz32 issue is supposedly
solved in 5.2 but until we can positively confirm that ourselves I
ain't letting it near our production servers

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


Re: [CentOS] School Server Setup

2008-06-10 Thread Bent Terp
On Tue, Jun 10, 2008 at 7:20 AM, lingu [EMAIL PROTECTED] wrote:
 install.I recommend u either fedora6 or fedora 8.

6 ?!?! Why in the name of the holy penguin would anybody want to
install FC6 today?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hardware Specs

2008-06-10 Thread Bent Terp
 My boss wants me to do some research in finding which hardware is most used
 under Linux(ex. Dell servers, Barebones Kits, HP  Compaq servers, etc.)

I'm quite partial to Dell cuz they've always worked quite well as far
as raid drivers and so are concerned. Also, their service guys seem
quite competent - at least where we live.

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


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Bent Terp
 communicate with MySQL5. On this server, PHP/Mysql connections are dead
 slow and unresponsive. It takes sometimes up to a minute to list tables
 in phpmyadmin for example.

Have you tried other protocols? Is it really only http transfers that are slow?

Have you tried pinging 100 times and see if you get dropped packets?

Are there any errors from the netcards showing up in log files?

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


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Bent Terp
 Yes. Ftp works perfectly, and regular http with cgi/perl connections to the 
 same database server works perfectly. Also rendering of standard HTML works 
 as it should. It is only when a scripted site uses PHP/Mysql the connection 
 to the server takes forever.

What happens if you include a largish file in php? Is that also slow?

Have you tried MySQL without php? Ie a mysql dump'n'reload on the command line?

What's your memory status? (free -m) Swapping is painful
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help, PHP/Mysql connections are so slow.

2008-06-09 Thread Bent Terp
On Mon, Jun 9, 2008 at 1:05 PM, Bent Terp [EMAIL PROTECTED] wrote:
 Yes. Ftp works perfectly, and regular http with cgi/perl connections to the 
 same database server works perfectly. Also rendering of standard HTML works 
 as it should. It is only when a scripted site uses PHP/Mysql the connection 
 to the server takes forever.

 What happens if you include a largish file in php? Is that also slow?

 Have you tried MySQL without php? Ie a mysql dump'n'reload on the command 
 line?


Ah well you already tried these sorry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RE-export nfs mounted share

2008-06-09 Thread Bent Terp
 below manner [bcoz there is no alternative way for me to setup nfs share]

Why not? Firewalling/routing is not a problem just use fixed ports on
host A, and have host B forward requests. I've done that with nfs
servers hiding on an internal subnet.

AFAIK, you can NOT re-export nfs mounts, it's not working and it's not
supposed to.

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


Re: [CentOS] RE: Largish filesystems [was Re: XFS install issue]

2008-06-03 Thread Bent Terp
On Mon, Jun 2, 2008 at 9:38 PM, Alain Terriault
[EMAIL PROTECTED] wrote:
 Just wondering if any one ever consider/use Coraid for massive storage under
 CentOS?
 http://www.coraid.com
 It seems like a very reasonable option.. comments ?

It doesn't go all the way, but sure looks as interesting storage
blocks for a Lustre deployment.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Largish filesystems [was Re: XFS install issue]

2008-06-02 Thread Bent Terp
On Mon, Jun 2, 2008 at 2:03 PM, Johnny Hughes [EMAIL PROTECTED] wrote:
 I would also not use XFS in production ... but that is just me.

Interesting, I thought that XFS was fairly safe for use. What would
you recommend for filesystems in the 50-500 terabyte range?

(And yes, we do actually run a 70 TB at the moment, so I'm not asking
just to annoy you; I'm genuinely interested in your opinion as well as
those of others, so feel free to chip in)

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


Re: [CentOS] RE: Largish filesystems [was Re: XFS install issue]

2008-06-02 Thread Bent Terp
On Mon, Jun 2, 2008 at 7:48 PM, Ross S. W. Walker [EMAIL PROTECTED] wrote:
 As for file systems there is only really one for that scenario,
 GFS, as OCFSv1 only goes up to 8TB and OCFSv2 is still a
 technology preview. Besides GFS is included in the distro!

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


Re: NFS problem in the latest kernel (Was: [CentOS] MySQL issues with kernel-2.6.18-53.1.6.el5.x86_64.rpm)

2008-02-01 Thread Bent Terp
On Jan 31, 2008 6:21 PM, Akemi Yagi [EMAIL PROTECTED] wrote:
 This problem does not seem to be associated with specific hardware as
 implied in the original thread.

I did not intend to imply any such thing, at least not as far as the
client is concerned, we've verified this on different hardware from
different suppliers.

To me, this is an inter-op issue with the new kernel and EMC's celerra
NFS server, and am currently working it together with EMC tech support
- obviously it may affect other nfs servers as well; we can only test
against what we have.

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


Re: [CentOS] MySQL issues with kernel-2.6.18-53.1.6.el5.x86_64.rpm

2008-02-01 Thread Bent Terp
On Feb 1, 2008 10:54 AM, Johnny Hughes [EMAIL PROTECTED] wrote:
 Bent Terp wrote:
  Good point, thanks Johnny! We've verified that here; problem does not
  occur when mounting a Linux nfs-share, and does occur when mounting a
  Celerra nfs-share.

Tunrs out that nfsstat wasn't telling us the whole truth We set up
an rsync that only did the directory listing, and the .4 = .6 kernel
opgrade (and I use the term loosely...) resulted in that rsync
command taking 21 secs instead of 4.5 against a Linux nfs backend; and
20 secs instead of 10 against the celerra.

  I've opened a Service Request @ EMC, and will post here again when relevant.

Issue remains open, although I'm sligthly embarassed about it now,
given that linux backends are also affected.

When we built a .6 kernel without the 5 nfs patches, nfsstat output
reverted, but I don't know about the actual performance, yet. Probably
we can rerun those tests monday.

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


Re: [CentOS] MySQL issues with kernel-2.6.18-53.1.6.el5.x86_64.rpm

2008-01-31 Thread Bent Terp
On Jan 30, 2008 5:39 PM, William L. Maltby [EMAIL PROTECTED] wrote:
 According to man pages for mount and nfs, *atime is not a supported
 mount option for NFS. *If* I read correctly.

I don't agree. noatime is listed in the general section of man mount,
and those options should then exist (but may be ignored) by nfs. man
nfs explains the differences between v3 and v4. In
Documentation/filesystems there aren't any caveats either.

Anyways, we didn't change mount options when upping the kernel.

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


Re: [CentOS] MySQL issues with kernel-2.6.18-53.1.6.el5.x86_64.rpm

2008-01-31 Thread Bent Terp
On Jan 31, 2008 1:17 PM, William L. Maltby [EMAIL PROTECTED] wrote:
 Still, we can't believe that an option you've never changed, and
 apparently worked before, and is not specifically (in)excluded as
 (un)supported is unsupported now. :-(

No I suppose not, so we went and rechecked with noatime, and the
situation remains the same.

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


Re: [CentOS] MySQL issues with kernel-2.6.18-53.1.6.el5.x86_64.rpm

2008-01-31 Thread Bent Terp
On Jan 31, 2008 2:09 PM, Bent Terp [EMAIL PROTECTED] wrote:
 On Jan 31, 2008 1:17 PM, William L. Maltby [EMAIL PROTECTED] wrote:
  Still, we can't believe that an option you've never changed, and
  apparently worked before, and is not specifically (in)excluded as
  (un)supported is unsupported now. :-(

 No I suppose not, so we went and rechecked with noatime, and the
 situation remains the same.

 /B


ehrmn, I meant rechecked WITHOUT noatime and nodiratime ;-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] MySQL issues with kernel-2.6.18-53.1.6.el5.x86_64.rpm

2008-01-28 Thread Bent Terp
On 1/24/08, Karanbir Singh [EMAIL PROTECTED] wrote:
 Bent Terp wrote:
  Hi all!
 
  Just a word of warning: after updating a few of our x86_64 based web
  frontend boxes to the new kernel, we began to get weird MySQL
  timeouts. The problem went away again when we downgraded to the
  previous kernel-2.6.18-53.1.6.el5.x86_64.rpm
 
 A bit more info / context would be nice !

We upgraded our web front servers to kernel 2.6.18-53.1.6, and
suddenly sites wouldn't load. It seemed to be that the connections
from php to the backend sql servers timed out, so we immediately
downgraded back to 2.6.18-53.1.4

Now that we've had more time to look at the problem, it is not related
to mysql, sorry about that. Rather, it looks as if the set of nfs
patches do not agree with our EMC Cellera NAS server. Backing out that
bunch and rebuilding makes the problem go away.

The patches that gives us problems, results in a kernel which makes
something like 2000 times more NFS V3 LOOKUP Call and NFS V3 LOOKUP
Reply than without.

Has something changed with regard to the mount options? We use
(rw,noatime,rsize=8192,wsize=8192,hard,udp,context=system_u:object_r:httpd_sys_content_t:s0)
which has worked fine until now.

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


[CentOS] MySQL issues with kernel-2.6.18-53.1.6.el5.x86_64.rpm

2008-01-24 Thread Bent Terp
Hi all!

Just a word of warning: after updating a few of our x86_64 based web
frontend boxes to the new kernel, we began to get weird MySQL
timeouts. The problem went away again when we downgraded to the
previous kernel-2.6.18-53.1.6.el5.x86_64.rpm

regards,
  Bent Terp
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Print from remote applications

2007-10-11 Thread Bent Terp
On 10/10/07, Patricio A. Bruna [EMAIL PROTECTED] wrote:
 Just:
 ssh [EMAIL PROTECTED]

 The application its launched automatically

But you still need to do the port forwarding. LEt's assume you have a
local IPP printer on the client machine, that is port 631 and you've
created printer queue on the server pointing to port 6631. Then you'd
need -R 6631:127.0.0.1:631 as part of the login

BR Bent


 - Bent Terp [EMAIL PROTECTED] escribió:
  What is the ssh command used?
 
 
  On 10/9/07, Patricio A. Bruna [EMAIL PROTECTED] wrote:
   Bent,
   In the remote server is configure, also it works with another
  terminal.
   But i can't get it to work with xterm
  
   - Bent Terp [EMAIL PROTECTED] escribió:
Setup a printing queue on the application server pointing to a
  local
port on the application server.
   
Then use remote forwarding during login, redirecting the fake
printing
port on the application server to the real printing queue on the
client side, whether that is a printservice on the client machine
  or
a
network printer.
   
As usual, TMTOWTDI
  http://www.catb.org/jargon/html/T/TMTOWTDI.htmL
applies
   
regards,
  Bent
   
On 10/8/07, Patricio A. Bruna [EMAIL PROTECTED] wrote:
 I have some clients that connect  to an application running on
another
 server via ssh.
 They launch xterm and executes ssh to the site and start the
application, i
 have a problem trying to redirect the printing to the local
  printer
on the
 client  pc.

 any ideas how can i that?

 thanks

 ___
 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
  
  ___
  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] Print from remote applications

2007-10-10 Thread Bent Terp
What is the ssh command used?


On 10/9/07, Patricio A. Bruna [EMAIL PROTECTED] wrote:
 Bent,
 In the remote server is configure, also it works with another terminal.
 But i can't get it to work with xterm

 - Bent Terp [EMAIL PROTECTED] escribió:
  Setup a printing queue on the application server pointing to a local
  port on the application server.
 
  Then use remote forwarding during login, redirecting the fake
  printing
  port on the application server to the real printing queue on the
  client side, whether that is a printservice on the client machine or
  a
  network printer.
 
  As usual, TMTOWTDI http://www.catb.org/jargon/html/T/TMTOWTDI.htmL
  applies
 
  regards,
Bent
 
  On 10/8/07, Patricio A. Bruna [EMAIL PROTECTED] wrote:
   I have some clients that connect  to an application running on
  another
   server via ssh.
   They launch xterm and executes ssh to the site and start the
  application, i
   have a problem trying to redirect the printing to the local printer
  on the
   client  pc.
  
   any ideas how can i that?
  
   thanks
  
   ___
   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

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


Re: [CentOS] ssh X11 forwarding not working

2007-10-10 Thread Bent Terp
I often see this when I've forgotten to install the xorg-x11-xauth package.

Having to set DISPLAY manually is annoying

regards,
  Bent


On 10/10/07, Barry Schiffman [EMAIL PROTECTED] wrote:
 --- Barry Schiffman [EMAIL PROTECTED] wrote:

 
  --- Feizhou [EMAIL PROTECTED] wrote:
 
   James A. Peltier wrote:
I'm having problems with ssh.com and X11
   forwarding
   
ssh: SSH Secure Shell 3.2.0 (non-commercial
   version) on i686-pc-linux-gnu
   
I am in the process of testing some of my
  machines
   with CentOS 5
x86/x86_64 and have run into a bit of a snag.
  X11
   Forwarding is not
working.
   
Any hints?  I've checked the ssh config files
  and
   they seem to be
identical to the config files on our existing
  SuSE
   10.0 machines which
are working.  This is troubling indeed.
   
   
  
   ssh -v and see what the ssh client complains
  about.
 
  I just installed CentOS 5.0 on one machine here and
  have a similar problem. I haven't changed the config
  file from what was installed, and it looks pretty
  much
  like the config in CentOS 4.5.
 
  I've got openssh-4.3p2-16.el5 on the CentOS 5.0
  machine, and have tried to get X11 forwarding
  working
  on connections from three machines with different
  os's
  -- centos 4.5, ubuntu and Mac OS.
 
  ssh -v doesn't seem to say anything out of the
  ordinary. After authentication, it says:
 
  Entering interactive session.
  Requesting X11 forwarding with authentication
  spoofing.
 
  Trying to open an emacs window without a -d
  argument,
  I get a message about no address for localhost:6010.
 
  Supplying the -d argument, I get
  Xlib: connection to xxx:0 refused by server
  Xlib: No protocol specified.
 
  Barry
 

 I should've tried this before writing. If I set the
 environment variable DISPLAY in the xterm after making
 the ssh connection, it works.




   
 
 Check out the hottest 2008 models today at Yahoo! Autos.
 http://autos.yahoo.com/new_cars.html
 ___
 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] yum $releasever thinks it's 1 instead of 3

2007-10-10 Thread Bent Terp
On 10/10/07, Steve Campbell [EMAIL PROTECTED] wrote:
 I just upgraded one of my Tao boxes to Centos 3. The usual procedure is
 to do a yum update twice, and all is fine.

 This time, I had to rebuilddb before I could run the second yum update,
 and once I started this, yum fails. It says that $releasever is 1.0.

 Now I realize I could manually edit my yum.conf and make it go to 3, but
 this may not fix the problem down the road. Can someone tell me where
 this variable is defined, and any suggestions on how to fix this
 problem, please? Might a reinstall of yum packages fix this, as a last
 resort?

I think it's parsed from /etc/redhat-release
cat /etc/redhat-release
CentOS release 5 (Final)

regards,
  Bent


 Thanks very much.

 Steve Campbell

 ___
 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] How to export X displays

2007-10-10 Thread Bent Terp
On 10/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I have a CentOS server at home and want to view the X display on a laptop 
 running Ubuntu, and not having much success.

 Here's what's been tried so far:

 I ran this command on the CentOS server:

 export DISPLAY=192.168.0.18:0.0


 And ran this command on the Ubuntu laptop:

 xauth +192.168.0.2


 When I try to run, say, xclock on the Ubuntu laptop, this is the error 
 message I'm getting:

 [EMAIL PROTECTED] ~]# xclock
 Error: Can't open display: 192.168.0.18:0.0

 I'm assuming there's an important little detail I'm missing somewhere, but 
 don't know what.

 Any suggestions?

I often run into this when I forget to install xorg-x11-xauth on the
server. I'd suggest you check that with 'rpmquery xorg-x11-xauth' and
otherwise install it, then try a new ssh -Y login

regards,
  Bent


 Paul
 ___
 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] How to export X displays

2007-10-10 Thread Bent Terp
On 10/10/07, umair shakil [EMAIL PROTECTED] wrote:
 Why dont u enable RDP on centOS (running GUI), and then using ubunto with
 this path

Could you please provide us ignorants with a link to an RDP server for Linux?

 Umair Shakil
 ETD

Are you the same Umair Shakil as the one in
http://www.umairshakil.net/linux.html? That explains a few things
;-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum $releasever thinks it's 1 instead of 3

2007-10-10 Thread Bent Terp
 It's not parsed from the file itself.

Explains why my brilliant upgrade scheme didn't work.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] File retrieval from outside hangs, internally is okay, only Centos5 affected

2007-10-09 Thread Bent Terp
As it turns out, the problem goes away if I use old-fashioned
iptables, that is without connection tracking. Go figure!

Take home lesson is do not use connection tracking iptables behind a
Cisco FireWall Service Module.

Is this just to be accepted as canon, or can somebody actually explain
to me WHY?

best regards,
  Bent


On 10/8/07, Bent Terp [EMAIL PROTECTED] wrote:
 The only thing which shows up is that the client start sending
 duplicate ACK's, getting Destination unreachable as reply from the
 server (not from the Cisco). This happened 220 KB into the transfer in
 this case, but that figure varies quite a bit.

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


Re: [CentOS] File retrieval from outside hangs, internally is okay, only Centos5 affected

2007-10-08 Thread Bent Terp
The only thing which shows up is that the client start sending
duplicate ACK's, getting Destination unreachable as reply from the
server (not from the Cisco). This happened 220 KB into the transfer in
this case, but that figure varies quite a bit.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] File retrieval from outside hangs, internally is okay, only Centos5 affected

2007-10-07 Thread Bent Terp
Hi!

I have a really weird problem with some of my servers, namely all the
ones running Centos5

When I try to download a file from the server to a machine outside our
Cisco 6500 router/firewall, the download hangs about half the times
(15 out of 40) when less than half a megabyte into the transfer
(varied from 76 kb to 496 kb).

One server has a portchannel (Cisco speak for ethernet bundle), others
do not, some use e1000, some use broadcom, I've tried httpd and scp
transfers, I've tried from three different clients,

Here's the really annoying part: the problem only occurs when
downloading from outside the firewall, not when transferring files
internally in the serverroom! And the switch is the firewall is a
modular chassis, so the data comes over the same backplane regardless.

And there's 42 files in /proc/net/sys/ipv4 which differ between EL4
and Centos5, so I'm a little lost here

Anybody got some ideas?

with kind regards,
Bent

PS Crossposted from Centos Forum, in case sombody on the list, who
doesn't read the forum, can help me
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos