dMb Online

BBQ Lover, Real Ale Monster, Snowboarder, Technical Architect.

  • About Me
  • Contact

Geeky Stuff

Virtualise NT 4.0 Terminal Server Edition with Citrix MetaFrame whilst its a PDC

08/11/2012 / 1 Comment

We have a customer who has continued to work on IT infrastructure which is twelve years old. They were running three Dell PowerEdge 2400 servers running Windows NT 4.0; it’s a testament to the build quality of these boxes as they’ve kept running with no issues.

The only reason they kept Windows NT 4.0 was due to their retro MRP system not supporting any other operating system.  Two months ago we managed to virtualise their BDC / SQL server and their file server with no issues.

We then attempted to perform a physical to virtual migration of the PDC which is a terminal server with Citrix MetaFrame, this failed miserably. Windows NT 4.0 Server Terminal Server Edition SP6 is not a supported operating system to virtualise with VMware. A pre-requisite of the VMware converter is that you provide it access to the Windows NT 4.0 Service Pack 6 executable so that it can change the HAL (Hardware Abstract Layer) and Kernel executable. Unfortunately the Terminal Server Edition of Windows NT 4.0 uses a different Service Pack executable and has a different Kernel executable, so when the P2V completes it copies the HAL / Kernel from the service pack executable which means you can’t boot the server and you receive a stop error.

The Dell PowerEdge 2400’s had two processors and we were running the MultiProcessor Kernel. After we virtualised the server it wasn’t recognising the two processors and it wasn’t using the Terminal Server Edition Kernel. This meant I had to fudge the HAL.dll and NTOSKRNL.exe from the Terminal Server Edition SP6 executable. I booted the server up with BartPE and backed up the existing HAL and Kernel and then copied the two files from the Terminal Server Edition SP6 executable.

The server then booted with one processor and we used the UniProcessor Kernel.

I then installed the VMware tools and we were in business.

Tools required:

VMware Converter 3.0.3-89816 (Cold Clone Bootable CD)

Windows NT 4.0 SP6 High Encryption executable

Windows NT 4.0 Terminal Server Edition Service Pack 6 High Encryption executable

Windows NT 4.0 Server KB885835-x86 executable BartPE bootable CD

If you would like access to any of the tools used or any assistance please tweet me on @davidbrown85

Posted in: Geeky Stuff, Microsoft, VMware Tagged: Microsoft, NT4, SP6, Terminal Server Edition, TSE, VMware, Windows, Windows NT 4

Cisco 877 bridge with ASA5505

24/09/2012 / 1 Comment

I have recently had a need to bridge a Cisco 877 and Cisco ASA5505 as I only had one IP Address available to me via a BE ADSL service.

Cisco 877 bridge configuration:
Building configuration…

Current configuration : 1103 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 877BridgedASA
!
boot-start-marker
boot-end-marker
!
no aaa new-model
!
dot11 syslog
ip cef
!
username dMb privilege 15 secret 0 password
!
archive
log config
hidekeys
!
bridge irb
!
interface ATM0
no ip address
no ip route-cache cef
no ip route-cache
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
no ip route-cache
atm route-bridged ip
pvc 0/101
encapsulation aal5snap
!
bridge-group 1
!
interface FastEthernet0
switchport access vlan 2
!
interface FastEthernet1
shutdown
!
interface FastEthernet2
shutdown
!
interface FastEthernet3
shutdown
!
interface Vlan1
no ip address
no ip route-cache cef
no ip route-cache
!
interface Vlan2
no ip address
bridge-group 1
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
!
bridge 1 protocol ieee
!
line con 0
no modem enable
line aux 0
line vty 0 4
login local
!
scheduler max-task-time 5000
end

Cisco ASA5505 configuration
ASA Version 8.4(3)
!
hostname ciscoasa
enable password passwordhere encrypted
passwd passwordhere encrypted
names
!
interface Ethernet0/0
description Link To Cisco 877 Router
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.229.254 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 78.xxx.xxx.193 255.255.248.0
!
ftp mode passive
object network obj_any
subnet 0.0.0.0 0.0.0.0
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
!
object network obj_any
nat (inside,outside) dynamic interface
!
nat (inside,outside) after-auto source dynamic any interface
route outside 0.0.0.0 0.0.0.0 78.xxx.xxx.1 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
http server enable
http 0.0.0.0 0.0.0.0 inside
http 0.0.0.0 0.0.0.0 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
crypto ca trustpoint _SmartCallHome_ServerCA
crl configure
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 5
console timeout 0

dhcpd auto_config outside
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
!
prompt hostname context
call-home reporting anonymous
Cryptochecksum:6570e0d68627aa70f6d9540ccb909aa1
: end

Posted in: Cisco, Geeky Stuff, Work Related Tagged: 5505, 877, ASA, bridge mode, Cisco

Snapshot notifications / alarms VMware

21/05/2012 / Leave a Comment

I’ve been working with VMware for a number of years now and I’m sure many of you would agree the snapshot feature is very useful, I know for myself it has got me out of a sticky situation after a failed software update.

In the past I have known virtual machine run from snapshots for weeks without knowing, this can be due to failed backups or someone not writing the snapshot back when they’ve finished performing an upgrade.

By default there is no alarm definition to notifiy you of a machine running from a snapshot.

I will guide you the process of creating this custom definition:

Open your vSphere client and connect to your vCenter server and select the Host and Clusters.

VMware Create New Alarm Definition

Right click and select ‘New Alarm’.

Enter a relevant name for the alarm and select the monitor type as ‘Virtual Machines’.

VC-New Alarm Definition Name

Select the ‘Triggers’ tab, select ‘Add’ and from the drop down list select ‘VM Snapshot Size (GB)’, the condition should be ‘Is above’, warning must be ‘1’ and alert must be ‘2’.

VC-New Alarm Triggers

 Select the ‘Actions’ tab, and assign your notifications. I setup an email alert however I set the repeat actions to 1440 minutes (24 hours) as I didn’t want to get bombarded by emails from vSphere.

VC-New Alarm Actions

There you have it, your all setup for your Snapshot noifications.

 

Posted in: Info, VMware Tagged: Alarms, Notifications, Snapshot, VMware, vSphere
« Previous 1 2 3 4 5 Next »

Buy Me a Coffee

Copyright © 2025 dMb Online.

Me WordPress Theme by themehall.com

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok