[e-smith-devinfo] [draft] RAID monitor HowTo

2001-09-14 Thread Darrell May


Here is a simple script I found for monitoring changes to a RAID array.  
Checks every 15 minutes (user defined) and e-mails the root user if any 
change occurs.

http://myezserver.com/docs/mitel/raid-monitor-howto.html

Anyone with a RAID array on a test server want to give this a try?  If I 
understand this correctly it should work with any array, either IDE,SCSI 
or H/W,S/W.  For a 'real' test, perform the HowTo steps, then power down, 
disconnect a drive, power up and you should get a report e-mailed 15 
minutes later.  Next power down, reconnect the drive, power up, issue the 
correct 'raidhotadd /dev/mdX /dev/sdX' command to rebuild and every 15 
minutes you should get a message showing the rebuild progress 
until /proc/mdstat returns to it's original state.  Again, this is all if 
I understand this correctly.  No RAID system to test myself at the moment.

Comments/suggestions welcomed :)

-- 
Darrell May
DMC NETSOURCED.COM
http://netsourced.com


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] iwill SIDE-RAID controller

2001-09-14 Thread Graeme Robinson

Sasha - this is an experienced user forum question, not a development question.

A number of IDE RAID controllers are supported by e-smith.  I have had 
great success with the 3ware Escalade  6400 which is recognised by the 
kernel at install time, and has an excellent monitoring tool that emails 
you when a disk dies and is configurable by a web manager (not part of the 
e-smith manager).

At 12:14 AM 14/09/2001 +0200, Sasha Malic wrote:
>Has anyone used the iwill SIDE-RAID controller with e-smith 4.1.2?
>
>This card uses the High Point HPT370 IDE RAID controller chip.
>
>I can access drives connected to the card, but only by booting a
>pre-installed e-smith connected to the MB IDE port and loading the hpt370.o
>module.
>The partition can then be mounted as normal.
>
>However, trying to install a fresh e-smith with the primary drive connected
>to the card results in the installation not finding a drive to install to.
>
>Connecting a pre-installed HDD to the card and then booting results in a
>kernel panic, just after the Linux SCSI drivers initialise in the boot
>process.
>
>Has anyone found a workaround to using such a card ? I believe the Adaptec
>IDE RAID controller has a similar problem.
>
>What IDE RAID controller is supported by e-smith for a standard install ?
>
>Regards
>Sasha Malic
>
>
>--
>Please report bugs to [EMAIL PROTECTED]
>Please mail [EMAIL PROTECTED] (only) to discuss security issues
>Support for registered customers and partners to [EMAIL PROTECTED]
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] RAID 1

2001-09-14 Thread Graeme Robinson

With software RAID (or indeed any RAID formation) I strongly recommend you 
break the RAID and re-add it at install time (both disks for thoroughness) 
so you know what to do when it happens.   Just power down and disconnect 
power and cable from one of the disks, reconnect power & make sure it boots 
to the second disk, then re-add it using the HOWTO (or the hardware RAID 
controller bios in the case of hardware RAID).   It's good to practice 
'cause you might overlook something, particularly correct boot order 
operation with software RAID.

At 12:30 AM 14/09/2001 +, Darrell May wrote:

>[EMAIL PROTECTED] said:
>
> > In case of a drive failure in e-smith software raid 1 what would be the
> > procedure to restore the system back to normal.  Anybody has a How to?
>
>Found this document:
>
>http://www.linuxdoc.org/HOWTO/Software-RAID-HOWTO.html
>
>Which states in Chapter 6:
>--
>- Power down the system
>- Replace the failed disk
>- Power up the system once again.
>- Use raidhotadd /dev/mdX /dev/sdX to re-insert the disk in the array
>
>Have coffee while you watch the automatic reconstruction running and
>that's it.
>--
>
>I believe /proc/mdstat may show the activity.  I've not tried this
>myself.  If anyone has a test system, using software RAID ready to go,
>how about giving this a try and reporting back your results :)
>
>Regards,
>
>--
>Darrell May
>DMC NETSOURCED.COM
>http://netsourced.com
>
>--
>Please report bugs to [EMAIL PROTECTED]
>Please mail [EMAIL PROTECTED] (only) to discuss security issues
>Support for registered customers and partners to [EMAIL PROTECTED]
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Program on startup

