Sign In
Forgot Password

Don’t have an account? Create One.

Create role utility for NBU

Tool

Abstract

Create role utility for NBU

Description

This script allows users to create/delete a VRPServiceRole on NBU master which has all privileges required by VRP to perform operations related to DR by NBU.

 

BASE PRODUCT VERSIONS

----------------------

   * VRP 3.4 *

 

Issue: VRP Document does not have a minimum set of privilege which is required by the NBU master user which is used in VRP to perform an operation related to DR by NBU.

 

Resolution: The script "VRPServiceRole.pl" allows user to create a role on NBU 8.2 master which has all privilege required by VRP to perform an operation related to DR by NBU.

 

This script will create an Access Role on NBU master which can be assigned to a NBU user, so that those user can be used in VRP.

 

1. Extract the VRPServiceRole.tar and upload the VRPServiceRole.pl script on Resiliency Manager (RM) using below steps.

2. Perform the following steps to upload the Script

    a) Open the SFTP session from clish

       utilities> sftp-session start put patch

    b) Provide the password for this temporary SFTP session

    c) Open SFTP session using the above created user information and upload the script inside Upload folder.

    d) Stop the SFTP session after uploading the script.

3. Login to the RM using the admin user and go to the support shell using a support login.

4. Go to the following location: (cd /var/opt/VRTSitrp/patches/)

5. Provide the executable permission to the script.(chmod 755 VRPServiceRole.pl)

 

To Create VRPServiceRole role in NBU 8.2 master:

 

1] Run the script as (/opt/VRTSsfmh/bin/perl ./VRPServiceRole.pl --create) and provide the Hostname, version, username and password of NBU master. This will create a role name VRPServiceRole in NBU master.

Username: NBU System user can be used to run the script and ensure that the Security administrator role is assigned to the NBU System user.(Go to the NBU GUI -> RBAC -> Access rules -> Add Access rules -> Provide the NBU System user, Select Security administrator and all objects.)

Password: In case of a System user, provide the password of NBU System user.

 

2] Go to the NBU GUI -> RBAC -> Access rules -> Add Access rules -> Provide the NBU System user, Select VRPServiceRole and all objects.

3] Add NBU in VRP using the NBU System user.

 

To Delete the VRPServiceRole from NBU 8.2 master:

 

1] Run the script as (/opt/VRTSsfmh/bin/perl ./VRPServiceRole.pl --delete) and provide the Hostname, version, username and password of NBU master. This will delete a role name VRPServiceRole in NBU master.

Username: NBU System user can be used to run the script and ensure that the Security administrator role is assigned to the NBU Sytem user.

Password: In case of System user, provide the password of NBU System user.

Applies to the following product releases

Update files

File name Description Version Platform Size