04-22-2015 03:14 PM - edited 07-05-2021 03:00 AM
Hi,
Does anyone know how to re-run the setup script on a PI2.2 (UCS) appliance after it has been initially executed?
It used to be after a reboot of a server you could type the word 'setup' at the very first login prompt after boot up, but I don't see that option any more.
I tried typing 'setup' at the first login prompt, but its just shows a bad login, rather than running the setup script.
The 'write erase' command is also disabled in 2.2, so I can't use that to start again and force a the setup script to run.
Looks like once you have run setup once, you're stuck with that config? If you want to switch a unit to be a HA secondary, do you have to wipe the box and start again...?
I've checked the user, admin, quick start and command reference guides, but there is no reference about how to run the setup script a second time.
Thanks
Nigel.
11-12-2015 07:18 AM
Did you ever get an answer on this? I am in the exact same position with my Prime installation. I want to make the second appliance an HA server now but don't want to have to go through the OVA provisioning 5+ hours....
03-31-2017 12:25 PM
Hopefully this helps, because there is literally no documentation out there for running this command. Here is how to run the script...
SSH to the prime node
shell
sudo /opt/CSCOlumos/bin/setup.sh
or
cd /opt/CSCOlumos/bin/
sudo ./hamode.sh primary
or
sudo ./hamode.sh secondary
07-08-2018 07:29 PM
Thanks so much DanLeeRankin. The usual method was not working in 3.3/3.4 and your shell command
to restart setup script works perfect on 3.4.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide