This worked as expected!
I did this process:
- Download the Blink R80.40 for Multi-Domain + JHF 125 image
- Run 'migrate_server verify' with the R80.40 upgrade tools. Fixed the IPS items it listed.
- Run 'migrate_server export -v R80.40 ...' manually. Copied the export database to a remote host.
- In CLISH: 'save configuration <filename>'. Copied the config file to a remote host.
- For caution, I made a tarball of /home for the local admin users. Copied this tarball to a remote host. It wasn't needed, however.
- In hindsight: The local admins had custom cron scripts in /var/opt/<some directory/ that I should have gotten. I was able to get these from the previous LV disk volume, tho.
- In CLISH: 'installer clean-install #'. This made the new LV as expected, installed R80.40 there, AND it copied over /home, which I did not expect. As expected, it did make a bare-minimum CLISH config, with just the IP, route, and "admin" user only. However, the "admin" user retained the original "admin" user password, not the fresh-install "admin/admin".
- After reboot, I did have to do the Blink first-time-wizard to provide the new hostname, admin password again, IP info, and select the product (Primary MDS was already selected).
- In R80.40 CLISH, I re-applied the original CLISH config backup. I left out some things I new would be conflicting with R80.20/R80.40, but it was very minor.
- Rebooted again, then imported the database with "migrate_server import ...". This took a LONG time! Be. Patient. Perhaps do it at the VM console so you don't get a remote SSH disconnect like I did (thanks to whomever crashed into the nearby utility pole and broke my terrestrial Internet service!). I was able to recover, tho. You may want to do "unset TMOUT" before starting!
- After database import, I rebooted again. Waited for services with "watch api status" and "watch mdsstat" in different sessions.
- Logged into SmartConsole R80.40 to each domain, fixed the Validation Status ("MySpace Utilities" appears to now be "MySpace Widgets"). Then do "Install Database"! VERY important or else logs won't connect! I didn't need to do policy install, tho; I couldn't do that with this customer as it was outside an official service-impacting change window.
Everything seems to be good. Logs are good now (again: "Install Database"). I did it with API, tho (again, R80.40 JHF 125, API 1.6.1; this doesn't work in R80.30 and lower):
mgmt_cli -r true show domains |jq -r '.objects[]|.name+" ".servers[].name' |\
while read dom_name dom_server; do
mgmt_cli -r true -d $dom_name install-database targets $dom_server
done
(yes, this assumes you only have 1 CMA per domain; exercise for the reader to do multiple; if you copy/paste, be sure to get that backslash on the end. YMMV.)
8 domains took about 3.5 hours on an 8-core VM with 32 GB of RAM.
Yes I know about R81, no I'm not taking this customer there yet; we are more conservative. Once R81 gets its "sea legs", I'll look into it. I'll do R81 soon on my smaller folks, tho.
Well done to all of you on the Release Team! Nice work. I'm looking forward to the R80.40 API for this MDS! We have gateway clusters and having the simple-cluster API is going to be a nice treat!
Thanks to everyone!