LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   server guard (https://www.linuxquestions.org/questions/linux-server-73/server-guard-4175542238/)

paramont 05-11-2015 01:52 AM

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,

voleg 05-11-2015 10:33 AM

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

paramont 05-11-2015 11:27 PM

Server guard
 
1 Attachment(s)
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,

voleg 05-12-2015 01:45 AM

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.

paramont 05-12-2015 04:27 AM

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.

voleg 05-12-2015 06:52 AM

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.

paramont 05-12-2015 07:58 AM

thanks Voleg but I didn't want to use VM solution


All times are GMT -5. The time now is 01:00 PM.