Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Like the subject says, I want to use rsync between 2 boxes (OpenSUSE 10.2) via USB cable.
The 2 boxes are firewalls, one of them is active and the other is passive.
I donīt have an extra NIC to use.
The next step after rsync is functional is build a test enviroment and try to get Linux-HA functional.
At this moment, if a problem occurs, the exchange between firewalls is manual (pull out the eth0 cable from firewall A and connect on firewall B, the same for eth1 and eth2) (yes, I know, is a very stupid solution, but my boss donīt give time to investigate Linux-HA right now and he donīt like linux at all ... itīs a very long history to put here)
I found a lot of information about how to sync using rsync via ethernet and between a box and an external drive via a USB cable, but nothing about do that between boxes.
Well first, you need some way for the devices to talk to each other. USB is between a host and a client, not two hosts. There are some USB cables that connect to two hosts and present a virtual network connection.
Is your backup firewall not connected to the LAN? That would seem pointless to me... you'll need a connection for it to use Linux-HA anyway.
USB is between a host and a client, not two hosts.
AFAIK the USB OTG chipsets are pretty recent; if you don't have one of those, you'll have a USB chip that is either a master or a slave, but can't be switched between the two. And when I say they are quite recent, I mean I have no evidence that any have reached computer motherboards yet. So, my guess is that you are stuck with two masters, which isn't exactly helpful.
I hadn't heard about any cables that do anything different, so if you find one of those, I suppose there is a possibility.
The on-line host can be the master and the backup host the slave, the master send his logs and his configuration files time to time to the slave. This is my idea about how to make the schema work.
I can use the on-board NIC to sincronize the two hosts but, we consider that NICs are not reliable, so, only use the NICs added to the box (PCI).
The backup host isnīt connected to the LAN because in that case, I got duplicated IPs on my LAN because my firewall script generate the needed IPs (the firewall script is generated with Firewall Builder).
In the Linux-HAīsite says that the heartbeat can be sended via usb cable.
So, I donīt know how to resolve this problem now. (The solution most reasonable is kick in the a** my boss, but isnīt possible, by now)