Setting up to run BLCLI commands in an NSH shell
For quick reference, this topic provides an authentication and connection sequence that you can use at the start of an NSH shell session. Substitute appropriate values for your environment (service profile name, user name, password, and so forth.)
- Open a command prompt and start NSH by typing
The prompt changes to your NSH prompt.
Assuming that you have set up authentication, (see Setting up authentication), use the
blcli_setoptioncommand to specify the service profile and role you want to use.
MY_NSH_PROMPT% blcli_setoption serviceProfileName myServiceProfile MY_NSH_PROMPT% blcli_setoption roleName BLAdmins
Populate the credentials cache.
MY_NSH_PROMPT% blcred cred -acquire -profile myServiceProfile -username testUser -password testPassword Authentication succeeded: acquired session credential
- Connect to the Application Server.
Now you can run any BLCLI commands that you want to run.