R71 IT Blog

Linux: tcp keep alive setting

Linux: tcp keep alive setting 150 150 Roderick Derks

Sometimes it’s handy to change the time interval that Linux has to check tcp connection statusses. Current setting in seconds:# cat /proc/sys/net/ipv4/tcp_keepalive_time Change to 15 minutes: # echo 900 > /proc/sys/net/ipv4/tcp_keepalive_time This is not permanent ..  and you must place in an init proc… # vi /etc/sysctl.conf net.ipv4.tcp_keepalive_time =900 The following settings I used for…

read more

Kwalijke vooroordelen over IT-ers

Kwalijke vooroordelen over IT-ers 150 150 Roderick Derks

Vandaag een aardig stukje gelezen over de vooroordelen die (vooral) managers hebben over IT-ers. En dan hebben we  het over  de stereo-typering dat “IT-personeel doorgaans bestaat uit sociaal brakke nerds met een ego-probleem”. Ik heb dit soort uitspraken laatst nog uit de mond van een recent in mijn bedrijf aangenomen manager gehoord. Toen ben ik…

read more

Linux commands – A practical reference

Linux commands – A practical reference 150 150 Roderick Derks

Command Description • apropos whatis Show commands pertinent to string. See also threadsafe • man -t man | ps2pdf – > man.pdf make a pdf of a manual page which command Show full path name of command time command See how long a command takes • time cat Start stopwatch. Ctrl-d to stop. See also…

read more

Nagios plugins available for download

Nagios plugins available for download 491 250 Roderick Derks

Almost two years ago I uploaded some nagios plugins to nagiosexchange.com, nowadays monitoringexchange.com. I make the downloads available via my own website too so if you are looking for some plugins these might be handy: APC check_apc_ups Plugin to check the status of different APS UPS systems. APC check_apc_env Plugin to check the temperature and…

read more

VMware: Deploy Template grayed out

VMware: Deploy Template grayed out 150 150 Roderick Derks

You can run into the problem when you want to deploy a VM from a template the options are greyed out, even afterrestarting the vCenter services. PowerCLI to the rescue:   $templates = Get-Template * foreach($item in $templates){ $template = $item.Name #Convert Template back to VM Set-Template $template -ToVM -RunAsync #Convert Template back to template…

read more

Nokia 6230i streetrace record

Nokia 6230i streetrace record 150 150 Roderick Derks

My old Nokia is replaced by a less older Nokia 6230i and it comes with a few games. I started to play Streetrace and it’s pretty addictive. So last night in stead of going to bed to get some really needed sleep I started playing and scored a new record. Good enough for me to…

read more

HPUX Itanium: replace mirrored boot disk

HPUX Itanium: replace mirrored boot disk 150 150 Roderick Derks

[ELITIL] ELITIL2: / # uname -aHP-UX ELITIL2 B.11.23 U ia64 0686319827 unlimited-user license [ELITIL] ELITIL2: / # modelia64 hp server rx4640 To see which hardwarepath is connected to which scsi address (and to see if Unix has CLAIMED the device, that is loaded a driver for it): [ELITIL] ELITIL2: / # ioscan -fnC disk

read more

VMware: registry edit after a P2V

VMware: registry edit after a P2V 150 150 Roderick Derks

Handy registry keys to check after doing a P2V Configuration of network connections is mostly mest up. Clean up under hte following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network To find uninstall options for software not registrated in the Microsoft software tool:HKEY_LOCAL_MACHINE\software\Microsoft\Windows\CurrentVersion\Uninstall

read more

vi editor command summary

vi editor command summary 150 150 Roderick Derks

Starting vi     Command Description vi file start at line 1 of file vi +n file start at line n of file vi + file start at last line of file vi +/pattern file start at pattern in file vi -r file recover file after a system crash Saving files and quitting vi   Command Description :e file edit file (save current file…

read more

Openfiler, Freenas and RSYNC

Openfiler, Freenas and RSYNC 150 150 Roderick Derks

To Openfiler From Another Machine (a Freenas server) In Freenas run the RSYNC service Goto Services > RSYNC > Server > Modules and create a module from the right directory Use ssh to log into your Openfiler box To query which modules are available (notice the double colon):# rsync freenas.yourdomain.com::DATA            MY DATA To rsync from…

read more

Automatically create DHCP addresses from the commandline

Automatically create DHCP addresses from the commandline 150 150 Roderick Derks

Create a csv file, each line contains :   10.20.220.0,10.20.221.238,00409D3C40FD,09-200-0277   10.20.220.0 = scope 10.20.221.238 = ip adress 00409D3C40FD = MAC adress 09-200.0277 = hostname    Then execute the following command that uses the file to make the reservations: for /f “tokens=1-4 delims=,” %G IN (list.csv) do netsh dhcp server \\dhcp_servername scope %G add reservedip…

read more

Nortel portdiscoverer script

Nortel portdiscoverer script 150 150 Roderick Derks

A couple of months ago I developped this script that pulls information out of Nortel routers and switches via snmp, and then creates a list with the following information about each connected device of which the interface (NIC) is up and running: MAC address IP address DNS name Stack Switch Portnumber Result: The output of…

read more

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message