Set up the Maintenance User in the standby data server

Setting up the Maintenance User involves:

You need not add the Maintenance User to the standby database, because when you materialize the standby database, users in the primary database are copied to the standby database.

Use the following procedure to set up the Maintenance User login in the standby data server.

NoteYou must have a System Administrator user role in the standby Adaptive Server to perform this procedure.

StepsTo set up the Maintenance User in the standby data server

  1. Log in to the standby Adaptive Server with a System Administrator user role.

  2. Add the Maintenance User login to the standby data server:

    use master
    sp_addlogin mra_maint, mra_maint_pwd, sdb
    

    where:

  3. Grant the Replication role to the Maintenance User:

    grant role replication_role to mra_maint
    

    where mra_maint is the Maintenance User login name.

After you set up the Maintenance User in the standby data server, verify that the Maintenance User can log in to the standby data server.