Posts

Showing posts from February, 2010

Response time impact

Amazon claim that just an extra one tenth of a second on their response times will cost them 1% in sales. Google said they noticed that just a half a second increase in latency caused traffic to drop by a fifth.

From blog on Brewer's CAP Theorem

Windows tools - not on *nix :(

xmlshell lightweight xml editor
baretail tabbed tailing for windows

LDAP

Red Hat / Cent OS networking config

/etc/hosts
  127.0.0.1 localhost.localdomain localhost
  ::1 localhost6.localdomain6 localhost6

/etc/sysconfig/network
  NETWORKING=yes
  NETWORKING_IPV6=yes
  HOSTNAME=localhost.localdomain

/etc/sysconfig/network-scripts/ifcfg-<interface-name, i.e., eth0>
  TYPE=Ethernet
  DEVICE=eth0
  BOOTPROTO=static
  IPADDR=192.168.1.21
  NETMASK=255.255.255.0
  USERCTL=yes
  HWADDR=00:0C:29:CA:5F:05
  IPV6INIT=no
  IPV6_AUTOCONF=no
  ONBOOT=yes
  GATEWAY=192.168.1.1
  NETWORK=192.168.1.0
  HOSTNAME=someHostName

/etc/resolv.conf
search axeda.com
  nameserver 192.168.0.28
  nameserver 192.168.0.23

/etc/hostname - set via above


CentOS network config
CentOS network config files

Starting and killing X / gdm

Ubuntu with ATI video low res mode

On Ubuntu 9.10 Karmic Koala, Dell Studio 1737 with ATI, the display config became corrupted and the system would only boot into low res mode.

I often reconfiguring the display for dual mode and disable the laptop display to force the menus onto the larger external display then re-enable the laptop display to use both spaces. This was working fine on Ubuntu 8.10 Intrepid Ibex.

After updating to 9.10 the display settings become corrupted while attempting this same sequence of operations.

To fix it, delete: /etc/X11/xorg.conf
Then execute: dpkg-reconfigure xserver-xorg

Reconfiguring the display alone didn't work.

VMWare ESXi

To get the client, connect to ESXi server via browser and there is a menu where you can download the client.

Connect to a server and click on console to administer the OS.

To get the mouse out of vSphere client ctrl+alt

To copy vm instance from one system to another use vmconverter

When copying from one environment to another the encoding may conflict: File already has an encoding of "UTF-8". Cannot open configuration file ...

Fix encoding by following this blog entry.

JBoss

Enable jmx-console:

jboss-eap-4.3\jboss-as\server\ServiceLink\conf\props\jmx-console-users.properties
uncomment admin=admin



Clear work dir when context destroyed (undeploy):

DeleteWorkDirOnContextDestroy
in:
$JBOSS/server/default/deploy/jboss.web.deployer/META-INF/jboss-service.xml