0

Code snippets : List all logical disks in Windows 7 Command Prompt

-

Recently I was wondering how to list all available drives in Windows 7 PE Command Prompt. That happened to me when stuck in PXE boot command prompt window trying to find out what letter is assigned to USB stick I just plugged in. It looks like it’s not quite straightforward activity 🙂

(more…)

8

How-to : Using WebSVN as RANCID repository access tool

-

In previous articles in the RANCID series I described:

So, we have RANCID collecting configuration from network devices to repository with version control. Only question is how to get access and make use of information collected there.

In this part of RANCID stories I will show how to install and configure WebSVN to access RANCID repository via web browser.

(more…)

3

How-to : Adding devices to RANCID

-

Some time ago I described How to : Install RANCID on openSUSE 11.4 “Celadon”. However, just after installation RANCID will do nothing without proper configuration.

So, in this lab I will show how to:

  • create group of devices in rancid
  • add information about credentals to RANCID
  • add 2 Cisco routers to that group
  • collect configuration from routers
  • setup cron task to run rancid automatically

Systems which will be used to demonstrate how to add device to RANCID and collect configuration:

  • lab-gw-01 – IP: 172.16.90.5 – openSUSE witn RANCID – installed on VMware Workstation
  • lab-r1 – IP: 172.16.90.123 – Cisco router – started on GNS3
  • lab-r2 – IP: 172.16.90.124 – Cisco router – started on GNS3

(more…)

0

Code snippets : Exchange Server : Count messages submitted by user

-

In some companies performance is measured based on number of emails someone sent. regardless the reason for those emails and content, what matters the most is if someone is sending something to others. So, I was asked to produce quick count how many emails one individual sent.

Here is quick PowerShell command which I ran on Exchange 2007 Mailbox server to find requested number:

(more…)

0

First look : System Center Operations Manager 2012 RC installation screenshots

-

As we can download SCOM 2012 RC from Microsoft, I decided to do quick installation in LAB environment. Whole test environment is based on VMware Workstation 8. Deployment of SCOM 2012 will be spread across few servers to separate certain functions (in fact similar to real-life deployments). For SCOM2012 deplyoment I will use following servers:

  • lab-dc-01 – Domain Controller – Windows Server 2008 R2
  • lab-sql-01 – SQL Server – Windows Server 2008 R2 + SQL Server 2008 R2
  • lab-net-01 – SCOM 2012 Management Server – Windows Server 2008 R2 + SCOM 2012 Management Server
  • lab-wks-01 – SCOM 2012 Management Console – Windows 7 x64 Ultimate + SCOM 2012 Management Console

This will be mainly screenshot tour through installation phases of SCOM2012.

Here is schematics of the lab:

(more…)

5

How-to : Create virtual machine template for VMware Workstation 8

-

Often using VMware Workstation platform we need to quickly create new virtual machine. reasons for that might be different. For example additional machine for our Lab environment or just quick test without affecting other machines we have setup in our virtual environment.

Installing whole operating system with all applications we used to have in our setup might be time consuming process. That is why it is worth to consider creating and using templates to be able quickly generate virtual machines we need.

(more…)