Re: [CentOS] Transferring system to new drive

2010-09-14 Thread Gabriel Rosca
What about doing all with dd ... If you have the second disk installed in
the same machine you can do dd if=/dev/sda of=/dev/sdb ort you can use
clonezilla is a live cd .

Gabe


On 9/14/10 8:12 AM, Timothy Murphy gayle...@eircom.net wrote:

 
 Is there a document with instructions for this?
 I've had smartd warnings that a hard disk in my server is sick,
 so I am installing a new drive (in addition to the old).
 
 I was thinking of copying the old root partition with
 sudo cp -a -P /* /mnt/hd
 (after mounting the prospective new root partition).
 Then I'd have to modify the new /etc/fstab .
 
 Is that a sensible approach?


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


Re: [CentOS] How Do I ...

2010-04-14 Thread Gabriel Rosca
You can go to /etc/sysconfig/network-scripts , edit and move  around
ifcfg-ethX files

 

 

Gabe

 

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of gene.po...@macys.com
Sent: Wednesday, April 14, 2010 10:59 AM
To: centos@centos.org
Subject: [CentOS] How Do I ...

 

All, 

I've got a machine running CentOS 5.3 and this machine has got 2 - built-in
1 Gig NICs and a expansion card with 4 - 100 Meg NICs.  For whatever reason
at install time, it made the expansion card eth0 through eth3 and the
internal ports eth4 and eth5. And by default the 'machine' is known on the
network by the eth0 NIC, so my throughput is limited to 100 Mb.  How can I
force the internal NICs to be eth0 and eth1? 

Thanks,
Gene Poole

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


Re: [CentOS] Backup server

2010-01-13 Thread Gabriel Rosca
I like better Bacula ... 

Personal I have Bacula ... configure to backup mac, windows, and linux
servers ...


Gabe 

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Sorin Srbu
Sent: Wednesday, January 13, 2010 9:53 AM
To: 'CentOS mailing list'
Subject: Re: [CentOS] Backup server

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf
Of Alan McKay
Sent: Wednesday, January 13, 2010 3:01 PM
To: CentOS mailing list
Subject: Re: [CentOS] Backup server

BackupPC over here - very happy with it for Linux and Windoze, at home 
and
work

My google searches would have me believe that Amanda is the more popular
choice for backup on linux. On this list it seems Backuppc is. Strange...
;-)
--
/Sorin

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


Re: [CentOS] Backup server

2010-01-13 Thread Gabriel Rosca
They have open source
 
www.bacula.org


Gabe

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Sorin Srbu
Sent: Wednesday, January 13, 2010 10:20 AM
To: 'CentOS mailing list'
Subject: Re: [CentOS] Backup server

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf
Of Gabriel Rosca
Sent: Wednesday, January 13, 2010 4:09 PM
To: 'CentOS mailing list'
Subject: Re: [CentOS] Backup server

I like better Bacula ...

Personal I have Bacula ... configure to backup mac, windows, and linux 
servers ...

Isn't Bacula payware?
--
/Sorin

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


Re: [CentOS] Monitoring Dynamic IPs using Some network monitoring tool

2009-12-21 Thread Gabriel Rosca
I personal use zabbix ... On all the servers ( Windows, Linux ) with dynamic
IP I use dyndns ... 


Gabe

www.techshrinks.com


-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Rajagopal Swaminathan
Sent: Monday, December 21, 2009 8:50 AM
To: CentOS mailing list
Subject: [CentOS] Monitoring Dynamic IPs using Some network monitoring tool

Greetings,

I have one centos server for network monitoring.

there are remote devices which are connected through ADSL lines and
hence Dynamic IPs

Q1. Is there any tool which is capable of handling this type of situation?
Q2. Is there a workaround for this problem

Regards

Rajagopal
___
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] Linux router with CentOS

2009-12-09 Thread Gabriel Rosca
you can take a look at SYSWAN SW24 10/100Mbps Dual WAN Load Balancer 


Gabe

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Alan McKay
Sent: Wednesday, December 09, 2009 8:03 PM
To: CentOS mailing list
Subject: Re: [CentOS] Linux router with CentOS

just download one of the firewall distros that have the built in

pfSense (FreeBSD) or IPCop (Linux) are the first 2 to mind.
ClarkConnect is another good one though it may have limited
functionality without paying, I don't know for sure.   But we paid for
it at work and it works really well for doing that.


-- 
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

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


Re: [CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

2009-11-14 Thread Gabriel Rosca
I personal use Zimbra ... is a good open source email server.


Thank you,
Gabe

www.techshrinks.com


-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Eugeneapolinary Ju
Sent: Friday, November 13, 2009 4:56 PM
To: centos list
Subject: [CentOS] smtp+pop3+imap+tls+webmail+anti spam+anti virus

hi!

does anyone has a good howto, docs how to set up an smtp, pop3, imap server,
with webmail, and has anti virus solution, and even spam filtering? :D [plus
secure connection for the clients :D ]

wich softwares are the best for this? [e.g.: vsftpd is the most secure ftp
server..]

users would be from /etc/passwd [so not virtual users]

thank you!

p.s.: I've already googled :( :\


  
___
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] mysqld not starting on reboot

2009-11-10 Thread Gabriel Rosca
maybe  chkconfig mysqld on  will help 

 

Gabe

 

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Victor Subervi
Sent: Tuesday, November 10, 2009 10:00 AM
To: CentOS mailing list
Subject: [CentOS] mysqld not starting on reboot

 

Hi;
I installed mysql using yum, so I have an /etc/init.d/mysqld file. For some
reason, however, mysqld doesn't boot on reboot of the machine. Please
advise.
TIA,
Victor

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


Re: [CentOS] rsync

2009-09-03 Thread Gabriel Rosca

Try this ... On your script ...

/usr/bin/rsync -avzh  -e ssh -i /home/user/.ssh/auth-key
ch...@remotehost:/var/www/html /backup/html



Gabe


On 9/3/09 4:06 PM, chloe K chloekcy2...@yahoo.ca wrote:

 Hi
  
 I put the rsync in cronjob
 but it won't work
  
 in root user cron
  
 */30  * * * *  /home/chloe/rsy.sh /dev/null 21
  
 1/ why it needs pw when I run this rsy.sh in root?
 but if I run it in chloe user, it doesn't need pw as I put authoized_key in
 remote host chloe
  
 2/ why this root cronjob is not working? what wrong? I can't see this cron in
 message
  
 the rsy.sh is below
  
 #! /bin/sh
 rsync -essh -av ch...@remotehost:/var/www/html
 mailto:ch...@remotehost:/var/www/html  /backup/html
  
 Thank you
 
  
 
 Ask a question on any topic and get answers from real people. Go to Yahoo!
 Answers. http://ca.answers.yahoo.com
 
 ___
 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] server mirroring how to

