Dell PowerEdge FX2 Dell PowerEdge FX2 and FX2s Enclosure Owners Manual - Page 85

testfeature, Example, cfgEmailAlert, Option, Description, testfeature -f ad

Page 85 highlights

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 [email protected] • 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 configured properly - racadm config -g cfgRemoteHosts -o cfgRhostsSmtpServerIpAddr 192.168.0.152 • View the current e-mail alert settings - racadm getconfig -g cfgEmailAlert -i where is a number from 1 to 4. testfeature The following tables describe the testfeature subcommand options. Option -f -u < username > -p < password > Description Specifies the feature name. testfeature supports the following features: • ad - Tests Active Directory configuration using simple authentication (user name and password). • adkrb - Tests Active Directory configuration using the Kerberos authentication. • ldap - Tests LDAP configuration and operation (requires user name and password). The user name specified in an appropriate format for the selected authentication method. That is, Active Directory users are specified as user_name@domain_name. The password for the indicated user account. -d < bitmask > A bitmask (specified 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 configuration 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. 85

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

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 -
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 configured 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>
Specifies the feature name.
testfeature
supports the following features:
ad — Tests Active Directory configuration using simple authentication
(user name and password).
adkrb — Tests Active Directory configuration using the Kerberos
authentication.
ldap — Tests LDAP configuration and operation (requires user name and
password).
-u
<
username
>
The user name specified in an appropriate format for the selected
authentication method. That is, Active Directory users are specified as
user_name@domain_name.
-p
<
password
>
The password for the indicated user account.
-d
<
bitmask
>
A bitmask (specified 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 configuration 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.
85