Configuration import and updates
Hi,
I was reading plenty of SOL and man pages but still have some doubts how configuration import during update is working. Let's consider scenario when there is VE with two boot locations: 1. Active with 11.2.0 2. Inactive with 11.5.1
Active is full configured, 11.5.1 has some old configuration. Goal is to update 11.2.0 to 11.2.1 without need to override 11.5.1 location.
I wonder what is the best way to do it. I tested some scenarios and I am not still sure if there is better way to do that. Scenario 1 1. Create UCS on 11.2.0, store it off device (or in /shared) 2. Optional step - I had to perform it because those VE are test systems with temporary license, license on 11.5.1 was long expired) - use cpcfg to copy configuration from 11.2.0 to 11.5.1. Maybe it was not necessary but I doubt those two locations are sharing same license file? 3. Set 11.5.1 as active location, system reboots, all looks good 4. Perform 11.2.1 install (plus hotfixes) using GUI on 11.2.0 location 5. Set 11.2.1 as active (without checking copy configuration as it causes error related to applying newer version configuration to older version) 6. After reboot I have 11.2.1 with default configuration, license and management setup preserved but all previous configuration of 11.2.0 is gone. It surprised me a bit - is that normal that when updating location with existing config (at least via GUI) old config is wiped out - if it is not possible to transfer config from active location used during update? 7. Now things got quite wrong. I tried to restore UCS created in 11.2.0 in 11.2.1 - plenty of errors, not working config etc. I just gave up - probably it was possible to fix but... should be easy process but turned out not so much.
Scenario 2 1. Installed 11.2.1 on newly created location 2. Set 11.2.1 location as active 3. After reboot whole config was correctly transferred from 11.2.0 to 11.2.1
Scenario 2 looks like easier one (at least in my case) but I would like to find a way how to perform Scenario 1 without loosing config and restoring from UCS - in situation when location that has to be used when updating has newer version than location being updated. Scenario 2 as well requires free HD space what sometimes can not be so easy.
Doing it via GUI seems to be no solution: 1. Can't transfer config from newer version to older version 2. Without transfer from active location updated location have config reset to default, so ucs restore necessary.
Wonder if it can be done using image2disk or if there is some other way I am not aware of? Will such scenario work: 1. Activate 1.5.1 location 2. use image2disk --nomoveconfig when updating 1.2.0 location 3. or change liveinstall.moveconfig to disable and use GUI install or install command in tmsh 4. Change boot location to just updated 11.2.1 5. After reboot configuration of 11.2.0 is applied to 11.2.1, no UCS import required
Is above scenario valid?
Piotr