Console utilities

Locks setup

The utility provides auto locks setup for nodes.

  • Command:

    openstack aos agent start locks
    

The command returns zero response in case of success setup. The command returns non-zero response in case of any error occurred during setup or expired timeout (20 minutes) for waiting for volume groups or physical volumes. The command examine volume groups and physical volumes statuses every 5 seconds. Any actions are logged to aos-agent service logfile.

Example of the utility using as ExecStartPre parameter value in the aos-agent service configuration file:

[Service]
TimeoutStartSec=600s
ExecStartPre=openstack aos agent start locks
ExecStart=/usr/local/bin/aos-agent --config-file /etc/aos/agent.conf