2001-09-14 Thread Jaime Nebrera

  Hi all,

  We have finished e-smith monitor 2.0-00 but have found a couple of
problems that retain us from releasing the code.

  As I have said, this new version runs as a daeom and we want to add it in
the startup process. We have added the corresponding link in
/etc/init.d/rc7.d but we have been told that e-smith remakes that directory
after an update so we will loose the link :( How should we do it in a ESGS
way?

  Also, the daemon produces a core file when stopped with the TERM signal.
If you stop it manually the daemon stops right (we use HUP signal) but in a
shutdown it doesn't work. What are we doing wrong?

  Thanks for your help.

  Regards.


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] RAID 1

2001-09-14 Thread Dan York

[EMAIL PROTECTED] wrote:
 
> In case of a drive failure in e-smith software raid 1 what would be the
> procedure to restore the system back to normal.  Anybody has a How to?

I have a HOWTO in the queue on precisely this subject.  I have been
working on getting V5 docs out the door, and post-V5 am planning to
attack the queue of things that need HOWTOs but since the question
has been asked, I'll see what I can do to get this one out sooner
versus later.

Regards,
Dan

-- 
Dan York, Director of Training[EMAIL PROTECTED]
Ph: +1-613-751-4401 Cell: +1-613-263-4312 Fax: +1-613-564-7739 
Mitel Network Corporation Network Server Solutions Group 
150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/http://www.mitel.com/   

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Failover for Mission Critical Enviroment

2001-09-14 Thread Brandon Friedman


I have a client looking to setup a mission critical email server (SME server of 
course!) with failover support (extended mirroring). Has anybody setup a SME server 
like this? Using what software (Veritas, Legato etc???)

-- 
Regards
Brandon Friedman
Product Manager

Tech-Knowledgy Advantage
Ph:  +27 (011) 486-0626
Fax: +27 (011) 486-0629
Cell: +27 (083) 408-7840
E: [EMAIL PROTECTED]
www.techknowledgy.co.za
PO Box 1909, Houghton, 2041 South Africa
No. 1 Mowbray Road, Greenside, Johannesburg, South Africa



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] Make Utils & E-Smith.

2001-09-14 Thread Hazen Valliant-Saunders

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ok, 
I've seen many a site stating that you can make Perl packages. 
however there aren't any make utils installed.  I remember Dan York
was kind enough to provide me with a link to the appropriate how-to. 
I've been searching e-smith and I haven't been able to find it.  so
if anyone could help I'd appreciate it.

Thank you for your time.
Hazen Valliant-Saunders
Potentia Telecom Power 
(613) 592-7271

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use 
Comment: Please send messages in plain text.

iQA/AwUBO/KMdysa6rtUgey1EQL6xACfeOhp9H/iefBiw07yslxYVD0HuRsAn1e8
Nbr8Elpj46e++7mpFQfm1NlE
=jYPS
-END PGP SIGNATURE-


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




[e-smith-devinfo] DRAFT of a RAID recovery HOWTO

2001-09-14 Thread Dan York

devinfo folks,

As I mentioned, Peter Samuel sent me some instructions some time
ago for a RAID recovery HOWTO... I just took a quick look at them
and posted the info with a note that it is a draft form (i.e. the
development team has not had a chance to verify this process and
will not have a chance to do so until post-5.0).  With that in mind,
it is at:

  http://www.e-smith.org/docs/howto/RAID-recovery-howto.html

Comments and feedback are welcome.  Particularly, I would be interested 
in having someone send me a /proc/mdstat file from a *broken*
system for me to show in Step 5.  (I do not currently have any
software RAID1 systems available where I can break it and get
the info myself.)

Regards,
Dan

-- 
Dan York, Director of Training[EMAIL PROTECTED]
Ph: +1-613-751-4401 Cell: +1-613-263-4312 Fax: +1-613-564-7739 
Mitel Network Corporation Network Server Solutions Group 
150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/http://www.mitel.com/   

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] DRAFT of a RAID recovery HOWTO

2001-09-14 Thread Darrell May


Dan York <[EMAIL PROTECTED]> said:

> devinfo folks,
> 
> As I mentioned, Peter Samuel sent me some instructions some time
> ago for a RAID recovery HOWTO... I just took a quick look at them
> and posted the info with a note that it is a draft form (i.e. the
> development team has not had a chance to verify this process and
> will not have a chance to do so until post-5.0).  With that in mind,
> it is at:
> 
>   http://www.e-smith.org/docs/howto/RAID-recovery-howto.html

