vSphere has Native Multi Pathing (NMP) that offers the Round Robin (RR) Path Selection Policy (PSP). Round Robin send all IOPS down a single active path until the number of IOPS sent down that path reaches the limit defined by the IOOperation Limit setting before it moves to the next available active path. It will cycle through all active paths.
The default setting for Round Robin PSP is 1000 IOPS.
Changing the IOPS setting is done through the vSphere CLI. The commands below are for ESXi 5.x , the commands are different for ESXi 4.x.
ESXi 5.x
Set the IOPS for a datastore
esxcli --server=192.168.1.10 --username=root storage nmp psp roundrobin deviceconfig set -d naa.600xxxxxxxxxxxxxxxxxxxxxx -t iops -I 1 (changes setting to 1)
Check the IOPS setting for a datastore
esxcli --server=192.168.1.10 --username=root storage nmp psp roundrobin deviceconfig get -d naa.600xxxxxxxxxxxxxxxx
Set the IOPS back to default (1000)
esxcli --server=192.168.1.10 --username=root storage nmp psp roundrobin deviceconfig set -d naa.600xxxxxxxxxxxxxxxxxxxxxx -t default
NOTE:
- the setting must be set FOR EACH datastore on EACH host
- can also have the setting change by number of bytes instead of each IOP
-t bytes -B 262144 (would change setting to switch paths every 256K)
VMWare KB article, http://kb.vmware.com/kb/2069356
for i in `esxcfg-scsidevs -c |awk '{print $1}' | grep naa.xxx`; do esxcli storage nmp psp roundrobin deviceconfig set --type=iops --iops=1 --device=$i; done
Monday, August 12, 2013
Wednesday, August 7, 2013
Split a PST file into yearly archives / Archive based on year
Split a PST file into yearly archives / Archive based on year
Can be done using the Archive feature in Outlook. You MUST configure Outlook to archive based on Received date first.
- open the Archive feature (Outlook 2010, File->Cleanup Tools->Archive)
- click on the top level folder to select the entire mailbox rather than the currently selected folder
- set the "Archive items older than:" date to the 1st of January fo the year after you want to create your first archive for (ex. for a 2010 archive, set to January 1st, 2011)
- specify a name and location for your PST file for 2010
- after archiving has finished, repeat the steps but change the date for another year
Can be done using the Archive feature in Outlook. You MUST configure Outlook to archive based on Received date first.
- open the Archive feature (Outlook 2010, File->Cleanup Tools->Archive)
- click on the top level folder to select the entire mailbox rather than the currently selected folder
- set the "Archive items older than:" date to the 1st of January fo the year after you want to create your first archive for (ex. for a 2010 archive, set to January 1st, 2011)
- specify a name and location for your PST file for 2010
- after archiving has finished, repeat the steps but change the date for another year
Outlook Archive based on Received Date
Outlook Archive based on Received Date
By default Outlook archives emails based on Modified date. This can cause emails to "get stuck" in your mailbox (or pst) forever.
A Registry change can change the behaviour to archive based on Received date.
Outlook 2010
HCU/Software/Microsoft/Office/14.0/Outlook/Preferences
NAME: ArchiveIgnoreLastModifiedTime
TYPE: REG_DWORD
VALUE: 1
Emails will now be archived based on Received date, Calendar items based on Scheduled date and Task items based on Completed date.
By default Outlook archives emails based on Modified date. This can cause emails to "get stuck" in your mailbox (or pst) forever.
A Registry change can change the behaviour to archive based on Received date.
Outlook 2010
HCU/Software/Microsoft/Office/14.0/Outlook/Preferences
NAME: ArchiveIgnoreLastModifiedTime
TYPE: REG_DWORD
VALUE: 1
Emails will now be archived based on Received date, Calendar items based on Scheduled date and Task items based on Completed date.
Subscribe to:
Comments (Atom)