[BlueOnyx:10304] Re: 5108R to 5106R Migration Failure

Michael Stauber mstauber at blueonyx.it
Mon Apr 23 05:19:39 -05 2012


Hi Richard,

> It seems I'm getting a problem migrating sites from 5108R to 5106R with
> cmuImport... the log is reporting 'cannot adjust to this platform'.

I just tested it and can confirm the problem.

> INFO: /usr/sbin/cmuImport running version: 2.82

Meh, OK. The wrong version number is still listed in one of the current 
scripts. That's no big deal and nothing to worry about.

> INFO: Session ID is 29089
> INFO: Modified files will be renamed filename.29089
> INFO: /usr/sbin/cmuImport running in directory: /home/restore
> INFO: Adjustment : Platform = 5108R build = 5106R
> INFO: AdjustCommand = /usr/cmu/scripts/5160Radjust.pl
> INFO: AdjustCommand = /usr/cmu/scripts/5161Radjust.pl
> ERROR: Cannot adjust to this platform

I will be working on an updated CMU which will allow you to migrate from 5108R 
to 5106R or 5107R, too. 

Until it is released, do this to fix the problem:

Edit /usr/cmu/perl/Global.pm and find this section:

%adjustPath = (
               Qube2 => 'Qube3',
               RaQ2 => 'RaQ3',
               RaQ3 => 'RaQ4',
               RaQ4 => 'RaQXTR',
               RaQXTR => 'RaQ550',   
               RaQ550 => 'TLAS1HE',
               TLAS1HE => '5100R',
               '5100R' => 'TLAS2',
               'TLAS2' => '5106R',
               '5106R' => '5107R',
               '5107R' => '5108R',
               '5108R' => '5160R',
               '5160R' => '5161R'
               );

Replace it with this:

%adjustPath = (
               Qube2 => 'Qube3',
               RaQ2 => 'RaQ3',
               RaQ3 => 'RaQ4',
               RaQ4 => 'RaQXTR',
               RaQXTR => 'RaQ550',
               RaQ550 => 'TLAS1HE',
               TLAS1HE => '5100R',
               '5100R' => 'TLAS2',
               'TLAS2' => '5106R',
               '5106R' => '5107R',
               '5107R' => '5108R',
               '5108R' => '5106R',
               '5108R' => '5107R',
               '5108R' => '5160R',
               '5160R' => '5161R',
               '5108R' => '5106R',
               '5106R' => '5107R',
               '5107R' => '5108R'
               );
        
    # Note: The old adjustPath was just from the oldest model to the newest.
    # This only allowed migrations from an old platform to a newer. But not
    # going from 5108R 'down' to 5106R - for example.
    # So at the end of the old adjustPath (which ended with 5161R) I added
    # 5108R again and make it adjustable to the bottom end of the supported
    # platform list: 5106R.

That will then allow you cmuImport the 5108R dump on 5106R.

I'll release an updated CMU sometime this week, but I want to give the changes 
some more testing first.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list