I have been playing around with several servers I have in my home lab running OpenIndiana + Napp-IT (thanks _GEA!). I decided I wanted to delve into learning how ZFS Send/Receive work for pseudo-replication. One of the sites I found while Googling suggested using a command like this to send a snapshot from one server to the other:
The website where I found it is here: http://docs.oracle.com/cd/E17952_01/refman-5.5-en/ha-zfs-config.html
When I run this while SSHed into one of the servers, it will hang for about a minute or more and then come back with a message saying
connect to host servername port 22: Connection timed out
I have only ever used Putty to SSH into a server, never run SSH from a command line and don't know the first thing of how to configure it. I checked to ensure I got all the hostnames correct. I checked to make sure I can use Putty to connect to each of the two servers (success there). I've also tried just typing:
and I keep getting the same error.
Can anyone suggest how to configure things so this will work? Any and all suggestions would be appreciated at this point. Also, if anyone has any free replication scripts that are reliable and easy to modify, I would really like to learn how to do this. Thanks for all the help!
Code:
zfs send -i scratchpool@snapshot1 scratchpool@snapshot2 |ssh id@host pfexec zfs recv slavepool
When I run this while SSHed into one of the servers, it will hang for about a minute or more and then come back with a message saying
connect to host servername port 22: Connection timed out
I have only ever used Putty to SSH into a server, never run SSH from a command line and don't know the first thing of how to configure it. I checked to ensure I got all the hostnames correct. I checked to make sure I can use Putty to connect to each of the two servers (success there). I've also tried just typing:
Code:
ssh username@hostname ls
Can anyone suggest how to configure things so this will work? Any and all suggestions would be appreciated at this point. Also, if anyone has any free replication scripts that are reliable and easy to modify, I would really like to learn how to do this. Thanks for all the help!