Posts from ‘SCOM’


CentOS Logo

Hyper-V like many other hypervisors has it’s own set of what they call integration components, the use of these components increases the functionality and usually reliability of virtual machines hosted on the cloud. Examples of the hyper-v functionality is supporting the reboot of a virtual machine from the windows control panel (Hyper-V, SCVMM or SSP), probably the biggest advantage is removing the emulated NIC and been able to use the proprietary synthetic adaptors, as normally used in the Windows virtual machines.

Installing these into windows is generally very easy, just mount the CD or right click on the VM and click install integration components, unfortunately Linux is a bit more complex.

Before we start it’s worth noting that you need to first create the VM as normal, and use the emulated network card so you can connect to the internet and update, plus install the linux development tools. If you don’t have a network connection this will not work.

First we will update the system, install the tools and reboot the VM.

yum update -y
yum groupinstall "Development Tools" -y

Now you need to go here and download the file, you should be left with an .iso image, mount this to the virtual machine like normal.

Next we will make a directory to mount the CD image, and then mount the image to this DIR.

mkdir -p /mnt/cdrom
mount /dev/cdrom /mnt/cdrom

Next we will copy off all the files we need, and then unmount the DIR.

cp -rp /mnt/cdrom /opt/linux_ic 
umount /mnt/cdrom

Next navigate to the directory, install the tools and shutdown.

cd /opt/linux_ic
./ drivers

Finally remove the network interface and replace with the standard synthetic interface, boot the machine and perform an ifconfig, you should see the new interface there seth0

Go to /etc/sysconfig/network-scripts/ and configure the interface as required.


SQL ServerSo you might be getting the below error when trying to approve a gateway server.

"The gateway name already exists as a computer instance."

Basically as the error says your operations manager server already knows about the server, normally as in my case this is because you have installed the SCOM agent already. Unfortunately just removing from SCOM will not actually work, as this doesn’t look to delete the server from the SQL database.

So login to your SQL server and find the operations manager database, find the table called “MT_computer table” and do a database select so you can find the offending row.

Once you have found the row I would suggest deleteing via the ID with something like:

DELETE FROM MT_Computer WHERE BaseManagedEntityID='[Replace with the ID to delete]'

system center operations managerIf your using Microsoft System Center Operations Manager to monitor agents that are in an untrusted domain, DMZ or work group environment the chances are your going to deploy a gateway server to support PKI authentication (certificates), apposed to the standard kerberos authentication.

When you run the below command you might notice that it seems to hang/stall.

microsoft.enterprisemanagement.gatewayapprovaltool.exe / /gatewayname=fqdn.gateway.server /action=create

The command should only take about 15 seconds to run, even on the slowest of servers, so you probably have an authentication issue somewhere.

Basically the command performs some SQL changes, therefore your logged in user account probably doesn’t have the required permissions on the SQL server.

The fix is normally just login temporarily as the domain administrator, as that will have the required permissions.

Our Sponsors