Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use the procedure below to change the password of the users mzadmin and mzowner in Oracle, PostgreSQL and SAP HANA databases.

Note
titleNote!

A prerequisite for this to work properly is that the database is only used by the Platform and not by any configurations. 

  1. Disable all workflow groups, either from the Execution Manager in Desktop, or by using the mzsh wfdisable command.

  2. Let all batch workflows finish execution.

    Note
    titleNote!

    Batch workflows containing Inter Workflow agents that do not have the Deactivate on Idle check box selected will have to be shutdown manually.


  3. Use the command mzsh topo to list the instances of the the service storage-dispatcher.

    Code Block
    languagetext
    themeEclipse
    $ mzsh topo get --format data-only topo://services:standard/obj:storage-dispatcher


    Info
    titleExample - List of sevice instances


    Code Block
    languagetext
    themeEclipse
    {
        "storage-dispatcher1" : {
            "config" : {
                "password" : "DR_DEFAULT_KEY-48851644227183C2041D838568E117EC",
                "type" : "oracle",
                "url" : "jdbc:oracle:thin:@myhost:1521:orcl"
                "user" : "mzadmin"
            },
            "start-after" : [],
            "template" : "1/standard/oracle"
        }
    }



  4. Use the mzsh topo command to update the passwords in the STR:

    Code Block
    languagetext
    themeEclipse
    $ mzsh topo set topo://services:standard/val:storage-dispatcher.<service instance>.\
    config.password `mzsh encryptpassword <password>`


    Info
    titleExample - Updating the password(s)


    Code Block
    languagetext
    themeEclipse
    $ mzsh topo set topo://services:standard/val:storage-dispatcher.storage-dispatcher1.\
    config.password `mzsh encryptpassword mypassword`



  5. Shut down the platform using the mzsh shutdown command.

  6. Update the Oracle, PostgreSQL or SAP HANA passwords to correspond to the ones you set in the STR.

  7. Startup the Platform.

  8. Enable all workflow groups and start all workflows again.