Re: [CentOS] 2 servers cluster

2009-06-27 Thread fmb fmb
Hi,

the servers will be on the same subnet. httpd services...You stated that you
wrote your own solution. I am curious if it is possible to be implemented
using CentOS clustering tools...

thnx,


On Sat, Jun 27, 2009 at 8:09 AM, Neil Aggarwal wrote:

> Do you want the servers on the same subnet or different
> subnets?
> Do you want them geographically separated?
> What services will the servers run?
> Httpd, database, etc.?
>
> There is a project called Linux Virtual Server:
> http://www.linuxvirtualserver.org/
> that might be interesting for you to take a look at.
>
> Also, we needed something that would allow us to
> have an e-commerce site that used servers in two
> separate geographic data rooms.  We wanted both
> databases to be live allow the system to run
> even if one datacenter was unavailable.  The
> solutions from Oracle, etc. were too expensive
> so we wrote our own.  We could adapt that to your
> project if you need.
>
>Neil
>
> --
> Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
> Eliminate junk email and reclaim your inbox.
> Visit http://www.spammilter.com for details.
>
>
>
> 
>
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf
> Of fmb fmb
> Sent: Friday, June 26, 2009 10:58 PM
> To: centos@centos.org
> Subject: [CentOS] 2 servers cluster
>
>
> Hi,
>
> I am thinking of setting up two servers in load balance mode. I would
> really
> appreciate your suggestions and hints...
>
>
> thnx,
>
>
> ___
> 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] 2 servers cluster

2009-06-27 Thread Neil Aggarwal
There might be a way to do it, but I have not explored that yet.
You may call me to discuss it.  My number is in my signature below.
 
Neil


--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Your e-commerce site can be geographically redundant and available
even if failure occurs. Ask me about the GRed database system. 

 


  _  

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of fmb fmb
Sent: Saturday, June 27, 2009 3:36 AM
To: CentOS mailing list
Subject: Re: [CentOS] 2 servers cluster


Hi,

the servers will be on the same subnet. httpd services...You stated that you
wrote your own solution. I am curious if it is possible to be implemented
using CentOS clustering tools...

thnx,



On Sat, Jun 27, 2009 at 8:09 AM, Neil Aggarwal 
wrote:


Do you want the servers on the same subnet or different
subnets?
Do you want them geographically separated?
What services will the servers run?
Httpd, database, etc.?

There is a project called Linux Virtual Server:
http://www.linuxvirtualserver.org/
that might be interesting for you to take a look at.

Also, we needed something that would allow us to
have an e-commerce site that used servers in two
separate geographic data rooms.  We wanted both
databases to be live allow the system to run
even if one datacenter was unavailable.  The
solutions from Oracle, etc. were too expensive
so we wrote our own.  We could adapt that to your
project if you need.

   Neil

--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.





From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of fmb fmb
Sent: Friday, June 26, 2009 10:58 PM
To: centos@centos.org
Subject: [CentOS] 2 servers cluster



Hi,

I am thinking of setting up two servers in load balance mode. I would really
appreciate your suggestions and hints...


thnx,



___
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] 2 servers cluster

2009-06-27 Thread Brian Mathis
CentOS has the redhat piranha packages available for install.  Piranha
is a repackaging of the linux virtual server software, along with a
web-based front-end.  You can find information about that in the
CentOS docs and also by googling for "redhat piranha".


On Fri, Jun 26, 2009 at 11:57 PM, fmb fmb wrote:
> Hi,
>
> I am thinking of setting up two servers in load balance mode. I would really
> appreciate your suggestions and hints...
>
>
> thnx,
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 servers cluster

2009-06-27 Thread fmb fmb
Thnx Brian. This is the first thing that I will do...

On Sat, Jun 27, 2009 at 5:29 PM, Brian Mathis wrote:

> CentOS has the redhat piranha packages available for install.  Piranha
> is a repackaging of the linux virtual server software, along with a
> web-based front-end.  You can find information about that in the
> CentOS docs and also by googling for "redhat piranha".
>
>
> On Fri, Jun 26, 2009 at 11:57 PM, fmb fmb wrote:
> > Hi,
> >
> > I am thinking of setting up two servers in load balance mode. I would
> really
> > appreciate your suggestions and hints...
> >
> >
> > thnx,
> >
> ___
> 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] server is always getting hacked

2009-06-27 Thread Mag Gam
WE have a centos 5.3 install, and our server is keep getting hacked.
We see load averages of 500+ and see people from all over the world
logging into our server (used last).

Is there a good place to start to avoid these kinds of things?

For example, here is what I already did.

