Archive for February, 2008

Openfiler service fails to start

Ivan Versluis February 28th, 2008

image At some point my lab Openfiler was assigned static ip address and the iSCSI target stopped to function; also it was not reachable by the web interface at tcp port id 446 anymore. Several reboots did not help to solve the problem.

What happened? The network interface configuration was changed. One of the eth config files was changed from DHCP to a static ip address.

vi /etc/sysconfig/network

[root@net-nas-01 sysconfig]# cat network
NETWORKING=yes
HOSTNAME=net-nas-01.networknet.nl
GATEWAY=192.168.100.254

vi /etc/sysconfig/network-scripts/ifcfg-eth0

[root@net-nas-01 network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
IPADDR=192.168.100.12
BOOTPROTO=static
NETMASK=255.255.255.0
NETWORK=192.168.100.0
GATEWAY=192.168.100.254
BROADCAST=192.168.100.255
ONBOOT=yes

Openfiler service failed if you checked the services (# service –status-all). The problem is Openfiler service checks the FQDN in the hosts file located in the etc directory.

[root@net-nas-01 ~]# service openfiler –full-restart
Stopping openfiler:                                        [FAILED]
Starting openfiler:                                        [FAILED]
[root@net-nas-01 ~]# service openfiler -configtest
Usage: openfiler {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}
[root@net-nas-01 ~]# service openfiler configtest
httpd: Could not determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
[root@net-nas-01 ~]# cd /etc
[root@net-nas-01 etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost

Go and modify the hosts file. To modify the hosts file run this command –> vi /etc/hosts and make sure the FQDN names for 127.0.0.1 and the static ip address are set correct.

 

[root@net-nas-01 etc]# service openfiler –full-restart
Stopping openfiler:                                        [FAILED]
Starting openfiler:                                        [  OK  ]
[root@net-nas-01 etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1                 net-nas-01.networknet.nl
192.168.100.12            net-nas-01.networknet.nl
[root@net-nas-01 etc]#

For more information go to Openfiler website.

VMware Converter 3.0.2 Update 1

Ivan Versluis February 25th, 2008

The latest version for VMWare Converter has been out since 3rd of December last year and doing the p2v migration yesterday it helped me to quickly decide how to proceed. The scheduled p2v migration took me very long and I decided to use my evaluation cd of Acronis True Image Server.  After six and half hours I copied less than of 20GB of the physical server with VMWare Converter.

image

New features in v3.0.2 update 1 include:

Conversion of VMware hardware version 6 products: Workstation 6.x, VMware ACE 2.x, VMware Fusion 1.x, and VMware Player 2.x
Conversion of an additional third-party disk image format: Acronis True Image 9
Experimental support for Microsoft Vista 32-bit and 64-bit operating systems
Ability to set speed and duplex settings on the network adapter while performing cold cloning migrations, by using the VMware Converter Enterprise Boot CD
Support for Symantec Backup Exec System Recovery 7.0

I was excited to see the direct import from VMWare Converter and tib backups. So I reboot the server; connected the usb disk and created a backup of the two partitions I wanted to convert into a vmware image. The whole process took me less than one hour. One huge tib file was created and than I went to my host machine with VMWare Converter and restarted the import process but this ended with a error (VMWare Converter Import Wizard - Unable to load the source virtual machine or image. The file may be corrupt, or of an unsupported format)….

image

In the logfile I found the following messages:

[#4] [ 'App' 124 error] [tibvolumeimagedriver,316] Error while mounting image

[#4] [ 'App' 124 error] [v2iDiskWin32,198] THIRDPARTY_LIB

[#4] [ 'App' 124 error] [v2iImportSource,168] Import source not recognized

['P2V' 3752 error] [task,295] Task failed: P2VError IMPORT_SOURCE_NOT_RECOGNIZED()

['P2V' 3752 verbose] [task,339] Transition from InProgress to Failure requested

 

I am sure that the tib archive was fine and I even verified the backup. These error messages I have seen before with importing VirtualPC or Virtual Server virtual machines. I will trying to figure out why the tib volume driver loading is failing with VMWare converter. So far so good the Acronis True Image Server did convert the tib backup successfully to VMWare image and server is at least up and running for test.

image

Acronis True Image Echo Server and Convert Backup to Virtual Disk screenshot. This option will only convert the backup to a selected virtualization product; for VMWare Workstation first create the virtual machine and use the converted virtual disks as existing ones. It supports VMWare, VMware ESX, Microsoft Virtual PC and Parallels. I have been couple times in successful doing the p2v migrations with Acronis and I will proceed with testing of this product. Stay tuned for this product here.

image

Bill Clinton Presidential Library The Technology Revolution quote

Ivan Versluis February 18th, 2008

Today with my colleague we did some site seeing in Little Rock, AR US and we started our day by going to the William J Clinton Presidential Library. The library presented the 8 years or Mr. Bill Clinton and his achievements during his presidency; I personally enjoyed the tour. We had bad weather this afternoon and it was a good choice to visit while staying in Little Rock.  

IMG_0269  IMG_0310

At the end of the afternoon the sun shine and clouds started to disappear ;-). Second picture was taken at the bronze doors of capital state building.

Building a Windows Server 2008 Infrastructure eBook

Ivan Versluis February 17th, 2008

Are you busy with your work, traveling and personal live like I am and you want to get started with Windows Server 2008 than check out this eBook?  I personally like the writing style from Realtime Nexus authors and their concept of writing eBooks.  This "The Definitive Guide to Building a Windows Server 2008 Infrastructure" eBook has 10 chapters and first chapter is available for download. PDF document with 32 pages which is easy to read and maybe schedule 2 hours to read it through.

Register your account on their website and download the pdf file.

Chapter 1: Introduction to Windows Server 2008
Chapter 2: Server Manager
Chapter 3: Active Directory Design & Domain Controller Management
imageChapter 4: File Servers & Storage Management
Chapter 5: Server Core
Chapter 6: Managing & Customizing Group Policy
Chapter 7: Introduction to Terminal Services
Chapter 8: Advanced Topics in Terminal Services
Chapter 9: Securing Servers & the Domain
Chapter 10: Windows Failover Clustering

Windows Server 2008 AD DS

Ivan Versluis February 16th, 2008

When you install the Directory Services for Microsoft Windows network it will feel like you install the heart of something that will become alive after you reboot the server. Since Windows 2000 the Directory Services has been the core component of the Windows network. 

image

Couple minutes ago I finished my first domain controller installation for AD DS (Active Directory Domain Services) for Windows Server 2008 RTM. The dcpromo wizard has couple new steps; check out my screencast of the AD DS installation.

 

Windows 2008 AD DS has the following improvements :

Read-only domain controller (RODC)
Staged installation of an RODC
RODC filtered attribute set
Administrator role separation
Improved installation wizard
Generate secure installation media
Restartable AD DS
Auditing AD Ds changes
Fine-grained password policy
Dynamic MAPI ID Support
Data mining tool

image

Windows Server 2008 RTM installation in ESX

Ivan Versluis February 6th, 2008

Today I installed my first Windows Server 2008 RTM release in ESX3i. My MSDN subscription helped me to active the server ;-). The performance of the guest is pretty good.

image

For more details check out my screencast.

ISA 2006 and Published ActiveSync CAS role Exchange 2007

Ivan Versluis February 6th, 2008

Since ActiveSync role was published in ISA 2006 to my Exchange Server 2007 my Samsung i600 Windows Mobile 6 client start complaining with the warning message below.

"Your account in Microsoft Exchange Server does not have permission to synchronize with your current settings.  Contact your Exchange Server administrator.
Support code: 0×85010004"

Before it was published with NAT and I have never seen this warning. I was not able to sync the mobile device anymore.

To fix this problem locate the Microsoft-Server-ActiveSync virtual directory in IIS MMC and uncheck Require secure channel (SSL) checkbox. Restart IIS.

image

This fixed my problem. Make sure you configure the internal SSL bridge to encrypt the data behind your ISA firewall. The communication between ISA and Exchange 2007 is not encrypted which is fine for lab, but for production generate a computer certificate on both ends for encrypted communication.

VMWare ESX3i Cisco CDP protocol L2 overview

Ivan Versluis February 6th, 2008

Cisco Discovery Protocol (CDP) allows ESX Server 3 administrators to determine which Cisco switch port is connected to a given vSwitch. When CDP is enabled for a particular vSwitch, you can view properties of the Cisco switch (such as device ID, software version, and timeout) from the VI Client. You can use the service console command-line interface to enable CDP.

 

ESX3i_Cisco_CDP

Using this information and without going to the server room and locating the network cable in the rack I was able to configure the interface on the switch real time.

The switchport should be set as trunk and for security reasons also configure the allowed vlan’s.

interface GigabitEthernet0/15
description ** ESX-01 Trunk port LAN **
switchport trunk allowed vlan 1,200
switchport mode trunk
spanning-tree portfast
!

Dell PowerEdge CPU check for Intel VT

Ivan Versluis February 6th, 2008

Last year I installed three Dell PowerEdge 1950 1U servers and since than I used them in production as VMWare Server hosts. Couple times when creating and migrating the guest machines I received a warning that my CPU was VT capable but not enabled. To enable this option reboot the Dell server, hit F2 to enter the BIOS and change the Intel VT Virtualization Technology CPU setting. Each month there is a scheduled maintenance and if there is a security update than it will be installed and server reboot, but than I will need to be there and enter the BIOS by console or DRAC console. For that reason I created two scripts to check the CPU bios setting and if required execute the second cmd script to enable the VT option.

Please make sure the Dell OpenManage software is installed. The commands available for Windows and ESX operating systems.

@echo off
REM Ivan Versluis / Ivan1980(at)networknet.nl / Dell PowerEdge Intel VT check
omreport chassis biossetup & omreport chassis processors
pause

image 

@echo off
REM Ivan Versluis / Ivan1980(at)networknet.nl / Dell PowerEdge Intel VT enable
omconfig chassis biossetup attribute=cpuvt setting=enabled
omconfig chassis biossetup attribute=dbs setting=enable
pause

image

For more information check out this document.  The enable script has been executed and I only need to get new security updates for this month. I’ve seen no security update  information from Microsoft last days and I will need to wait until next WSUS assigned patches will reboot the servers.

VMWare ESX3i Monitoring Server Health Status

Ivan Versluis February 6th, 2008

ESX 3i host server has sensors builtin that allows you to monitor the health of the following host components:

CPU processors
Memory
Fans
Temperature
Voltage

On systems without IPMI, only CPU sensors are available. Storage sensors are available only on systems with an LSI MegaRAID controller installed. If a particular component cannot be monitored on a given host, that component does not appear.

2008-02-06_100028

Screenshot of my Dell PowerEdge 2900 series server.

CIM-based framework & SNMP are available for hardware monitoring in ESX 3i. For more information check out this document.

Next »