Hi Dan.  Thanks for rushing ths HowTo.

I have not had an opportunity to verify or test your HowTo.  With this in 
mind, from reading many online Howto's, I have not found any other 
reference that suggests the hard drive must be prepared prior to running 
the raidhotadd command.

Have you confirmed the hdd must be prepared with fdisk prior to running 
the raidhotadd command?

FYI, I'm going to build a RAID system this weekend and do some testing 
myself.

Regards,

-- 
Darrell May
DMC NETSOURCED.COM
http://netsourced.com



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Program on startup

2001-09-14 Thread Jaime Nebrera

  Hi all,

  I respond myself :) I searched the list database before posting the
question but now a colister has sent me part of the solution :) that was in
a email I didn't see.

>You create an e-smith-3dm RPM which contains a conf-3dm-startup script,
>which is linked into the post-upgrade and post-install event directories.

  This will solve the startup process, but how about the shutdown process?

  Regards


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Make Utils & E-Smith.

2001-09-14 Thread Dan York

Hazen,

>   I've seen many a site stating that you can make Perl packages. 
> however there aren't any make utils installed.  I remember Dan York
> was kind enough to provide me with a link to the appropriate how-to. 

Well, there is a HOWTO on building contrib modules:

  http://www.e-smith.org/docs/howto/building-contribs.php3

and there is the perldoc documentation:

  http://www.e-smith.org/docs/perldoc/

But I do not know that we have anything about using "make" in
a specific HOWTO document.

If you want to install 'make', just grab the Red Hat RPM off of 
a Red Hat 7.0 CD (or via http://www.rpmfind.net/ or 
ftp://ftp.redhat.com/ ).  The version I have on my Red Hat 7.0
system is make-3.79.1-3.i386.rpm

Actually, see:

  http://www.rpmfind.net/linux/rpm2html/search.php?query=make

for an RPM to download and install.

Regards,
Dan

-- 
Dan York, Director of Training[EMAIL PROTECTED]
Ph: +1-613-751-4401 Cell: +1-613-263-4312 Fax: +1-613-564-7739 
Mitel Network Corporation Network Server Solutions Group 
150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/http://www.mitel.com/   

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] DRAFT of a RAID recovery HOWTO

2001-09-14 Thread Dan York

Darrell,

> >   http://www.e-smith.org/docs/howto/RAID-recovery-howto.html
> 
> Hi Dan.  Thanks for rushing ths HowTo.
 
No problem... I had it here almost ready to go. It literally only took
me about 15 minutes to finish up.

> Have you confirmed the hdd must be prepared with fdisk prior to running 
> the raidhotadd command?

I have not personally confirmed this, but I am not sure how else you 
would tell it which partitions to use.  I am not aware that raidhotadd
actually does partitioning... but it might.

> FYI, I'm going to build a RAID system this weekend and do some testing 
> myself.

Great!  I look forward to hearing your results.

Dan
-- 
Dan York, Director of Training[EMAIL PROTECTED]
Ph: +1-613-751-4401 Cell: +1-613-263-4312 Fax: +1-613-564-7739 
Mitel Network Corporation Network Server Solutions Group 
150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/http://www.mitel.com/   

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Program on startup

2001-09-14 Thread Smith, Jeffery S \(Scott\)

