The timestamp specified must be the timestamp returned by the last symoptmz show swap_list command. If the command to approve or decline the swap list returns an error, the swap list is probably out of date and a new one is available from the service processor. The latest swap list should then be retrieved again with the symoptmz show –swap_list command.
Setting performance time windows
To set the performance time windows, use the symoptmz command with the following syntax in the command file:
set time_window id=<tw_id>, type=<SWAP | PERF>, flag=<INCLUDE | EXCLUDE>, period=<ONCE | WEEKLY | WEEKLY_BY_DAY>, starting=<date_time>, ending=<date_time>, [days=<day_list>,start_time=<hh:mm>, end_time=<hh:mm>];
where <date_time> is in the form of MMDDYYYY:HHMMSS and <day_list> is any comma-separated combination of MON, TUE, WED, THU, FRI, SAT, or SUN. For the case of WEEKLY, <day_list> must begin with one of the following: MON_START, TUE_START, WED_START, THU_START, FRI_START, SAT_START, or SUN_START, which identifies the first of a series of consecutive days to which the time window applies. The next entry identifies the day of the week, which concludes the range of days.
The WEEKLY_BY_DAY setting is equivalent to what the GUI calls “Weekly” and the days of the week must be specified. The window applies to each day specified and each day has its own window.
The WEEKLY setting is equivalent to what the GUI calls “Ranging.” The starting parameter identifies the first of a series of consecutive days that the recurring time period applies to, and the next day in the list serves as the ending day of the week to which the time period applies.
Using the set time_window command in the command file erases any previously set time windows (both swap and performance), so this command should be used with caution.
To list the performance time windows that have been set up, use the symoptmz show –composite command. The symoptmz show –parms command will also list any time windows that have been set.
Setting swap priority Use the following command to set the volume priority:
symoptmz set swap_priority <none|normal|high> [-range [Startdevname]:[Enddevname]][-n NumDevs]
Use the following command to list the priority settings for all the volumes or a range of volumes: symoptmz list [-range [Startdevname]:[Enddevname]][-n NumDevs]
Optimizer logs and swap history To get a list of all swaps that have been completed, use the following command:
symoptmz show –swap_hist
EMC Symmetrix Optimizer A Detailed Review