New Screencasts of Hyper-V and VirtualPC2007

29 01 2008

Check out my screencasts here. No tutorials or additional information but enough to get a feeling and maybe check out the features yourself.

  • Hyper-V Role Installation
    Hyper-V New Virtual Machine
    Hyper-V Virtual Network Switch VLAN
    Hyper-V Virtual Machine Connection and Copy Paste fun with Windows Server serial number
    VirtualPC 2007 Installation
    VirtualPC 2007 CactiEZ.v0.3 Installation



VMWare Player cmd startup script

29 01 2008

Did you ever tried to automate the process of having a script or shortcut to automatically start a virtual guest with VMWare Player? After you login you can start VMWare Player and locate the virtual machine or click the recent one but still you need to control this process. Maybe you want to start the virtual machine at system startup with Scheduled Tasks or instruct a user to click on a specific shortcut for a pre-created virtual machine he needs to test.

I created a small script which can used for this process. Create new file in notepad and paste the commands below. Make sure the VMWare Player installation path is correct and the location of your VMWare guest.

@Echo off

REM VMWare Player cmd script for virtual guest startup

REM Ivan Versluis @ Networknet.nl

REM Email: Ivan.Versluis@networknet.nl

REM Date: 29/01/2008

"C:\Program Files\VMware\VMware Player\vmplayer.exe" "C:\VMWareGuests\Server\Windows Server 2003 Standard Edition.vmx"

The result ;)

image



Software Virtualization Trinket v1.0.0.11

29 01 2008

The Software Virtualization Trinket (heretofore known as "Trinket") is a utility that resides in the Windows system tray and allows users to perform a number of SVS tasks.

 

 image

 

To download the latest version go to here; this is a MSI installation. I already put this tool into a SVS layer and can be download from here.



CactiEZ 0.30 Device Tracking Management error save failed

29 01 2008

After installing CactiEZ 0.30 and you start using the Device Tracking Management (MacTrack plugin) area you may receive the following error when creating new site or device.

2008-01-29_134623

Error: save Failed.

 

This error is being generated by the Cacti system because there are no tables in the Cacti database.

Login on the console or with a ssh shell and execute the following commands

cd /var/www/html/plugins/mactrack

php database_upgrade.php

2008-01-29_135443

I have couple other issues after scanning a cisco switch, which I will need to follow up on the cactiusers.org forum. The device type list is empty in the newest version of CactiEZ and you will need to populate this yourself now.



CactiEZ 0.3 download and install tutorial VMWare Workstation

27 01 2008

In this tutorial I am going to show you how easy it is to install CactiEZ appliance and run this as a virtual guest appliance in VMWare Workstation. After the installation the virtual guest is portable and can be moved to a VMWare Server installation. Note from http://cactiusers.org what CactiEZ appliance is. If you never heard or used this open source monitoring tool than now it is the time to get this thing up and running.

CactiEZ is the fastest possible way to get up and running with Cacti. CactiEZ is an auto-installing CD based on CentOS 4.3∞. The disk is a completely remastered CD (from the 4 CD version, not the Server CD) and stripped down to the bare essentials (no GUI). The CD weighs in at roughly 355 Megs, and installed is roughly 855 Megs. At only 305 packages, it still includes a preconfigured firewall (only allowing http, https, ssh, netflow, webmin, and remote Syslog).

Go to http://cactiusers.org/downloads/ and download the latest CactiEZ 0.3 stable appliance.

image

Current size of the zipped file is 292MB. Save it and extract the files with your favorite tool. I use WinRAR, but the 7z will also do the job .

Create new virtual machine based on Red Hat Enterprise Linux 3 and use all defaults; for the virtual disk I assigned 64GB.

image

Open the properties of the cd-rom drive and locate the CactiEZ iso file.

image 

Start the virtual guest machine. Press enter and watch the show. My installation took me 3 minutes.

1 2

3 4

Login and use the root/CactiEZ to login. Change the password with passwd command! Rule of thumb is to always change the default passwords.

netstat -an | grep “LIST” will show all listining ports on the appliance.

image

22 (SSH), 80 (HTTP), 443 (HTTPS) and 10000 (webadmin) are important tcp (L4) ports. Go to http://ipaddress and login with admin/admin. Change the password.

Cacti is ready for use.

clip_image001

Check the CentOS and VMWare tools post how to install them from SSH shell.



How to backup or export WSUS 3.0 database?

25 01 2008

Go to http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en and download the Microsoft SQL Server Native Client & Microsoft SQL Server 2005 Command Line Query Utility packages. Install these two msi files on the WSUS server.

Start CMD command shell and start the sqlcmd with the following options.

sqlcmd -S \\.\pipe\mssql$microsoft##ssee\sql\query -E

Now you are connected to the Windows Internal Database based on SQL Server 2005 edition which is used by WSUS 3 and some other included Windows Components like Windows Share Point Services 3.0.

To backup the database copy or type the sql command below. Change DISK option to a local folder of the server.

1> BACKUP DATABASE [SUSDB] TO DISK = N’G:\WSUS\UpdateServicesDbFiles\SUSDB.BAK’ WITH NOFORMAT, INIT, NAME = N’WSUS Database Backup’, SKIP,NOREWIND, NOUNLOAD, STATS = 10

2> Go

clip_image002