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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
After a little discussion with my boss, finally I would connect the host B to the lan with a different IPs and make the rsync on that "sub-lan", so, the problem y solved, but in a different way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.