четверг, 30 июня 2011 г.

vCenter and Oracle DB

Post Deployment tuning for Oracle 11 g R2

Oracle DB
  • In vCenter Server 4.1, add a Unique Index in the VPXV_DEVICE_COUNTER table for better performance.
    create unique index VPXI_DEVICE_COUNT_IDX on VPXV_DEVICE_COUNTER(entity_id, device_name, stat_id);
  • In all Oracle instances (VCREP, VUMREP, etc.) set default policy to disable password aging
http://www.vmware.com/files/pdf/techpaper/vsp_41_perf_VC_Best_Practices.pdf

вторник, 14 июня 2011 г.

Unobvious perl

system("hash svn") and system("hash svn >/dev/null") return different values, because hash is shell built-in function and
If there is only one scalar argument, the argument is checked for shell metacharacters, and if there are any, the entire argument is passed to the system's command shell for parsing (this is /bin/sh -c on Unix platforms, but varies on other platforms). If there are no shell metacharacters in the argument, it is split into words and passed directly to execvp , which is more efficient.
 Perldoc system