This will provide a way to implement log file rotations by a non-privileged users using the standard Linux logrotate infrastructure. For our test case, we set up a log file that looks similar to a “normal” log file we may want to periodically roll over. howards@howards:~$ i=1 howards@howards:~$ while ; do echo $(date)... »
Archive for February, 2010
memset example
This is just a quick note so I don’t forget. On linux, you can run what is below to actually *allocate* memory. If you don’t run a memset, the memory will not show as being used in the OS. int main() { int i = 1; while(i++ < 10) { ... »
VIP migrations
We start with a two node cluster with all components up. linux2:oracle:tst10g2:/home/oracle>./crsstat.ksh HA Resource Target State ———– —— —– ora.linux1.ASM1.asm ONLINE ONLINE on linux1 ora.linux1.LISTENER_LINUX1.lsnr ONLINE ONLINE on linux1 ora.linux1.gsd ONLINE ONLINE on linux1 ora.linux1.ons ONLINE ONLINE on linux1 ora.linux1.vip ONLINE ONLINE on linux1 ora.linux2.ASM2.asm ONLINE ONLINE on linux2 ora.linux2.LISTENER_LINUX2.lsnr ONLINE ONLINE on linux2 ora.linux2.gsd ONLINE ONLINE on linux2 ora.linux2.ons ONLINE ONLINE on linux2 ora.linux2.vip ... »