Kine's Info

What I found and what I know about Microsoft Dynamics NAV

NAV Service Tier management tool for NAV 2009 R2

Today I have finished first version of my remake of the NST Management application. Now, completely done inside NAV!

I wanted to test the DotNet interop in NAV 2009 R2, and I have found, that it works, and it works without any problem! Because I already knew what I needed to do the NST management, it was easy to replicate the app from C# into C/AL. If you look at the code, it is easy! Just few lines of code to read all available SQL server, to read databases on the SQL server, to show folder selection dialog, to read and modify XML file, to run external command and wait for result, to read list of services, start and stop them etc. You can be inspired with that for your own management tools.

 

NST_Mgt_NAV2009R2

Usage of this tool is only on your own risk. There are no checks if you are removing default services etc. but you can add them if you want.

 

I hope that it will help you to adopt the new RTC with all the cool features in it, and that it will be much easier for you to maintain your infrastructure.

The objects could be downloaded here.

Requirements:

NAV2009R2 RTC

Admin permissions on the managed server

  • Kine, you rock! You would rock triple if you had published this yesterday :) (I spent half an hour swearing at sc create :))

  • Dear Kine,

    Today I try to install NST manager on my laptop and made a test for a new Service Tier.

    When I wont to start that Service Tier I've got the message:

    "This message is for C/AL programmers: The call to menber System.ServiceProcess.ServiceController failed: MachineName value is invalid".

    Do you know what's wrong about that?

    I've Installed the demo Dynamics NAV R2 version on my laptop.

    Gr,

    Peter

  • And are you trying to create the NST on remote server or on your local machine?