CLI Guide
Input -i — Species the index of the e-mail alert to test.
Output
Success: Test e-mail sent successfully
Failure: Unable to send test e-mail
Example Commands for the cfgEmailAlert group:
• Enable the alert —
racadm config -g cfgEmailAlert -o cfgEmailAlertEnable -i 1
• Set the destination e-mail address —
racadm config -g cfgEmailAlert -o cfgEmailAlertAddress -i 1
user1@mycompany.com
• Set the custom message that is sent to the destination e-mail address —
racadm config -g cfgEmailAlert -o cfgEmailAlertCustomMsg -i 1 "This
is a test!"
• Make sure that the SMTP IP address is congured properly —
racadm config -g cfgRemoteHosts -o cfgRhostsSmtpServerIpAddr
192.168.0.152
• View the current e-mail alert settings —
racadm getconfig -g cfgEmailAlert -i <index>
where <index> is a number from 1 to 4.
testfeature
The following tables describe the testfeature subcommand options.
Option
Description
-f <feature> Species the feature name. testfeature supports the following
features:
• ad — Tests Active Directory conguration using simple
authentication (user name and password).
• adkrb — Tests Active Directory conguration using the
Kerberos authentication.
• ldap — Tests LDAP conguration and operation (requires user
name and password).
-u <username> The user name specied in an appropriate format for the selected
authentication method. That is, Active Directory users are specied
as user_name@domain_name.
-p <password> The password for the indicated user account.
-d <bitmask> A bitmask (specied as a hexadecimal value) to select various
diagnostic messaging levels. This option is optional.
NOTE: -d option is not supported with the remote racadm
interface.
testfeature -f ad
Description
Tests Active Directory conguration using simple authentication
(user name and password). Use the optional -d switch to obtain
additional diagnostic information, as needed.
RACADM Subcommand Details 103