Wednesday 28 May 2014

Mail merge in word 2003

Had to do this but couldn't remember

Get data in an excel file
Tools -> Letters and Mailings -> Mail Merge
Letters -> Use current document -> Browse (select the excel file)
Select the table with the data
Click ok
Click more items and select the fields you want

Wednesday 21 May 2014

taking over a users session in citrix

Go to the citrix web interface 
Login as an admin user
Login to the citrix server that the user’s session is on
Start -> run -> tsadmin.msc (or use the tscon commandline)
Right click on the users session and click connect you will have to enter the users password

vSphere Error - 'The operation is not allowed in the current connection state of the host'


http://www.petenetlive.com/KB/Article/0000848.htm

Needed to restart the VMware Virtual Center Server service. I had to log onto the console of the VM host and use the restart management services option


vmware power CLI

VMware powerCLI can be downloaded from VMware.
You can use it to run powershell scripts against your VM's

Tuesday 20 May 2014

sflow and netflow

Most monitoring systems can tell you you that a port is being maxed out. You have to trace that traffic back to the switch its coming from and view all the ports connected there to see what is using the traffic. It can be time consuming and half way through the traffic can stop.

Netflow and sFlow can help with this.

Netflow is a feature that was introduced on Cisco routers that give the ability to collect IP network traffic as it enters or exits an interface. By analyzing the data that is provided by Netflow a network administrator can determine things such as the source and destination of the traffic, class of service, and the cause of congestion. Netflow consists of three components: flow caching, Flow Collector, and Data Analyzer.

sFlow uses sampling to achieve scalability and is, for this reason, applicable to high speed networks (gigabit per second speeds and higher). sFlow is supported by multiple network device manufacturers and network management software vendors.

An sFlow system consists of multiple devices performing two types of sampling: random sampling of packets or application layer operations, and time-based sampling of counters. The sampled packet/operation and counter information, referred to as flow samples and counter samples respectively, are sent as sFlow datagrams to a central server running software that analyzes and reports on network traffic; the sFlow collector.

You should try to use sFlow instead of netflow because of the performance hit. Netflow is more like port mirroring. Your device needs to support it and you need some software to analyze the data. There are lots of free and paid tools to do it. First step is contacting your vendor and asking them how you can configure it. You may be limited to netflow / port mirroring. In those cases you need to plug a laptop into the port on the device that's mirroring with the software running.

http://sflow.org/products/collectors.php

Free tool for netflow
http://www.solarwinds.com/products/freetools/netflow-analyzer.aspx
Solarwinds also offter a paid product.