Table of Contents
Microsoft Forefront TMG - TMG Storage 101 is easier to understand when the core ideas are paired with practical examples. The sections below explain the topic clearly, highlight useful steps, and point out details that can prevent common errors.
In this tutorial we will show you where Forefront TMG stores configuration settings and how Forefront TMG saves a copy of the TMG configuration in the internal registry .
Before we begin to show you how Forefront TMG stores its configuration data, I want to show you a new technique used in Forefront TMG. There are two different terms that we need to familiarize:
- EMS (Enterprise Management Server)
- CSS (Configuration Storage Server)
EMS
Enterprise Management Server is a server used to manage TMG Enterprise Array or even a standalone server. EMS must be installed on a member server that does not have other Forefront TMG services. Installation on the Windows Domain Controller is also not supported. You do not have to purchase the TMG registration for EMS installed. If you are an experienced user with ISA Server 2006 Enterprise, then Forefront TMG EMS is almost the same as the Configuration Storage Server (CSS) used in ISA Server 2006 Enterprise with a few other points. With Forefront TMG, you can join or disjoin into an array array after installing TMG. This allows the enterprise configuration to be more flexible because you do not have to uninstall and reinstall the Forefront TMG Server to join other TMG arrays. You can also upgrade the Forefront TMG Standard version to Forefront TMG Enterprise without reinstalling.
CSS
The Configuration Storage Server (CSS) is used for all internal TMG installations and provides storage space for the TMG Server configuration. EveryForefront TMG server has an internal CSS. When the TMG Administrator joins the server into a TMG Array, the internal TMG Server will use the Enterprise Management Server (EMS). When Enterprise CSS is applied, internal CSS (AD-LDS instance) will be disabled.
Let's take a look at installing the Active Directory Lightweight Directory service. The Forefront TMG Setup tool will install Windows Server AD-LDS. AD-LDS will be used by Forefront TMG to store TMG configuration data.
Figure 1: Installed AD-LDS servicesThe ISASTGCTRL service is the AD-LDS service for the Windows AD-LDS instance. The Forefront TMG storage service (ISASTG) is responsible for storing TMG configuration in AD-LDS and in the internal Windows registry.
Connect to the Forefront TMG configuration via ADSIEDIT
Because the AD-LDS instance uses the same directory structure as Active Directory, we can connect to the AD-LDS instance through tools like the LDP ADSIEDIT and other LDAP tools. For instance, This guide, we will use ADSIEDIT to connect to the AD-LDS instance. Launch ADSIEDIT and select CN = FPC2 as the CN, specify the server name with port 2171, then you can connect to the data store of the AD-LDS instance.
Figure 2: Connection with AD-LDS via ADSIEDITAs shown in the figure, you will see the entire Forefront TMG configuration.
Note : We can change and add entries in the TMG configuration through ADSIEDIT, but we do not recommend using ADSIEDIT to change the settings, if you do not like the results of the changes. there.
Figure 3: Configuring Forefront TMG in ADSIEDITMicrosoft Forefront TMG Storage
During the installation of Forefront TMG, a service called Microsoft Forefront TMG Storage (ISASTG) will be created to provide Forefront TMG configuration storage space and allow interaction with the internal registry used to save the configuration. TMG locally.
Figure 4: Forefront TMG storage (ISASTG)ADAM_ISASTGCTRL
The AD-LDS instance will install a service called ADAM_ISASTGCTRL, which is the service used to control the locally installed AD-LDS instance. This service will be stopped and set to start type DISABLED when the Forefront TMG Enterprise Server joins an array managed by Forefront EMS.
Figure 5: AD-LDS instanceAD-LDS database location
The Microsoft Forefront TMG AD-LDS instance is stored in the Forefront TMG installation directory in a subdirectory called ADAMData.
Figure 6: Location of AD-LDS databaseConfigure Forefront TMG in the Registry
The Forefront TMG configuration will be stored in the internal AD-LDS instance if Forefront TMG Server is a standalone server or managed by a local array. A copy of the Forefront TMG configuration is also stored in the local registry under HKEY_LOCAL_MACHINE. Each time a new TMG configuration change is applied by the Forefront TMG management interface, the local registry will also be updated. The Forefront TMG Storage service is responsible for this task.
Figure 7: Forefront TMG configuration in the registryTMG services have been stopped (TMG Storage)
If you stop the Forefront TMG Storage service, the registry keys will be deleted and automatically re-created after the service has been successfully restarted.
Figure 8: No Forefront TMG registry entries after the TMG storage service has been stoppedJoin Array
If you decide to join the Forefront TMG server into an array managed by an EMS (Enterprise Management Server), it is possible without canceling and reinstalling Forefront TMG. Launch the TMG Management console and start the Join Array Wizard.
Figure 9: Join an array managed by an EMS ServerDuring the join of the TMG EMS, the local ISASTGCTRL service will be stopped and disabled.
Figure 10: The ADAM ISASTGCTRL service is disabledConclude
In this tutorial we introduced you to where Forefront TMG saves Forefront TMG configuration settings. Forefront TMG Standard and Enterprise use AD-LDS to save the configuration but copy the TMG configuration stored in the local registry. If the Forefront TMG Enterprise Server joins an array managed by an EMS, the local AD-LDS instance (controlled by the ISASTRGCTRL service) will be disabled.
FAQ
What is Microsoft Forefront TMG - TMG Storage 101?
In this tutorial we will show you where Forefront TMG stores configuration settings and how Forefront TMG saves a copy of the TMG configuration in the internal registry.
Why is Microsoft Forefront TMG - TMG Storage 101 important?
A clear understanding of Microsoft Forefront TMG - TMG Storage 101 helps you make informed decisions, avoid common mistakes, and use the relevant tools or techniques more effectively.
How should beginners approach Microsoft Forefront TMG - TMG Storage 101?
Start with the fundamental concepts, follow the examples step by step, and test each change in a safe environment before applying it to important systems or data.
Reader Comments 0
Sign in with email or Google to join the discussion.