HyperStore Shell
Create HSH User
Instructions
- Select Users & Groups
- Select Manage Users
- Click on New User
- Enter hshuser1 in User ID
- Select “System Admin” in User Type
- Type @Hshuser1 for the Password and Confirm
- Click Save
Login as HSH user
Instructions
- Logout of Node 1
- Log-in using SSH user sa_hshuser1 for HyperStore Shell
- Input hshuser1 CMC password for SSH
Info
Remember, new HSH users are their cmc username prefixed with sa_
Instructions
- Select select 0 to start a new session or s to Start a Sessionless Shell
- Press TAB to see list of available commands
- As you can see, this is NOT a standard linux shell and is strictly limited in its function
Show Commands
Instructions
- Whilst logged into hsh, type
help
Note
As a regular HSH admin user, you cannot run all of these commands.
Eg
hspkg install
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
- Logout of sa_hshuser1 by typing
exit
exit
- Login to Node1 as sa_admin and password used for the cmc admin user.
- Set the sa_hshuser1 to trusted role
hspkg role -a sa_hshuser1 trusted
hsctl config apply hsh
Instructions
- Logout from the sa_admin user by typing
exit
exit
- Login to Node 1 as the sa_hshuser1 user.
- Now run the cloudianInstall.sh command using hspkg
hspkg install
- 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
- Ensure you are logged in as sa_hshuser1 user
- we are going to modify the cmc login page to surpress the Group dropdown list
hsctl config set cmc.login.groupList.enabled=false hsctl config apply cmc hsctl service restart cmc --nodes=ALL
Instructions
- 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
- Logout of sa_hshuser1
exit
- Login to Node 1 as sa_admin user and password used for the cmc admin user.
- Run
hspkg role -d sa_hshuser1 trusted
hsctl config apply hsh