Cisco – Stop console messages

Sometimes when logged into a router or switch via the null modem (console port) the console messages make it hard to see the commands you are trying to run.

There is a way to turn off the messages on the console session. Log on to your switch router, enter into configuration terminal mode then type…

no logging console

Done

ESXi 4 – new features

ESXi 4 has been released under a new infrastructure name “VMware vSphere 4.0”

Some of my favorite features so far;

  • Host Profiles – Finally you can just apply a host profile to a newly created vmhost. Previously this was a pain to setup all the storage / vlan configuration on each host.
  • Thin Provisioning – Awesome, now disk can be allocated dynamically allocated as needed. Just like it is on vmware virtual server. Perfect for a lab environment where performance is not needed.

http://vmware.com/

DHCP Client – Error 5: Access is denied.

I’ve had this on a few windows 2003 machines, where the “DHCP client” service refuses to start and prompts with an access denied window.

Unsure of the cause at this point (it may be a security patch), but here is the fix…

Give the local “network service” account full rights to the following registry key;

hkey_local_machine\system\currentcontrolset\services\dhcp

Now try starting the service, should work. In some cases you may also need to add the rights to the following key..

hkey_local_machine\system\currentcontrolset\services\tpip

Done.

McAfee – Setting ePO via client package

I’ve been doing a bit of work recently on McAfee 8.7i enterprise and ePO 4. I wanted to push out the McAfee client via SMS straight after a gold disk build…

First you need to export the repository sitelist.xml and the various keys from your ePO server…

The security keys must be located in the same folder as the site list. Use ePolicy Orchestrator to export the files:

  1. Export the siteinfo file:
    1. Select Software | Master Repository.
    2. Click Export Sitelist.
    3. Save the file to a new location.
  2. Export the security keys:
  1. Select Configuration | Server Settings | Security Keys, and click Edit.
  2. Select Master Agent-server secure communication key, and click Export.
  3. Save the files to the same location as the siteinfo file.

Next you need to create your FramePkg.exe via ePO. Go to systems, click “new systems” near bottom left, then choose “create and download agent installation package”, save this into your shared install directory.

Now to deploy run this from the shared location (or via sms);

framepkg.exe /install=agent /forceinstall /s

I generally use /forceinstall to stop any issues with versioning. /s is for silent install.

Done.

Flashing si3114 to sata only bios

This is the perfect controller for adding additional sata drives into opensolaris (well in terms of price, the bandwidth of the PCI slot is the only negative part). The si3114 comes with the default bios that supports various raid configs, but this requires additional drivers to be loaded.

Essentially the “raid” on the card is called fakeraid as it does not actually process any data itself, but hooks into the cpu via a driver and lets your cpu do all the work.

Instead we will flash the bios to be a sata only controller (no raid). If we are using ZFS its better to just present the disks and let the OS take care of the work.

You will need these tools;

bio-003114-x10_5403 – the various bios’s for the si3114 card

siflashtool – the flashing tool

Note : you must plug in a hard drive into the card or else the flash will not work.

From the zip above you want to grab this file for the bios flash “b5403.bin” the other is for raid and can be ignored.

Now you’ll need to grab your trusty bootable flash drive / usb stick. If you dont have one check out HP’s tool for creating one (else you could use a floppy boot disk if you still have one). Copy the files onto it, and boot it up.

The instructions say you can flash in windows, but i never had any luck with that – instead found booting to dos a much more reliable method. This is the commandline to run it;

SiFlashTool /File:b5403.bin

Done.