LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-11-2015, 01:52 AM   #1
paramont
LQ Newbie
 
Registered: May 2015
Posts: 4

Rep: Reputation: Disabled
Exclamation server guard


hi everybody,

I have two server with SLES 11 operating system same as together, one of then in first data center and it's active, another is standby server and it's on the other data center, there are connected with fiber.
I want make a guard, when I touch a file or other operation on active server at the moment this file created on the standby server, Somehow similar to work oracle guard standby server.
HOW CAN I DO THIS?

thanks a lot,
 
Old 05-11-2015, 10:33 AM   #2
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
Once you mentioned "active" and "standby", you mean some clusterware will be used.
Once you mentioned fiber, you mean some storage will be used.

Replica to DR site can be done by storage or host.
Storage may replicate data by their own protocol.
Host can do mirroring between local LUN to remote using LVM or mdadm.
DRBD may be interesting solution replication storage by host.

I have no experience with SuSE to recommend you working examples,
however you welcome check my RedHat examples:
RedHat 6 (metro) HA cluster; LVM way + MD way
Building RedHat 6 Cluster with DRBD
 
1 members found this post helpful.
Old 05-11-2015, 11:27 PM   #3
paramont
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Exclamation Server guard

Hi Voleg

Thanks for your answer, about active/standby is true and I want to deploy this,
but when I was talked about Fiber, It means active server is at the first data center and standby server at the mirror data center, this two site connected together with fiber, I don't have storage and I want just replicate Operating system.
for example at active server I touch the file on local Hard disk, at the moment this file created on the standby server,
Attached Thumbnails
Click image for larger version

Name:	111.png
Views:	14
Size:	11.5 KB
ID:	18423  
 
Old 05-12-2015, 01:45 AM   #4
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
You can replicate OS disk in case that server is kind of VM,
then you can replicate it's kind of VMDK by host OS.

Fiber channel protocol is protocol designed for storage. What you say fiber, it probably still mean TCP/IP over optical (fiber) link. Then DRBD is for you.

Create VM on one site and replicate it's disks to other site.
 
Old 05-12-2015, 04:27 AM   #5
paramont
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Sorry, I was mistaken, two data center connected over TCP.
I don't want to use VMDK, I need application such as rsync but rsync is not resolve my problem due to the fact that, this is need to configure crontab. when a block of disk at active server is change at the moment same block at standby server so change automatically.
Did you know how to work oracle guard standby . active server in oracle solution named RAC, at the RAC we have Archive log which included all transaction such as insert, delete, update and etc., archive logs is a file and have a maximum size such as 500MB, when its full size this file open new archive log and send last archive log to the Guard and archive log opens then play all transaction on the guard server, after that all data same together.
I want deploy same this plan on the Operating system.
 
Old 05-12-2015, 06:52 AM   #6
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
Oracle standby DB does not really run, it can be used in limited RO mode.
It only apply redologs.

If you want do same functionality for OS disks, this mean that OS cannot run.
Something out of OS should apply "redologs" to disk image on block level.

This bring us to VM solution. Hosting OS roll forward VMDK files, that changing on
primary site. If you do not want VMDK, you can use any other VM solution.
But you have to roll forward disk images out of quest OS that should be powered off during updates.
 
Old 05-12-2015, 07:58 AM   #7
paramont
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
thanks Voleg but I didn't want to use VM solution
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid guard expression shan_nathan Linux - Server 1 10-23-2009 09:18 AM
Squid Guard pkraus109 Linux - Server 0 05-04-2008 09:56 AM
Squid Guard c0mpy Linux - Software 1 11-08-2005 01:30 AM
Squid Guard chokinghazard Linux - Newbie 0 02-09-2005 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration