After you install installmaster on a companion server, you should only re-run this script if the stored procedures it creates are corrupted, or if you need to install a newer version of installmaster. dbcc ha_admin (' ', state_machine) temporarily moves the companion to single-server mode so the installmaster can safely reinstall or update the stored procedures. Do not run installmaster without running dbcc ha_admin.
Because dbcc ha_admin moves the companion to single-server mode, you should only run this command when there is no concurrent activity.
Preform the following to re-install installmaster:
Run dbcc ha_admin to move the local companion server to single-server mode:
dbcc ha_admin (' ', 'state_machine', 'halt')
Where ' ' is used for a placeholder.
Re-run installmaster.
Run dbcc ha_admin to return the companion server to its original mode:
dbcc ha_admin (' ', 'state_machine', 'restart')
You must re-install installhasvss after you re-install installmaster. See “Re-Installing installhasvss”, for more information.