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.
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.
- Remove section that responds for authorization as nshrunner script will automatically take care of it.
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