2009-08-01 Thread Gabriel Rosca
Take a look at drbd and heatbeat for this.



Best regards,
Gabriel Rosca

www.genxvoip.com

2009/8/1 fabian fab...@baladia.gov.kw

 Dear All,

 I have the following setup which is the heart of our organistion and runs
 the following for a long time

 Centos 5.0 server which is used as a

 Primary Mailserver  running sendmail about 400 users
 mailScanner
 Primary DNS server using bind
 Webserver running apache
 squirrel mail  web server

 i also do have a another centos secondary DNS server and same machine used
 as my secondary mail server with no mail users

 Currently i have been following a little crude way of backup
 i shut down the Primary machine and I use clone Gozilla to make a
 duplicate of the original disk and keep it standby

 i do it weekly basis which is really a crude way

 i am jus googling arround for a solution in where i could have online
 mirroring of another machine

 i could have an identical hardware machine which could be running online
 so if the first machine fails the second one is avaliable instantly

 also if i create a new user or a new mail user ther user is replicated on
 both machine

 if i upgraded or install any software on one machine it is replicated on
 the other automaticalu..
 so we have total redundancy

 can it be done

 i was googling arround and actually found linux heartbeat but could not
 really get the hang of it.
 to my understanding heartbeat works on service which one would like to
 mirror but for me i would like disk mirroring on different servers

 any body has done the above
 apprecite your advice and help


  regards

 fabian




 --
 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Conga Ricci Luci Add a Virtual Service tab missing or disabled

