We have a new server with SQL server 2016 installed. I would like to relocate our Software Factory to the new location. Simultaneously I would like to rename the database.
I was able to backup and restore the iam_ont and sf database to the new server. However, I cannot seem to rename the iam_ont database. When I do, the application wants me to login to the 'old name' iam_ont. All logins fail because the 'old name' database no longer exists.
Is there a way to do this?
Solved
Renaming / relocating the IAM_ont database
Best answer by Anne Buit
Hi Hugo,
Can you run the following queries on the renamed IAM_ONT database:
This returns the server and database for the IAM itself. These should always return current_server and current_database.
If these are correct, you should be able to access IAM and update the server and database of the Software Factory application accordingly.
View originalCan you run the following queries on the renamed IAM_ONT database:
code:
select db_name
from gui_appl
where project_id = 'SQLSERVER_IAM'
select s.server_address
from server s
join gui_appl g
on g.server_id = s.server_id
where g.project_id = 'SQLSERVER_IAM'
This returns the server and database for the IAM itself. These should always return current_server and current_database.
If these are correct, you should be able to access IAM and update the server and database of the Software Factory application accordingly.
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.