Open up sshd port only
setup iptables to only accept port 80 and 22
No FTP
No other ports are allowed according to IP Tables.


I am not sure what else measures I can take. Can someone please assist?

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


Re: [CentOS] server is always getting hacked

2009-06-27 Thread John R Pierce
Mag Gam wrote:
> WE have a centos 5.3 install, and our server is keep getting hacked.
> We see load averages of 500+ and see people from all over the world
> logging into our server (used last).
>
>   

what protocols are they logging on via?  what accounts? 

have you changed all the passwords and so forth, run a rootkit hunter 
like rkhunter to check for common rootkits and other incursions, and so 
forth?


> Is there a good place to start to avoid these kinds of things?
>
> For example, here is what I already did.
>
> Open up sshd port only
> setup iptables to only accept port 80 and 22
> No FTP
> No other ports are allowed according to IP Tables.
>   

what sort of website is running on port 80?   if its hosting any common 
PHP or other applications check for known exploits in those...  almost 
every major and minor PHP package, common perl CGI, etc, has had 
exploits... things like phpbb get new exploits every week and need 
frequent updating.

at this point, if your system has been hacked this badly, I would take 
it offline, clean install it with the minimum packages to support your 
applications, fully patch it, and this time making sure you leave 
selinux fully enabled, and then reconfigure and redeploy your web 
applications.




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


[CentOS] CentOS 5.3 and NTFS

2009-06-27 Thread Alan McKay
Aa, I'm pulling out my hair over here!

I have an external USB drive which I had at work, connected just fine
to my CentOS 5.3  box.  I recall there was some jiggery-pokery
involved, but do not recall just what.

So now I'm on my wife's freshly installed CentOS 5.3 laptop trying to
get it going, and I keep getting errors about

FATAL: Module fuse not found.

I saw this message from the May archives :

http://lists.rpmforge.net/pipermail/users/2009-May/002345.html

and this as well

http://www.johnson.homelinux.net/mywiki/NTFS

but no luck!

[r...@localhost ~]# rpm -qa | grep fuse
dkms-fuse-2.7.4-1.nodist.rf
fuse-ntfs-3g-2009.4.4-2.el5.rf
fuse-2.7.4-1.el5.rf

[r...@localhost ~]# rpm -qa | grep ntfs
ntfsprogs-1.13.1-6.el5
ntfsprogs-gnomevfs-1.13.1-6.el5
fuse-ntfs-3g-2009.4.4-2.el5.rf

[r...@localhost ~]# rpm -qa | grep dkms
dkms-2.0.20.4-1.el5.rf
dkms-fuse-2.7.4-1.nodist.rf

Can someone answer me this?  This "fuse module" ... the one that I'm
supposed to be able to add with "modprobe fuse".

What RPM provides it?  And what file should I be looking for to
confirm that it is there?

