CLI Guide
Input
• -d — Sets the time in the string YYYYMMDDhhmmss.mmmmmmsoff, where:
• YYYY is the four digit year
• MM is the month
• DD is the day
•
hh is the hour
• mm is the minute
• ss is the second
• mmmmmm is the number of microseconds
• s is a + (plus) sign or a − (minus) sign, which indicates the sign of the offset.
• off is the offset in minutes.
NOTE: Theoff is the offset in minutes from GMT and must be in 15-minute increments. The
timezone is represented as an offset from GMT. The clock does not automatically adjust to daylight
savings time (for -d option).
•
-z <zone> — Sets the time zone by name or index, or lists possible time zones. For example, PST8PDT
(Western United States), 294 (Seoul), 344 (Sydney).
<zone> may be:
• ? lists the major timezone names or prefixes.
• <timezone> is the case-sensitive name of your timezone or the index listed in -z
<timezone_prefix>*.
• <timezone_prefix>* is a prefix of one or more timezones, followed by '*'.
NOTE: The timezone or daylight savings time is fully supported for -land -z options. To set the
timezone only (for example -z US/Central), do not specify the -l option.
• -l — Sets the local date and time in the string YYYYMMDDhhmmss where:
• YYYY is the year
• MM is the month
• DD is the day
• hh is the hour
• mm is the minute
• ss is the second
Setting the time using the -l and -z options are recommended. This command format allows the CMC to
support local time zones. This command includes the ability to automatically adjust the CMC time to the local
Daylight Savings Time (DST).
Example
The setractime subcommand supports dates ranging from 1/1/1970 00:00:00 through 12/31/2030 23:59:59.
• To set the local time to November 24, 2012 at 3:02:30 pm
racadm setractime -l 20121124150230
The time was set successfully
• Set the timezone to 'US/Pacific':
racadm setractime -z US/Pacific
• List all 'US' time zones:
racadm setractime -z US*
setslotname
Table 113. Details of setslotname attribute
Description Sets the name of the slot in the chassis. Optionally, this command can be used to find if the slot name, host name,
or iDRAC DNS name is displayed in the CMC User Interface or with the setslotname —i <slotNum> | —h
command.
82 RACADM Subcommand Details