다음을 통해 공유


Viewing the UAG configuration directly

When configuring a UAG server, almost everything is done using the UAG console, and typically, that would also be the primary tool for viewing the configuration. Many companies who need to have a documentation of their configuration turn to grabbing screenshots of every possible configuration screen, which could be tedious and time consuming.

One thing that could save time and effort is the fact that the UAG configuration is stored on the server in a text file called UAG.EGF. The file is stored on the UAG’s local hard drive in the folder <UAG Path>\common\conf, and can be opened and viewed by any text editor. A typical file would look like this:

image

The screenshot shows part of the configuration of one of the applications on a trunk. The formatting is not very easy to read, but UAG also comes with a utility that can convert the EGF file into a standard XML, which is a lot easier. This utility is ConfigMgrUtil, and you can find it in <UAG Path>\utils\configmgr\ConfigMgrUtil.exe. To use it, open a CMD prompt, and run the utility with the toxml parameter to perform the conversion. The parameter needs to be followed by the target name (xml) and the source name (the EGF). For example:

image

The resulting file can be opened by any XML viewer, including IE itself. For example:

image

Even this format is not as easy to read as the administrator’s console, but with some time and patience, it all makes sense. For example, under the EgfSettings/repository_settings/RepositorySettings/repository_entry_settings_list tree, you can find the configuration of the repositories you have defined on the UAG. Under the EgfSettings/connections_settings_list/ branch, you can find your trunks, and under them, your applications (in the filter_settings/app_settings_list/AppSettings under each trunk). By carefully inspecting the XML, you can retrieve each and every repository, trunk and application settings configured on your server.

Look, but don’t touch!

If you think that just because the data is in a text file, you can simply edit it at will…then you would be wrong. The primary storage for the configuration is actually TMG, and any configuration change is stored in TMGs storage mechanism, where it’s protected from harm (that storage is also used to sync the configuration across the members, if you are using an array of servers). If you try to edit the EGF file directly, UAG will simply discard the changes as it retrieves the file back from TMG. This is also why one must ACTIVATE the UAG configuration upon making changes, because until you perform the activation, the configuration is not stored yet, which also means that a restart of the UAG services or the UAG console would revert it back to the version stored in TMG. In some extremely rare situations, there’s an inescapable need to edit the EGF file manually, such as when there’s a distinct corruption of the file. For such a situation, UAG has a special registry key called IgnoreTMGStorage. When that key is set to 1, UAG will pull the configuration from the local file, instead of the one in TMG, and that allows editing of the file as well. I won’t document the procedure with any more detail here, as it’s extremely risky. If you edit the EGF file incorrectly, even a single line-break or space in the wrong place could end up trashing your configuration completely.

Comments

  • Anonymous
    January 20, 2013
    Ben, what will happen with UAG in the near future, now that MS has killed of TMG development (and later support). UAG is completely dependent of TMG services. Please let us know more details, because MS is very quiet about the details of UAG and TMG. Is it time to go and look for other vendors to replace UAG or not?

  • Anonymous
    January 21, 2013
    Bjorn, this is not the appropriate platform for technical Q&A. Please post your question in the UAG support forums (social.technet.microsoft.com/.../forefrontedgeiag) or, if it's personal, contact me via the blogs contact form (blogs.technet.com/.../contact.aspx). Erez

  • Anonymous
    August 12, 2013
    The comment has been removed

  • Anonymous
    November 23, 2015
    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?
    For more info on showbox please refer below sites:
    http://showboxandroids.com/showbox-apk/
    http://showboxappandroid.com/
    Latest version of Showbox App download for all android smart phones and tablets. http://movieboxappdownloads.com/ - It’s just 2 MB file you can easily get it on your android device without much trouble. Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.
    For showbox on iOS (iPhone/iPad), please read below articles:
    http://showboxappk.com/showbox-for-ipad-download/
    http://showboxappk.com/showbox-for-iphone/
    Showbox for PC artciles:
    http://showboxandroids.com/showbox-for-pc/
    http://showboxappandroid.com/showbox-for-pc-download/
    http://showboxforpcs.com/
    There are countless for PC clients as it is essentially easy to understand, simple to introduce, gives continuous administration, effectively reasonable. it is accessible at completely free of expense i.e., there will be no establishment charges and after establishment it doesn't charge cash for watching films and recordings. Not simply watching, it likewise offers alternative to download recordings and motion pictures. The accompanying are the strides that are to be taken after to introduce Showbox application on Android. The above all else thing to be done is, go to the Security Settings on your Android telephone, Scroll down and tap on 'Obscure sources'. This empowers your gadget to introduce Showbox application

  • Anonymous
    January 30, 2016
    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?

    http://www.movieboxapkdownload.com/ - It’s just 2 MB file you can easily get it on your android device without much trouble. Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.



    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?

    http://www.aptoideapkdownload.com/ - It’s just 2 MB file you can easily get it on your android device without much trouble.

    http://www.vidmatedownloadapk.com/

    Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.

    http://www.shareitforpccdownload.com/

    http://www.shareitforpccdownload.com/shareit-for-pc-windows-10-8-1-7-mac-free-download/

    SHAREit for PC lets you transfer files between devices like phones, tablets and computers. With the wide area of sharing compatibility, sharing across anything is easy now. This is the best and the fastest alternative for USB sharing.