Oh, and just to show that the drive does show up at least :
[r...@localhost ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  13  104391   83  Linux
/dev/sda2  14   19457   156183930   8e  Linux LVM

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   1  121601   9767600017  HPFS/NTFS


thanks,
-Alan




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


Re: [CentOS] CentOS 5.3 and NTFS

2009-06-27 Thread Akemi Yagi
On Sat, Jun 27, 2009 at 5:40 PM, Alan McKay wrote:
> Aa, I'm pulling out my hair over here!
>
> I have an external USB drive which I had at work, connected just fine
> to my CentOS 5.3  box.  I recall there was some jiggery-pokery
> involved, but do not recall just what.
>
> So now I'm on my wife's freshly installed CentOS 5.3 laptop trying to
> get it going, and I keep getting errors about
>
> FATAL: Module fuse not found.

The fuse module is built by dkms.  Make sure you have the kernel devel
package that *matches* your running kernel.  What is the output of:

uname -mr

and

rpm -qa kernel\* | sort

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


Re: [CentOS] CentOS 5.3 and NTFS

2009-06-27 Thread Alan McKay
> The fuse module is built by dkms.  Make sure you have the kernel devel
> package that *matches* your running kernel.  What is the output of:
>
> uname -mr
>
> and
>
> rpm -qa kernel\* | sort

[r...@localhost ~]# uname -mr
2.6.18-128.el5 i686

[r...@localhost ~]# rpm -qa kernel\* | sort
kernel-2.6.18-128.el5
kernel-devel-2.6.18-128.1.14.el5
kernel-headers-2.6.18-128.1.14.el5

OK, what next?


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


Re: [CentOS] CentOS 5.3 and NTFS

2009-06-27 Thread Akemi Yagi
On Sat, Jun 27, 2009 at 6:05 PM, Alan McKay wrote:
>> The fuse module is built by dkms.  Make sure you have the kernel devel
>> package that *matches* your running kernel.  What is the output of:
>>
>> uname -mr
>>
>> and
>>
>> rpm -qa kernel\* | sort
>
> [r...@localhost ~]# uname -mr
> 2.6.18-128.el5 i686
>
> [r...@localhost ~]# rpm -qa kernel\* | sort
> kernel-2.6.18-128.el5
> kernel-devel-2.6.18-128.1.14.el5
> kernel-headers-2.6.18-128.1.14.el5
>
> OK, what next?

Can you see that your kernel-devel (2.6.18-128.1.14) is newer than
your running kernel (2.6.18-128) ?

I strongly suggest that you run 'yum update' and get the latest kernel
and reboot.  If, for some reason, you must stay with that (obsolete)
kernel, you'd have to install the matching (obsolete) kernel-devel.

Also, the NTFS reference for CentOS users can be found at:

http://wiki.centos.org/TipsAndTricks/NTFS

Hope this helps,
Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.3 and NTFS

2009-06-27 Thread Alan McKay
> Can you see that your kernel-devel (2.6.18-128.1.14) is newer than
> your running kernel (2.6.18-128) ?

No, that was not obvious to me

> I strongly suggest that you run 'yum update' and get the latest kernel
> and reboot.

OK, will do.

thanks

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


Re: [CentOS] CentOS 5.3 and NTFS

2009-06-27 Thread Dag Wieers

On Sat, 27 Jun 2009, Alan McKay wrote:


The fuse module is built by dkms.  Make sure you have the kernel devel
package that *matches* your running kernel.  What is the output of:

uname -mr

and

rpm -qa kernel\* | sort


[r...@localhost ~]# uname -mr
2.6.18-128.el5 i686

[r...@localhost ~]# rpm -qa kernel\* | sort
kernel-2.6.18-128.el5
kernel-devel-2.6.18-128.1.14.el5
kernel-headers-2.6.18-128.1.14.el5

OK, what next?


Make sure your kernel and your kernel-devel versions match:

2.6.18-128.el5
and 2.6.18-128.1.14.el4

are not the same version. You can have more than one kernel and more than 
one kernel-devel package installed at the same time.


But what is far the easiest solution is to head over to the elrepo 
repository at:


http://elrepo.org/linux/elrepo/el5/i386/RPMS/

and then download the package for your kernel:


http://elrepo.org/linux/elrepo/el5/i386/RPMS/kmod-fuse-2.7.4-1.el5.elrepo.i686.rpm

Install that by doing, eg.

rpm -Uhv 
http://elrepo.org/linux/elrepo/el5/i386/RPMS/kmod-fuse-2.7.4-1.el5.elrepo.i686.rpm

and all should be fine. No need for dkms, dkms-fuse, kernel-devel, 
kernel-headers or a compiler. I recommend it nowadays over any dkms 
packages.


Good luck and please report back !
--
--   dag wieers,  d...@centos.org,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.3 and NTFS

2009-06-27 Thread Alan McKay
> But what is far the easiest solution is to head over to the elrepo
> repository at:

> Good luck and please report back !

Thanks again.  Already started the yum update so if that does not take
care of it then I will try that other stuff.

Will let you know how it goes

cheers,
-Alan


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


Re: [CentOS] CentOS 5.3 and NTFS

2009-06-27 Thread Dag Wieers
On Sun, 28 Jun 2009, Dag Wieers wrote:

> No need for dkms, dkms-fuse, kernel-devel, kernel-headers or a 
> compiler. I recommend it nowadays over any dkms packages.
>
> Good luck and please report back !

I just noticed that my email client (alpine) was still configured to use 
the centos.org email-address for sending mail to centos mailing lists.

This was by accident, I have now disabled that feature.

Sorry for any confusion,
-- 
--   dag wieers,  d...@wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SOLVED: CentOS 5.3 and NTFS

2009-06-27 Thread Alan McKay
Bingo!

The yum update took care of it.

Oddly enough, until I started my new job 2 months ago I'd always been
in the habit of running 'yum -y update' first thing after installing
Fedora or CentOS.  But the product software we develop does not like
that very much so I got out of the habit very quickly after blowing up
a machine by doing that :-/   Fortunately it was not a production box.

But I do recall actually that I'd done it on my desktop at one point
shortly after starting.

Thanks all!

I'm going to probably re-install my own Vista box here at home with
Centos 5.3 64 bit, so I'll try the other method on it.   Um, maybe
something for a whole new thread, but does CentOS support eSATA?  My
desktop at home here has a port for it, and the USB drive in question
does eSATA as well.  Makes it S much faster when connected to my
box!


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