Multi-user access to NSH
Starting with version 4.3.01.04, BMC Release Package and Deployment (RPD) supports multiple BMC Server Automation (BSA) users and roles at a time during deployments and instance creations. Now each Network Shell (NSH) is launched in their own memory. For multiple users to be able to use one NSH at a time, first upgrade to the new dispatcher on the dispatcher host, and then update the dispatcher scripts from the NSH pack.
Now you can also cache Bladelogic Credential Cache Files. To activate the ability to cache the Bladelogic Credential Cache Files, enter the additional variable (BL_CRED_CACHE_FOLDER
) pointing to the location where you want to store such cache files. The dispatcher process must have read/write access to that folder.
Note
If the dispatcher is installed on Windows machine with its standalone installer, please make sure that you have Microsoft Visual C++ Redistributable Package installed on that target machine. These libraries can be downloaded and installed from the Microsoft Official Download Site: vcredist_x64 and vcredist_x86.
To enable multi-user access to NSH
For multiple users to be able to use one NSH at a time, first upgrade to the new dispatcher on the dispatcher host, and then update the dispatcher scripts from the NSH pack.
For information about upgrading the dispatcher to version 5.0, see Upgrading to the new dispatchers and bridges for Windows or Upgrading to the new dispatchers and bridges for Linux, depending on your operation system.
To update the dispatcher scripts
By default, the dispatcher scripts from the NSH pack are not updated, therefore to enable multi-user NSH follow the steps below:
- Open RPD.
- Under the Define tab, open Actions item in menu.
- Find Dispatch Fileput, Dispatch Prun, Dispatch Srun, and Dispatch Fileget scripts from the NSH pack.
Edit each of these scripts by updating the first line of the script from
#![.nsh]nsh
to#![.nsh]nshrunner
.Note
If you want to use the Multi-user access to NSH during integration with the BMC Middleware Automation, update the first line of the script from
#![.nsh]nsh
to#![.nsh]nshrunner
in the Dispatch Srun script from the BMA pack.- Remove section that responds for authorization as nshrunner script will automatically take care of it.
if [ -n "$BLCRED_PROFILE" ]; then
echo y | blcred cred -acquire -profile "$BLCRED_PROFILE" -username "$BLUSER" -password "$BLPASSWORD"
if [ -n "$BL_RBAC_ROLE" ]; then
chrole "$BL_RBAC_ROLE" 2>&1
if
if
Comments
Log in or register to comment.