[BlueOnyx:09316] Re: Cobalt Migration Utility (cmu) Problems

Chris Gebhardt - VIRTBIZ Internet cobaltfacts at virtbiz.com
Thu Jan 5 05:18:39 -05 2012


Grant Davies wrote:
> Hi All,
> 
> I am tasked with migrating a 5106R to 5108R BlueOnyx instance, with new 
> hostname.
> 
> Functionality is secondary DNS / MX, but I'm having problems with the 
> import/export process.
> 
> On the source 5106R, I run ./csuExport.pl –D [to include the DNS records]
> Then I edit the /home/cmu/<FQDN>/cmu.xml
> 
>    1. Change the baseHost value = New Hostname for 5108R box
>    2. Replace all instances of the IP address for the new 5108R box
>    3. SCP all files to the 5108R host
> 
> On the 5108R host, I run the 5108Rscanin.pl or 5108Radjust.pl scripts 
> with the –d /path/to/SCPd/files arg, and they sit there giving no output 
> – so I cancel.
> 
> Running the cmuImport –D –d /path/to/SCPd/files it tells me a heap of 
> WebAliases, malAliases and Users already exist (from a previous import 
> attempt) so I choose d to Drop (D)
> 
> At the end of the script it outputs:
> Importing DNS records
> RaQ550 to RaQ550, BlueQuartz 5100R, BlueOnyx (5106R, 5107R or 5108R) or 
> TLAS HE DNS migration not done yet
> Fixing UIDs and GIDs of all users by running 
> /usr/sausalito/sbin/fix_user_UID_and_GID.pl.
> We imported 1 vsites, 0 users, 0 lists
> 
> 
> Please help – I don't know what else I should be changing in the above 
> process to make this function as expected.
> 
> All Secondary zones appear to be contained in the cmu.xml.

Hi Grant,
I would suggest this on the 5108R system, assuming that all of your DNS 
records can be wiped and then imported from the 5106R system:

1. Run /usr/sausalito/sbin/dnsDeleteAllRecords.pl
You will need to use --delete-confirm to have effect.
This will erase all the DNS records on the system.

2. Copy the contents of the 5106R boxes /etc/named/ to an import folder 
on the 5108R (don't just put it in /etc/named).

3. Run /sbin/dnsImport.pl PATHTOZONEFILES

4. Restart Bind with /etc/init.d/named restart

You may run into some errors with duplicate zones or entries just 
because the import isn't flawless.  To cure, take a look in the GUI and 
make sure that no invalid reverse zones exist.  It's probably easiest to 
just delete any reverse zones (ie: networks).

That ought to work for you.  Good luck.
-- 
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ



More information about the Blueonyx mailing list