Remko Weijnen's Blog (Remko's Blog)

About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like


1,983 views

I just found a very old backup file containing old source code for a few tools I wrote ages ago.

This was in 1997 on my first job for a company called PTT Telecom (the Dutch Telecoms) and I wrote some tools to make life easier.

They were all written in Turbo Pascal and supported Long Filenames when running under Windows ’95 (there was a trick to do that under DOS).

The first tool was called Retreive Tool, it parsed a backup file from a private branch exchange (PBX) and could make reports about Licensing, the hardware in the PBX, Extension numbers and their hardware positions and so on.

image

 

Read the rest of this entry »

  • 1 Comment
  • Filed under: Programming
  • 3,859 views

    If you want to check if you are running on a Server Core edition of Windows you can use the GetProductInfo API.

    GetProductInfo takes 4 input parameters that can be obtained using GetVersionEx and the OSVERSIONINFOEX structure:

    No we call GetProductInfo:

     

     

    Read the rest of this entry »

    17,417 views

    A while ago I started exploring the firmware of an RNS510 Navigation unit. The RNS510 is an OEM navigation system, manufactured by Continental Automotive and is used in several models of Volkswagen, Seat and Skoda Cars

    When the units is booting it shows a startup logo and I wanted to replace this logo with my own picture.

     

    Read the rest of this entry »

  • 7 Comments
  • Filed under: General
  • 2,575 views

    I needed to delete around 50 scheduled tasks from several machines in Altiris because something went wrong in on of the first jobs.

    It would have better if the jobs were configured to fail on error and not continue but they weren’t.

    Deleting the jobs from the Altiris console is very, very, slow. First the console asks for confirmation (after showing the hourglass for a long time):

    image

    Then the actual delete can take a few minutes and then the next server and so on.

    I decided to delete the tasks directly from SQL.

    I know this is not preferred but I think in the end it’s safe enough because I found a stored procedure called del_event_schedule which looks like this:

    So al it does is a (transacted) delete from the table.

     

    Read the rest of this entry »

  • 1 Comment
  • Filed under: SQL Server, VMWare
  • 3,419 views

    I was digging around in termsrv.dll yesterday when I noticed that there are some (well 372 to be exact) SSL certificates inside the Terminal Server binary (termsrv.dll):

    image

    Two of them seem to actually contain the private keys as well, but I am not 100% sure it may be just a certificate in another format.

     

    Read the rest of this entry »

    20,301 views

    I was deploying virtualized Citrix XenApp Servers on HP BL460c G6 servers and somehow the storage (direct attached) responded very slowly.

    I had expected reduced performance (see my earlier post) since I didn’t have the  Battery Backed Write Cache module installed.
    I did order them but had to start deployment before they arrived.

    I did not however expect such an extreme bad performance. Deployment took ages or sometimes failed completely and when logging in to a VM it responded very sluggish.

    Disk Latency

    I looked in the vSphere console what the Disk Latency was. Latency under 10ms is usually considered good while a latency between 10 and 20ms is a potential performance problem.

    I was shocked to notice that the Disk Latency was much higher with peaks toward 2.000 ms (2 seconds!):

    DiskLatency

     

    Read the rest of this entry »

  • 2 Comments
  • Filed under: Citrix, VMWare
  • 2,057 views

    I am currently deploying 64 Citrix XenApp servers with Altiris. The deployment consists of an OS Image, OS Configuration and finally Citrix XenApp and Applications.

    In the OS Configuration part the IP configuration needs to be applied and I decided to do this with a database.

    The database consists of 2 tables; one table with the per host settings and one table with the global settings (such as DNS).

    In the Altiris job both tables are read from an embedded VBScript and assigned to the NIC.

    Database configuration

    I created a database (SQL Server) called IPManagement with 2 tables:

    image

     

    Read the rest of this entry »

    4,721 views

    I ran into an error when I was upgrading hardware on an HP BL460c G6 Blade.

    After placing 2 new (larger) hard drives the Array Configuration would hang after saving the configuration (It just kept blinking “Saving Configuration.” forever.

    image

    After a reset the Smart Array Controller (P410) halted a very long time on Initializing and eventually failed.

    I retried the whole procedure with the same result but this time the controller reported: “previous lockup code 0xAB”.

    My next step would be a firmware update and this kb article from HP confirms that it was indeed a firmware issue: HP Serial Smart Array Controllers P410/411/212/712m/410i – May Hang with Lockup Error Code 0XAB Configured in Zero Memory Mode.

    This kb article also tells me why I didn’t have this error on another blade: that one had the Battery Backed Write Cache module.

  • 0 Comments
  • Filed under: General
  • 2,222 views

    On my blog I offer visitors the options to rate the articles I write using either thumbs up/down or a 1-10 star rating.

    I am interested in what content my readers like so these ratings (and of course comments you leave) indicate what kind of articles you like and which you don’t.

    However some people feel the need to abuse this, take a look at this:

    image

     

    Read the rest of this entry »

    6,788 views

    My blog has been down for a short period, if you tried to open WordPress would redirect to wp-admin.install.php and you would see this message:

    image

    I suspected it was a database problem so I went to phpMyAdmin and did a check on all tables:

    image

    Even though MySQL reported all tables to be okay, I tried to repair the wp_options table since this is a common issue with WordPress and indeed this fixed the problem!

    Blogroll


    Categories


    Archives