USING HYPERSTORE WITH OBJECT LOCK 6
2. Enable the HSH and disable the root account password. What follows is a brief example using the
default admin user. In practice, other user accounts will be used. For details see section 4.3.1.2,
Enabling the HSH and Managing HSH Users in the 7.2 administrators guide.
a. Log into the Puppet Master node as the root user.
b. Check to confirm that the HSH is currently disabled. The command that will be used is
hsctl, a new node management tool that remains mostly behind the scenes in HyperStore
7.2 but will be more prominent in future releases.
[root@hst72]# hsctl config get hsh.enabled
False
c. Set hsh.enabled to true.
[root@hst72]# hsctl config set hsh.enabled=true
d. Push the configuration change out to the cluster.
[root@hst72]# hsctl config apply hsh
e. Confirm that HSH is now enabled.
[root@hst72]# hsctl config get hsh.enabled
True
3. HSH is now enabled in your system, but no users are yet able to log into it. To provision the default
admin user (and others) for HSH do the following steps:
a. After installing or upgrading to HyperStore 7.2, log into the CMC as the "admin" user
b. Change the "admin" user's password. This password change causes the system to create
a corresponding HSH user.
4. Once an HSH user has been created, that user can use SSH to log into any HyperStore node.
Upon login, the user's shell will be the HyperStore shell. The prompt will appear as follows:
5. For the default admin user, the prompt will appear as follows:
sa_admin@hyperstore1$
6. You can confirm that you are in the HyperStore shell by typing help:
sa_admin@hyperstore1$ help
DISABLING THE ROOT USER PASSWORD
To disable root password access to all HyperStore nodes:
1. As root, log into the Puppet Master node and then change into the staging directory (/opt/cloudian-
staging/<version>).
2. Launch the HyperStore installer.
./cloudianInstall.sh
3. In the installer main menu enter 4 for "Advanced Configuration Options", then at the next menu
enter m for "Disable the root password").
4. Follow the prompts to disable the root password.
After exiting the installer, log out from the node. Then try to log back in as root, using the root password --
the login attempt should fail. Then log in as sa_admin or another HSH user, with that user's password. The
login should succeed, and you should be in the HyperStore shell.