> -Original Message-
> From: Jaime Nebrera [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 14, 2001 12:28 PM
> Subject: RE: [e-smith-devinfo] Program on startup
> 
> 
> 
> >You create an e-smith-3dm RPM which contains a 
> conf-3dm-startup script,
> >which is linked into the post-upgrade and post-install event 
> directories.
> 
>   This will solve the startup process, but how about the 
> shutdown process?

I think you have misunderstood. The purpose of conf-*-startup script is to
create a link in /etc/rc.d/rc7.d to the script in /etc/rc.d/init.d that
handles the startup whenever post-upgrade is run. This is needed since
post-upgrade first removes everything from the /etc/rc.d/rc7.d directory.

Take a look at my dns2go howto for an example of this. I did not create an
RPM or the event scripts to support this, but you'll see what is needed. For
example, I might create conf-dns2go-startup, which would link
/etc/rc.d/init.d/dns2go to /etc/rc.d/rc7.d/S45dns2go. That is all that the
conf-dns2go-startup script would have to do.

The handling of the startup/shutdown code is handled by the script in
/etc/rc.d/init.d -- by way of the start, stop, restart, etc, options. Take a
look at /etc/rc.d/init.d/ntpd for a relatively simple example.

Hope this helps,

Scott

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Make Utils & E-Smith.

2001-09-14 Thread Smith, Jeffery S \(Scott\)

> -Original Message-
> From: Dan York [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 14, 2001 1:04 PM
> Subject: Re: [e-smith-devinfo] Make Utils & E-Smith.
> 
> 
> But I do not know that we have anything about using "make" in
> a specific HOWTO document.
> 
> If you want to install 'make', just grab the Red Hat RPM off of 
> a Red Hat 7.0 CD (or via http://www.rpmfind.net/ or 
> ftp://ftp.redhat.com/ ).  The version I have on my Red Hat 7.0
> system is make-3.79.1-3.i386.rpm
> 
> Actually, see:
> 
>   http://www.rpmfind.net/linux/rpm2html/search.php?query=make
> 
> for an RPM to download and install.


Expanding on this, if you can find the perl modules in RPM form then you
don't need make at all. I was stumped by this at first (not being a
perl-ite!) and proceeded to seek out make, until someone with the initials
CB pointed out that I could find the RPM in install that instead. Much
easier for an e-smith system, which doesn't have make.

Scott

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Failover for Mission Critical Enviroment

2001-09-14 Thread Brandon Friedman


I am looking to have 2 identical servers, runing insync - if one fails the 
other will take over until the second server is restored!


jose velez <[EMAIL PROTECTED]> said:

> I was looking for a cluster solution to e-smith.  There is an article in 
Sys Admin Sept 2001 issue about a High Availability File server using a 
software to check the heartbeat.  They use 2 servers each with a hard drive to
> boot the OS and they share an external SCSI array.  The heartbeat software 
can be download from www.linux-ha.org.  The other problem would be to add a 
second volume or drive to e-smith
> 
> I have used in the past an external array called ARENA which has a 486CPU  
for the array.  All the drives are ide and has external scsi port.  The raid 
can be raid 0, 1 or 5 and has redundant P.S.  You could connect this
> box to any cpu and have a spare cpu box and manually change the scsi cable 
in case of failure.
> 
> TZO.com also has a service that in case your server is down they save your 
emails until the server comes back online.  I talk to them to increase the 
storage capacity over the 10MB
> 
> 
> Brandon Friedman wrote:
> 
> > I have a client looking to setup a mission critical email server (SME 
server of course!) with failover support (extended mirroring). Has anybody 
setup a SME server like this? Using what software (Veritas, Legato etc???)
> >
> > --
> > Regards
> > Brandon Friedman
> > Product Manager
> >
> > Tech-Knowledgy Advantage
> > Ph:  +27 (011) 486-0626
> > Fax: +27 (011) 486-0629
> > Cell: +27 (083) 408-7840
> > E: [EMAIL PROTECTED]
> > www.techknowledgy.co.za
> > PO Box 1909, Houghton, 2041 South Africa
> > No. 1 Mowbray Road, Greenside, Johannesburg, South Africa
> >
> > --
> > Please report bugs to [EMAIL PROTECTED]
> > Please mail [EMAIL PROTECTED] (only) to discuss security issues
> > Support for registered customers and partners to [EMAIL PROTECTED]
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-
smith.org
>

-- 
Regards
Brandon Friedman
Product Manager

Tech-Knowledgy Advantage
Ph:  +27 (011) 486-0626
Fax: +27 (011) 486-0629
Cell: +27 (083) 408-7840
E: [EMAIL PROTECTED]
www.techknowledgy.co.za
PO Box 1909, Houghton, 2041 South Africa
No. 1 Mowbray Road, Greenside, Johannesburg, South Africa


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Failover for Mission Critical Enviroment

2001-09-14 Thread Womack, Eric

My colleagues and I have been looking at this for a while and have yet to
find an automated solution.  At the moment (on one location) we are running
a ESSG in server/gateway mode and using the built in RAID1 option.  For bulk
data, a separate machine with a RAID5 array (using a 3ware 6800) is mounted
at the appropriate location.  For backups, a remote, offsite, machine does a
dual RSYNC backup (one a complete from "/" the other a snapshot of
"/home/..." and "/etc/..." for each day of the week) every night.  My goal
is to create a mirror of the server/gateway to handle fail over.

If you want to go with a combo load balancing/fail over, some DNS providers
allow for 2 entries for the same host name.  The load balancing is somewhat
arbitrary, and the fail over takes place in the sense that if one IP cannot
be reached then the other is tried.  I have not tried this method as it does
not fit into the final design of what I am trying to create.

Eric

-Original Message-
From: Brandon Friedman [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 14, 2001 7:43 AM
To: [EMAIL PROTECTED]
Cc: e-smith devinfo
Subject: Re: [e-smith-devinfo] Failover for Mission Critical Enviroment



I am looking to have 2 identical servers, runing insync - if one fails the 
other will take over until the second server is restored!

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Failover for Mission Critical Enviroment

2001-09-14 Thread Darrell May


Brandon Friedman <[EMAIL PROTECTED]> said:

> 
> I am looking to have 2 identical servers, runing insync - if one fails
> the other will take over until the second server is restored!

Ok, I'm curious.  Where may I find info on insync?

-- 
Darrell May
DMC NETSOURCED.COM
http://netsourced.com



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] RAID 1

2001-09-14 Thread Trevor Ouellette

I will try it out this weekend.

Trev.

> -Original Message-
> From: Darrell May [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 13, 2001 6:30 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [e-smith-devinfo] RAID 1
>
>
>
> [EMAIL PROTECTED] said:
>
> > In case of a drive failure in e-smith software raid 1 what would be the
> > procedure to restore the system back to normal.  Anybody has a How to?
>
> Found this document:
>
> http://www.linuxdoc.org/HOWTO/Software-RAID-HOWTO.html
>
> Which states in Chapter 6:
> --
> - Power down the system
> - Replace the failed disk
> - Power up the system once again.
> - Use raidhotadd /dev/mdX /dev/sdX to re-insert the disk in the array
>
> Have coffee while you watch the automatic reconstruction running and
> that's it.
> --
>
> I believe /proc/mdstat may show the activity.  I've not tried this
> myself.  If anyone has a test system, using software RAID ready to go,
> how about giving this a try and reporting back your results :)
>
> Regards,
>
> --
> Darrell May
> DMC NETSOURCED.COM
> http://netsourced.com
>
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and
http://www.mail-archive.com/devinfo%40lists.e-smith.org



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Make Utils & E-Smith.

2001-09-14 Thread Gordon Rowell

On Fri, Sep 14, 2001 at 01:04:18PM -0400, Dan York <[EMAIL PROTECTED]> wrote:
> [...]
> But I do not know that we have anything about using "make" in
> a specific HOWTO document.
> [...]

However, we do have a FAQ item about development tools:

http://www.e-smith.org/faq/#8q7

Gordon
--
  Gordon Rowell[EMAIL PROTECTED]
  VP Engineering
  Network Server Solutions Group   http://www.e-smith.com
  Mitel Networks Corporation   http://www.mitel.com


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] DRAFT of a RAID recovery HOWTO

2001-09-14 Thread Filippo Carletti

> Have you confirmed the hdd must be prepared with fdisk prior to running
> the raidhotadd command?

I can confirm that you must partition the new hard disk like the other disk
in the array.
Linux soft raid works at partition level, you could mirror two partition on
the same disk (only for test purposes).

And raidhotadd must be run for every partition (one immediately following
the other, kernel serializes reconstruction):

raidhotadd /dev/md0 /dev/hdc1
raidhotadd /dev/md1 /dev/hdc5
...

I've some system using RAID1 in production since years, I did many
"rebuilding tests" at the time when RAID 0.90 was being developed.
And, once, I had to change an hd that broke for real.

I can add that the new hd could be different from the old one (if that model
is no longer available), only partition table matters.
One more thing to pay attention to is hd geometry. After first power on with
new unpartitioned hd, geometry will probably be LBA and if the other hd is
CHS, it will be difficult (read impossible) to set up identical partition
table. The solution involves specifing geometry at boot time
(hdc=1234,16,16), partitioning and rebooting. The kernel will derive correct
geometry from PTBL.

The only test I have not repeated recently is to disconnect first IDE hd
(hda) and try booting the machine.
Before the release of the RAID1 aware lilo version you had to do some tricks
with lilo.conf and boot partitions.

Ciao,
Filippo



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org