Skip to content

img0

HyperStore Shell

Create HSH User

Instructions

  1. Select Users & Groups
  2. Select Manage Users
  3. Click on New User
  4. Enter hshuser1 in User ID
  5. Select “System Admin” in User Type
  6. Type @Hshuser1 for the Password and Confirm
  7. Click Save

Login as HSH user

Instructions

  1. Logout of Node 1
  2. Log-in using SSH user sa_hshuser1 for HyperStore Shell
  3. Input hshuser1 CMC password for SSH

Info

Remember, new HSH users are their cmc username prefixed with sa_

Instructions

  1. Select select 0 to start a new session or s to Start a Sessionless Shell
  2. Press TAB to see list of available commands
  3. As you can see, this is NOT a standard linux shell and is strictly limited in its function

Show Commands

Instructions

  1. Whilst logged into hsh, type
    help
    

Note

As a regular HSH admin user, you cannot run all of these commands.
Eg

hspkg install
Will result in permission denied. In order to run all commands the trusted role must be added to the hsh user once created.


Add trusted role to new hsh user

Note

Initially only the sa_admin user has the trusted role so in order to add the trusted role to another hsh user you must first login as the sa_admin user.

Instructions

  1. Logout of sa_hshuser1 by typing exit
    exit
    
  2. Login to Node1 as sa_admin and password used for the cmc admin user.
  3. Set the sa_hshuser1 to trusted role
    hspkg role -a sa_hshuser1 trusted
    
    hsctl config apply hsh
    

Instructions

  1. Logout from the sa_admin user by typing exit
    exit
    
  2. Login to Node 1 as the sa_hshuser1 user.
  3. Now run the cloudianInstall.sh command using hspkg
    hspkg install
    
  4. You will now find, instead of permission denied, the cloudianInstall.sh script will launch.

Note

Trying to run the cloudianInstall.sh script directly from the installation staging directory will fail. You can only run the installer using hspkg install as a hsh user.


Configuration Change using HSH

Instructions

  1. Ensure you are logged in as sa_hshuser1 user
  2. Open the common.csv configuration file
    hspkg config --edit common.csv
    
  3. In the 'vi' editor, type /cmc_login_grouplist_enabled to search for the config option
  4. Edit the file and set the following: cmc_login_grouplist_enabled,false

Instructions

  1. Press Esc key to ensure you are not in edit mode
  2. Then Press Shift Key + Z + Z to save and quit the file common.csv

Instructions

  1. Run the cloudianInstall.sh script
    hspkg install
    
  2. Choose option 2) Cluster Management then option b) Push Configuration Setting to Cluster
  3. Press Enter to push changes to all nodes. Remember to exit the script on completion.

Instructions

  1. Open your CMC and check the log-in page. The group dropdown menu should be disabled and you must now type your group name instead


Remove trusted role

Instructions

  1. Logout of sa_hshuser1
    exit
    
  2. Login to Node 1 as sa_admin user and password used for the cmc admin user.
  3. Run
    hspkg role -d sa_hshuser1 trusted
    
    hsctl config apply hsh