This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

One Identity Manager Application Server / Web server Upgrade 7.1.2 ->8.0.1

Hello,

we have a customized One Identity Manager Web Portal.   We want to upgrade 7.1.2 ->8.0.1

All -DB, -Job Server, -workstations are successfully upgrated.

How to smoothly upgrade Application Server / Web server?

Many thanks in advance!

Best regards,

Evanela

Parents
  • I assume you read the Upgrade and installation instructions section of the release notes already? That should explain how-to update application servers and the web portal in general.

    For your customizations, please check the Web Designer and Web Portal Changes guide as well.

  • Hi Markus,

    yes, of course. According to the release notes:

    To update an application server to version 8.0.1

    • After updating the One Identity Manager database's schema, the application server
      starts the automatic update.
    • To start the update manually, open the application's status page in the browser and
      select Update immediately from the current user's menu.

    When I try to access the Application Server I get the error message as below:

    Server Error in '/D1IMAppServer' Application.


    DB is not online.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Exception: DB is not online.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [Exception: DB is not online.]

    Sure, the Application Server has still a connection to the old database (SQL Server 2012), therefore the message. How to proceed?

    Many thanks and best regards,

    Evanela

  • You haven't mentioned before, that you moved to a new database server. In that case, auto-update cannot succeed.

    Option 1 is to change the database connection for the application server and try to move on with auto-update.

    Option 2 is to re-install the application server.

    For option 1 a how-to description would be:

    The web.config of the Application Server is encrypted using the standard .NET ways of encrypting configuration keys. Do change the connection string to the database you need to first decrypt the web.config, change the connection string in the web.config and finally encrypt the web .config again. All of that using standard .NET tooling.

    Assuming that your Application server is installed using the app-path /AppServer the command-lines to decrypt and encrypt the web.config are.

    Decrypt

    aspnet_regiis.exe -pd "connectionStrings" -app /Appserver

    Encrypt

    aspnet_regiis -pe "connectionStrings" -app /AppServer -prov DataProtectionConfigurationProvider

    You will find the tool aspnet-regiis.exe in the .NET Framework folder on your IIS server.  For example C:\Windows\Microsoft.NET\Framework64\v4.0.30319

    You do need the correct permissions to do that. You will find more information around decrypting and encrypting a web.config file by using Google.

  • Thanks a lot Markus!

    I applied option 1 and could run after that auto-update.

    The Application Server is running V8.0 with One Identity brand logo Slight smile

    I assume I should do the same for Web Portal now (changing connectionStrings), correct?

    Have a great day and thanks again,

    Evanela

  • Yep. You can do that with Web Portal as well or use the WebDesigner.ConfigFileEditor.exe that should be present in the bin folder of the web portal.

  • Hi Markus,

    please need your help for Web Portal Update. The release notes state:

    To update the Web Portal to version 8.0.1

    • To update the Web Portal automatically, connect to the monitoring site
      http://<server>/<application>/monitor in a browser and start the web
      application update.
    • To manually update the Web Portal, uninstall the existing Web Portal and install
      the Web Portal again. For more information, see the One Identity Manager
      Installation Guide.

    I tried to run http://<server>/<application>/monitor to perform automatic updates and get the error message:

    Server Error in '/IdentityManager' Application.


    Access is denied.

    Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

    Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server's administrator for additional assistance.

    Hemm the user has full access on IdentityManager directory.  What should I further check?

    What about reinstalling Web Portal? Do I miss my customization if i take this approach?

    Many thanks in advance and best regards!

    Evanela

  • According to the documentation https://support.oneidentity.com/technical-documents/identity-manager/8.0/installation-guide/22#TOPIC-864244 the access to the monitor page is limited, by default to the group Builtin\Administrators 

    But you can check the current setting in the web.config of the web portal.

Reply Children