Show Menu
Cheatography

BMC Discovery Cheat Sheet (DRAFT) by

Command line for BMC Discovery console

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Connec­tivity

wget -t1 -T1 $host:22
Try SSH connection
curl -vL $url
Try API connection

Services & Utilities

tw_ser­vic­e_c­ontrol --stop
Stop services
tw_ser­vic­e_c­ontrol --start
Start services
tw_ds_­compact --offline
Compact datastore
 

Logs & Debbuging

grep $ip /usr/t­ide­way­/lo­g/t­w_s­vc_­dis­cov­ery.log
Search IP address in log file

User Admini­str­ation

tw_lis­tusers --filter $user
Check user and password state
tw_upduser --active $user
Unblock user
tw_passwd $user
Change password
tw_upduser --pass­wd-ok $user
Enable password
tw_adduser $user
Create user