• How to reset the NetBackup authentication password on an MSDP disk pool


    How to reset the NetBackup authentication password on an MSDP disk pool

     
    Article: 100038891
    Last Published: 2021-12-17
    Ratings:  9 2
    Product(s): NetBackup

    Description

    Below are the steps required to change/reset the password on the MSDP disk pools in the event it has been lost.

    1. If the user name is unknown, find it with the following command:

    Windows: <install_path>\volmgr\bin\tpconfig -dsh -all_hosts

    Unix: /usr/openv/volmgr/bin/tpconfig -dsh -all_hosts

    The user name will be listed after User Id:
    ====================================================================
    Media Server:                        med-mak
    Storage Server:                     med-mak
    User Id:                                 root
        Storage Server Type:        BasicDisk
        Storage Server Type:        NearStore
        Storage Server Type:        SnapVault
        Storage Server Type:        PureDisk
    ====================================================================

    2. To change the password when the password is known, use the following method:

    Note - This is done on the MSDP server

    Windows: <install_path>\pdde\spauser -c -u <user>
    Unix: /usr/openv/pdde/pdcr/bin/spauser -c -u <user>

    This will prompt for the old and new password, then it will change the password.

    3. If the password is not known, then it needs to be manually changed following these steps.

    For versions up to 8.1.1

    a.  Choose a password and use an MD5 hash generator to generate a new password hash.

    On Unix:
    echo -n "<Your desired Password>" | md5sum

    Or go to the link http://www.md5hashgenerator.com/index.php, put the desired password in the string box and then click Generate.

    b. Update the authentication credentials with the new password hash using the spadb command.

    Windows: <install_path>\pdde\spadb -d <storage location>/databases -c "update authentication set passwd=5f4dcc3b5aa765d61d8327deb882cf99 where id=1"

    Unix: /usr/openv/pdde/pdcr/bin/spadb -d <storage location>/databases -c "update authentication set passwd=5f4dcc3b5aa765d61d8327deb882cf99 where id=1"

    In the example, the MD5 hash for a password of ‘password’ is: 5f4dcc3b5aa765d61d8327deb882cf99.

    For version 8.1.2 and later

    a.  Choose a password and run the spauser command.

    On Unix: /usr/openv/pdde/pdcr/bin/spauser -r -u <username> -q <new_password>

    On Windows: <install_path>\Program Files\Veritas\pdde\spauser.exe -r -u <username> -q <new_password>

    4. Update the storage server credentials in NetBackup using the above username and chosen password:

    Windows: <install_path>/Volmgr/bin/tpconfig -update -storage_server <server name> -stype PureDisk -sts_user_id <user id> -password <password>

    Unix: /usr/openv/volmgr/bin/tpconfig -update -storage_server <server name> -stype PureDisk -sts_user_id <user id> -password <password>

    For the above example for storage server named MSDP1 the command line will be
    tpconfig -update -storage_server MSDP1 -stype PureDisk -sts_user_id root -password password
    If the password is incorrect, the command will fail.

    If you get the error - "Credentials for OpenStorage host <storageserver> do not exist." then add the credentials.
    tpconfig -add -stype PureDisk -storage_server <Storageserver> -sts_user_id <user id> -password <password>

    For the above example for storage server named MSDP1 the command line will be
    tpconfig -add -stype PureDisk -storage_server MSDP1 -sts_user_id root -password password

    5.  For NetBackup 8.3.X release changing password within WORM.

    If user changes the password of MSDP with command 'setting MSDP-user reset-password' on the MSDP shell.

      User need to sync the MSDP password on the NBU side.​

    given we have environment:

    NBU  - master

    NBU - media

    MSDP1 - WORM storage server

     Windows: <install_path>/Volmgr/bin/tpconfig -update -storage_server <server name> -stype PureDisk -sts_user_id <user id> -password <password>

    Unix: /usr/openv/volmgr/bin/tpconfig -update -storage_server <server name> -stype PureDisk -sts_user_id <user id> -password <password>

    For the above example for storage server named MSDP1 the command line will be

    tpconfig -update -storage_server MSDP1 -stype PureDisk -sts_user_id root -password password

    If the password is incorrect, the command will fail.

    If you get the error - "Credentials for OpenStorage host <storageserver> do not exist." then add the credentials.

    tpconfig -add -stype PureDisk -storage_server <Storageserver> -sts_user_id <user id> -password <password>

    For the above example for storage server named MSDP1 the command line will be

    tpconfig -add -stype PureDisk -storage_server MSDP1 -sts_user_id root -password password

  • 相关阅读:
    Apollo服务搭建
    常用MIME类型
    eclipse 搭建 swagger-ui(maven项目 springboot框架)
    子页面iframe跨域执行父页面定义的JS方法
    SpringBoot 实现前后端分离的跨域访问(CORS)
    使用 QueryRunner 实现 JDBC 常用操作封装
    纯Java版本的JDBC基础操作,支持查询结果到泛型实体类的转换
    javascript_鼠标划词,弹出选取的词
    js获取url参数值
    纯CSS打造的下拉菜单
  • 原文地址:https://www.cnblogs.com/yaoyangding/p/15933676.html
Copyright © 2020-2023  润新知