2009-06-29 Thread Gabriel Rosca
Hi guys ... I have a problem ...

here is my settup


  luci

xen0 xen1

[r...@xen1 ~]# clustat
Cluster Status for XEN_Cluster @ Mon Jun 29 03:31:23 2009
Member Status: Quorate

 Member Name ID   Status
 --   --
 xen0.genx.local 1
Online
 xen1.genx.local 2
Online, Local

I can migrate live ... domU between the 2 xen`s ... my problem is ... in the
Luci I don`t have the

Add a Virtual Service

I have no idea how I enable that 

Here is my cluster.conf


?xml version=1.0?
cluster alias=XEN_Cluster config_version=4 name=XEN_Cluster
fence_xvmd/
fence_daemon clean_start=0 post_fail_delay=0
post_join_delay=3/
clusternodes
clusternode name=xen0.genx.local nodeid=1 votes=1
fence/
/clusternode
clusternode name=xen1.genx.local nodeid=2 votes=1
fence/
/clusternode
/clusternodes
cman expected_votes=1 two_node=1/
fencedevices/
rm
failoverdomains
failoverdomain name=Boss_Xen0 nofailback=0
ordered=1 restricted=0
failoverdomainnode name=xen0.genx.local
priority=1/
failoverdomainnode name=xen1.genx.local
priority=10/
/failoverdomain
failoverdomain name=Boss_Xen1 nofailback=0
ordered=1 restricted=0
failoverdomainnode name=xen0.genx.local
priority=10/
failoverdomainnode name=xen1.genx.local
priority=1/
/failoverdomain
/failoverdomains
resources/
/rm
/cluster

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


[CentOS] Conga Luci Add a virtual Service is missing

2009-06-29 Thread Gabriel Rosca
Hi there.

I have 2 days trying to resolve this issue ...



I have 2 xen servers in cluster ... and I installed Luci on another server
separate from the 2 xen servers.

I created a cluster ... I create a failed over domain 

I did migration and live migration from a dom0 to another ...

My problem is  I don`t have Add a virtual Service tab to add A VM as a
cluster service  ...



[r...@xen1 ~]# clustat

Cluster Status for XEN_Cluster @ Mon Jun 29 11:29:33 2009

Member Status: Quorate



 Member Name ID   Status

 --   --

 xen0.genx.local 1
Online

 xen1.genx.local 2
Online, Local



my cluster.conf



?xml version=1.0?

cluster alias=XEN_Cluster config_version=4 name=XEN_Cluster

fence_xvmd/

fence_daemon clean_start=0 post_fail_delay=0
post_join_delay=3/

clusternodes

clusternode name=xen0.genx.local nodeid=1 votes=1

fence/

/clusternode

clusternode name=xen1.genx.local nodeid=2 votes=1

fence/

/clusternode

/clusternodes

cman expected_votes=1 two_node=1/

fencedevices/

rm

failoverdomains

failoverdomain name=Boss_Xen0 nofailback=0
ordered=1 restricted=0

failoverdomainnode name=xen0.genx.local
priority=1/

failoverdomainnode name=xen1.genx.local
priority=10/

/failoverdomain

failoverdomain name=Boss_Xen1 nofailback=0
ordered=1 restricted=0

failoverdomainnode name=xen0.genx.local
priority=10/

failoverdomainnode name=xen1.genx.local
priority=1/

/failoverdomain

/failoverdomains

resources/

/rm

/cluster





 [r...@xen0 ~]# service cman restart
Stopping cluster:
   Stopping virtual machine fencing host... done
   Stopping fencing... done
   Stopping cman... done
   Stopping ccsd...
done
   Unmounting configfs... done
   [  OK  ]
Starting cluster:
   Loading modules... done
   Mounting configfs... done
   Starting ccsd... done
   Starting cman...
done
   Starting daemons... done
   Starting fencing... done
   Starting virtual machine fencing host... done
   [  OK  ]



Now I have no idea how to enable virtual service or what I am missing ...



Thank you

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