• Home
  • Cisco
  • Exchange
  • Linux
  • Navision
  • Network
  • Virtualization
  • Windows
  • About
  •  

    scheduled job in debian – crontab

    June 22nd, 2010

    Show jobs with: crontab -l
    Edit jobs with: crontab -e

    Examples:
    44 13 * * * /etc/webmin/cron/tempdelete.pl
    00 3  * * * /root/restartMySQL.sh
    First line runs script every day at 13:44
    second line runs script every day at 3:00

    restartMySQL.sh
    #! /bin/sh
    /etc/init.d/mysql restart

    Remember execute right
    dos2unix restartMySQL.sh
    apt-get install tofrodos


    Enable jumbo frames – MTU 9000 on ESX

    June 21st, 2010

    vswitch AND portgroup needs to support MTU 9000 for optimal iscsi performance.

    esxcfg-vswitch -l
    esxcfg-vmknic -l

    Change MTU on vSwitch
    esxcfg-vswitch -m 9000 vSwitch1

    Add vmk with MTU 9000 support
    esxcfg-vswitch -A ISCSI vSwitch1
    esxcfg-vmknic -a -i 172.16.0.32 -n 255.255.255.0 -m 9000 ISCSI

    Jumbo frames MTU 9000 test to an iscsi target
    vmkping 172.16.0.10 -s 9000


    Disable Browser choice

    June 12th, 2010

    BrowserChoice.reg