Question

After changing the hostname of my db2 server, the db2 services won't start anymore.

After reading the notes on how to rename the db2 hostname I understand what went wrong, some things should have been done before restarting the server.

What are my options to fix in this scenario?

Was it helpful?

Solution

  • You could just try applying those steps.
  • If that fails, another option would be to create a new instance and then restore the database(s) over to the new instance.
  • Another option could be uninstalling the instance and then reinstalling it.
  • Another could be taking a backup of the database, saving it off somewhere and then doing an image restore (pending you have one of those) on the system.

If it were me, I'd just try applying the steps in the rename the DB2 hostname link first. Then I'd probably go for either creating a new instance or uninstalling and reinstalling the existing instance.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top