Discussion:
[Clonezilla-live] What about IP address when cloning ?
RSCL Mumbai
2009-06-11 16:40:55 UTC
Permalink
Hi,

I have an FC9 server with 1 SATA disc of 160 GB and 24 GB of data.
I have an exactly same server as backup server.

We rsync `data` folders of the main server to the backup server.

It has been decide to image the HDD of the main server to the backup
server once per month to account for any OS level changes which was
not rsynced.

When I create an image of the main server and restore on the backup
server, I will have a problem with the network values.
The IP address will have to be manually changed to prevernt DUPLICATE
IP in the lan.
The MAC address will have to be changed to match the MAC address of
the backup server's lan card.
And the host name will have to be changed too.

I am sure many people must have tried this and have had to change
these network properties manually.
Is there any short-cut to avoid manually making these changes ?
I guess not, but I still thought of asking. You never know. There are
100s of smart people out there who do 100s of things the smarter was
:)

Do let me know your thoughts.

Thx
Vai
Steven Shiau
2009-06-12 14:59:05 UTC
Permalink
Hi,
It's possible to write a script to modify this after Clonezilla restores
the image for you. Clonezilla provides an option "-o1" to let you run
the script in the dir /opt/drbl/share/ocs/postrun/.
The script depends on the GNU/Linux distribution...

Steven.
Post by RSCL Mumbai
Hi,
I have an FC9 server with 1 SATA disc of 160 GB and 24 GB of data.
I have an exactly same server as backup server.
We rsync `data` folders of the main server to the backup server.
It has been decide to image the HDD of the main server to the backup
server once per month to account for any OS level changes which was
not rsynced.
When I create an image of the main server and restore on the backup
server, I will have a problem with the network values.
The IP address will have to be manually changed to prevernt DUPLICATE
IP in the lan.
The MAC address will have to be changed to match the MAC address of
the backup server's lan card.
And the host name will have to be changed too.
I am sure many people must have tried this and have had to change
these network properties manually.
Is there any short-cut to avoid manually making these changes ?
I guess not, but I still thought of asking. You never know. There are
100s of smart people out there who do 100s of things the smarter was
:)
Do let me know your thoughts.
Thx
Vai
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Clonezilla-live mailing list
https://lists.sourceforge.net/lists/listinfo/clonezilla-live
--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A
Continue reading on narkive:
Loading...