Koozali.org: home of the SME Server

Using Affa to move to new hardware

Offline MSmith

  • *
  • 675
  • +0/-0
Using Affa to move to new hardware
« on: June 04, 2009, 04:31:02 PM »
http://wiki.contribs.org/Moving_SME_to_new_Hardware

FTW!

Absolutely brilliant; easiest server swap ever.  A big fat THANK YOU and shoutout to SME developers, and Affa maintainer Weinberger.
...

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Using Affa to move to new hardware
« Reply #1 on: June 05, 2009, 10:32:35 AM »
Yep, we are spoiled, saved me a few times already.
Thanks Michael Weiberger.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline AlexBrown

  • 1
  • +0/-0
Re: Using Affa to move to new hardware
« Reply #2 on: June 29, 2009, 07:49:41 PM »
I agree - Affa is incredibly important.   I am rehosting a CMS system that requires PHP5 -- this has unexpectedly become urgent.  I would like to use a pair of SME8 systems, and Affa is the most important requirement.   Does anyone have experience with Affa on SME8?

Alex Brown <Alexander_Brown@uml.edu>
http://intranet.turi.org/abrown2

Offline holck

  • *
  • 322
  • +1/-0
Re: Using Affa to move to new hardware
« Reply #3 on: October 28, 2009, 11:56:19 AM »
I plan to move to new hardware, and Affa certainly seems like a good way to do it. But I am wondering if I have to take additional measures, compared to the Wiki, because my server also acts as gateway?

My setup is like this:

ADSL-modemServerClients
IP-address72.x.x.x10.0.0.1<->10.0.0.2192.168.10.1<->192.168.10.x
So when the Wiki tells me to assign an unused IP-number to the new server, should this just be a "client" IP-number? And will the described procedure also work with this setup?

Best regards,
Jesper, Denmark
......

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Using Affa to move to new hardware
« Reply #4 on: October 28, 2009, 12:05:57 PM »
holck -

You should be able to put your new hardware anywhere in the world in order to do an Affa backup - as long as you can ssh from your old SME to your new one (or vice versa), you can setup Affa.

Once you have an Affa backup on the new server, the "rise" command basically turns it into the old server -- so after you run the 'rise', you need to disconnect the old server and connect the new one.

So, in your case, you could put your new SME on either of your local segments or completely off-site, in server-only or server-gateway mode -- whatever is easiest for you.

I suspect the easiest option would be to set the new server up in 'server-only' mode on the 192.168.10.x network...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Using Affa to move to new hardware
« Reply #5 on: October 28, 2009, 12:06:13 PM »
yes.. you should assign a "client" IP..