Solutions

How do I manually migrate the configuration from my Director appliance running SGME 5.x to my Director running v6.x?

Solutions ID:    KB4847
Version:    4.0
Status:    Published
Published date:    01/05/2012
Updated:    01/17/2012
 

Problem Description

When you upgrade from SGME 5.x to v6.x, you have the option to migrate your current configuration from a Director 510 appliance and complete the upgrade to v6.x. In some situations, this migration process fails and your configuration is not automatically imported from the Director 510 running 5.x to your Director running v6.x.

On 1 out of 8 times, you will see this error -

% Error reading key <----------------

Resolution

When the migration process fails, you need to manually restore the configuration by following these steps below:

On your Director 510 running v5.x- the origonal appliance:

1. Access the Command Line Interface.

2. Generate an archive key.

3. Create an archive using the archive key.

4. Upload the archive and the key to an external server.

On your Director running v6.x:

1. Access the Command Line Interface.

2. Pull the archive down, and restore the archive ( you will need the archive key to complete this step)

3. Reboot the appliance.

Here are the commands used in steps 1 and 2 on SGME V5.X  section:

1: Login, via SSH, to the SGME 5.5.2.X, and replicate these commands to generate an archive.

Director > en
Password:
Director5 # conf t f
Director5 (config) # line-vty length 0
Director5 (config) # archive generate key mykey

Archive key 'mykey' generated successfully.
 

Director5 (config) # archive all create remote-archive key mykey
Generating archive file.
This may take a few minutes.
^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M\^M^M^M|^M^M/^M^M-^M^M ^MArchive file "remote-archive" created successfully
 

Director5 (config) # archive all upload <archive-name> ftp|http|scp:\\<path name>\ key <mykey>

 

Here are the commands used in steps  1 and 2 on SGME 6.X  section :

2: Login, via SSH, to the SGME 6.1.1.1  and replicate these commands, to restore the archive.

Director6 > en
Password:
Director6 # conf t f
Director6 (config) # line-vty length 0

Director6 (config) # archive all fetch <archive-name> ftp|http|scp:\\<path name>\<archive-name> username <username> password <password>
Director6 (config) # archive input key remote show
Enter key now.
Press Ctrl-D when finished, or Ctrl-C to abort
-----BEGIN RSA PRIVATE KEY-----^JProc-Type: 4,ENCRYPTED^JDEK-Info: DES-EDE3-CBC,86DC9CF21748109D^J^JePH87gDo6BT1PAExkSOtIhS3uBpA55MQcHAvutaKYrxPyeuwGaSJ8DNiwtpK9MrJ^J5nL9OE6AOwIivJG1Hz5O4yro9nExbvclub1RNfszhJwwcYqP5wCcnGVhpLTr6wtt^Jp+mjxBb5tD96LwghJj8Pt8w6FswEjf4q31LVZ5Lxk+JDQ95dCTl832Pxwzi9dwC9^J0boM48kbvhjMKjCFRIkKbNmlB5BdhwrL4a3UK+u9Y78/ToXKdaGK2lpKM9T8Sfi4^JCS1nNGWEFpsEUlbLj7x8Rru3GNt6YQ9cIBghxgDaSkSyr10yWzb+D7tndAh7tVgy^J8P9PBT8GR7IOetgYIkbN5++eCCg/g+iDmBl8WYEPA39P9I4Ma7Wz3s4YzCmQisKd^JQZsXij/qD9nAIGvaQviz4NED+B2YZus/sYaFBOsurG9ZB3BASiKqF0DDT2mrhfFy^JTo+iWhYMYtIH5u1YQ2kTnG+rW8arGR4bGv0CH0hb03EWEQuWePO1PSkxVytNmRW+^JiUSF4e4gXGIGwVKxARJEPMgmF9Aertwfs7vOUdqJMMwiUEuUXrGZHhGgWaDkAVbD^Jp9nCVE42PZasH7zVgSfMeM3onQU/bGGZDRSPCaEapWOJ1zyv0XHEcRn5lg2tYjtL^JhIVeaVSUFO9yFLbn5Iz/M9DXYLaQQW6trgYoMC3vvr23o5oSG8usIj0Bw6C1UJon^JBv52gf8pXgBaqEY3jmt2uZVrFBU6iVyoaf2gVhf2sJMK0/bXTDsBSkrp2WdVY35+^J8MY3gtHyQGFvXflpCSjdj0b6QeOj+fQPW4JckLOTcAPXGxoQ3XkGnQ==^J-----END RSA PRIVATE KEY-----^J^Jrajesh (config) #^J^D
Enter pass phrase here:admin

The archive should be restored now.

Links to other articles:

For a complete list of CLI commands available, see KB4178

For more details on how to take and restore archives, see KB1441  or  KB4183

 

 

 


Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question