CLI Guide

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 congured 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.
Table 104. Details of testfeature
Option Description
-f <feature> Species the feature name. testfeature supports the following features:
ad — Tests Active Directory conguration using simple authentication (user name and password).
adkrb — Tests Active Directory conguration using the Kerberos authentication.
ldap — Tests LDAP conguration and operation (requires user name and password).
-u < username > The user name specied in an appropriate format for the selected authentication method. That is,
Active Directory users are specied as user_name@domain_name.
-p < password > The password for the indicated user account.
-d < bitmask > A bitmask (specied 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.
Table 105. Details of testfeature -f ad
Description Tests Active Directory conguration using simple authentication (user name and password). Use the
optional -d switch to obtain additional diagnostic information, as needed.
This subcommand when executed performs the following:
Checks command syntax.
Veries whether the required system resources are available.
Validates Active Directory conguration.
90 RACADM Subcommand Details