The right way of upgrading the Analyst Portal with 'ServiceManagement' DB in a SQL AG
my Analyst Portal Upgrade just failed with:
"Failed to create management database ServiceManagement on AGListenerName.domain.com : The operation cannot be performed on database "ServiceManagement" because it is involved in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group.
So I did a simple search and found this topic:
Problem Installation Always On with Cireson System Center Service Manager Portal
Q: If I get this right, I need to remove the DB from the AG, then point the installer to the node, holding the DB and complete the install. After the install, I can again take the DB into the AG and chnage the Web.Config file at C:\Inetpub\CiresonPortal accordingly?
Q: Is that right? What about the SCSM DB setting?
Q: What about the failed install? Can I just attempt the Upgrade again or do I need to follow certain rollback procedures?
A big thanks in advance for your comments!
Regards!
Best Answers
-
Justin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭I'm going to work backwards.
You can just run the installer again. No need to roll anything back.
The SCSM database setting will be fine. It's just to populate a connection string for the portal to connect to SCSM later. The installer doesn't actually affect(write) the ServiceManager database.
You do in fact need to remove the ServiceManagement database from the AG, then put it back in the group once installation is complete. You should be able to point the installer to the DB itself and not have to change any configuration after installation though.5 -
Brian_Wiest Customer Super IT Monkey ✭✭✭✭✭Justin_Workman said:
You do in fact need to remove the ServiceManagement database from the AG, then put it back in the group once installation is complete. You should be able to point the installer to the DB itself and not have to change any configuration after installation though.
5
Answers
You can just run the installer again. No need to roll anything back.
The SCSM database setting will be fine. It's just to populate a connection string for the portal to connect to SCSM later. The installer doesn't actually affect(write) the ServiceManager database.
You do in fact need to remove the ServiceManagement database from the AG, then put it back in the group once installation is complete. You should be able to point the installer to the DB itself and not have to change any configuration after installation though.
thanks for the clear reply.
Wish you are great weekend!
Regards,
Stoyan