RE: Question about functionality of the Exchange_DSAccessDC class

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Matt,

I created a repor and got the following results.

TEST1: Script executed at Exchange Server
============================================================================
========
(1) Test result when GC is up
and running
============================================================================
========
WINMGMTS:{authenticationLevel=pktPrivacy,impersonationLevel=impersonate}!\\B
LR3R
06-6I\ROOT\MicrosoftExchangeV2:Exchange_DSAccessDC
blr3r06-6h.testdomain1.com
1
0
blr3r06-6c.testdomain1.com
1
1
blr3r06-6h.testdomain1.com
1
1
blr3r06-6h.testdomain1.com
1
2
----------------------------------------------------------------------------
--------------

============================================================================
========
(2) Test reault after GC is
disconnected
============================================================================
========
WINMGMTS:{authenticationLevel=pktPrivacy,impersonationLevel=impersonate}!\\B
LR3R
06-6I\ROOT\MicrosoftExchangeV2:Exchange_DSAccessDC
blr3r06-6c.testdomain1.com
1
0
blr3r06-6c.testdomain1.com
1
1
----------------------------------------------------------------------------
---------------

Are you expecting similar results? if I understood correctly you see the
results as in (2) after an hour's delay?

Thanks,
Navneet Gupta


--------------------
| Thread-Topic: Question about functionality of the Exchange_DSAccessDC
class
| thread-index: AcVda5/JTp8v8X+0TTW5GKPKK8c8fw==
| X-WBNR-Posting-Host: 64.169.85.157
| From: "=?Utf-8?B?TWF0dA==?=" <anonmous@xxxxxxxxxxxxx>
| References: <ACE58412-7F30-4906-BB00-6E754E03EC17@xxxxxxxxxxxxx>
<wbtRkL8WFHA.2476@xxxxxxxxxxxxxxxxxxxxx>
<8F41B8E6-E904-4A22-9653-C245D4E8921A@xxxxxxxxxxxxx>
<K1hKM7SXFHA.3928@xxxxxxxxxxxxxxxxxxxxx>
| Subject: RE: Question about functionality of the Exchange_DSAccessDC class
| Date: Fri, 20 May 2005 11:42:07 -0700
| Lines: 166
| Message-ID: <0D0EEC9A-4602-429C-BA78-4E7D6E1052B2@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.win32.programmer.wmi
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.win32.programmer.wmi:4630
| X-Tomcat-NG: microsoft.public.win32.programmer.wmi
|
| Hi Navneet,
| the answers to your questions are below. Thanks for looking this over:
|
| 1. We shut down (or make port 3268 unavailable on) the GCs Exchange
server
| is connected to. Then we wait for it to lose those connections. And then
we
| run the script that I posted in my original post. We also doublecheck the
| script output, by using DSAccess tab in ESM.
| 2. We run it on the Exchange server. (This shouldn't matter, I believe.)
| 3. We tried it on different Windows/Exchange versions this script can
| possibly run: Windows 2000 (SP2 and up) and Windows 2003 with Exchange
2000
| (SP2 and up) and 2003. Results are the same. The data available through
WMI
| (the script provided or DSAccess tab) reflects the actual situation afte
up
| to an hour delay.
|
|
| Matt
|
| "Navneet Gupta" wrote:
|
| > Hi Matt,
| >
| > I was looking into the behaviour of Exchange in this scenario and found
| > that Exchange is caching the information somewhere and probably this is
| > what causing the problem.
| > For a better understanding please provide answer to following questions.
| >
| > What updates we do before executing this script which are not
refelecting
| > in the output?
| > On which machine (client, domain controller or exchange server) the
code
| > is running ?
| > What is the operating system and SP on various machines involved?
| > Is that a Web (ASP) application or a Windows/console based application?
| >
| > Thanks,
| > Navneet Gupta
| > --------------------
| > | Thread-Topic: Question about functionality of the Exchange_DSAccessDC
| > class
| > | thread-index: AcVczKLk9ZGR4qohTHKoXQa6iDfBKg==
| > | X-WBNR-Posting-Host: 64.169.85.157
| > | From: "=?Utf-8?B?TWF0dA==?=" <anonmous@xxxxxxxxxxxxx>
| > | References: <ACE58412-7F30-4906-BB00-6E754E03EC17@xxxxxxxxxxxxx>
| > <wbtRkL8WFHA.2476@xxxxxxxxxxxxxxxxxxxxx>
| > | Subject: RE: Question about functionality of the Exchange_DSAccessDC
class
| > | Date: Thu, 19 May 2005 16:44:02 -0700
| > | Lines: 94
| > | Message-ID: <8F41B8E6-E904-4A22-9653-C245D4E8921A@xxxxxxxxxxxxx>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | Newsgroups: microsoft.public.win32.programmer.wmi
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.win32.programmer.wmi:4616
| > | X-Tomcat-NG: microsoft.public.win32.programmer.wmi
| > |
| > | Hi Navneet,
| > | There's not much beyond what I stated initially. It appears that
the
| > | Exchange_DSAccess WMI class is not populated with new information.
In
| > order
| > | to get an update, a restart of the MS Exchange Management service
needs
| > to
| > | occur. I am essentially trying to determine a way to get reasonably
| > current
| > | information from this class without needing to restart a service.
| > |
| > | Thanks,
| > |
| > | Matt
| > |
| > | "Navneet Gupta" wrote:
| > |
| > | > Hi Matt,
| > | >
| > | > I have some knowledge about WMI. Could you please provide the repro
| > steps
| > | > for this scenario.
| > | > I feel that I could be of help.
| > | >
| > | > Thanks,
| > | > Navneet Gupta
| > | >
| > | > --------------------
| > | > | Thread-Topic: Question about functionality of the
Exchange_DSAccessDC
| > | > class
| > | > | thread-index: AcVWYcssEpfyiyQOSvuH6PHfbL4hGg==
| > | > | X-WBNR-Posting-Host: 64.169.85.157
| > | > | From: "=?Utf-8?B?TWF0dA==?=" <anonmous@xxxxxxxxxxxxx>
| > | > | Subject: Question about functionality of the Exchange_DSAccessDC
class
| > | > | Date: Wed, 11 May 2005 12:44:07 -0700
| > | > | Lines: 41
| > | > | Message-ID: <ACE58412-7F30-4906-BB00-6E754E03EC17@xxxxxxxxxxxxx>
| > | > | MIME-Version: 1.0
| > | > | Content-Type: text/plain;
| > | > | charset="Utf-8"
| > | > | Content-Transfer-Encoding: 7bit
| > | > | X-Newsreader: Microsoft CDO for Windows 2000
| > | > | Content-Class: urn:content-classes:message
| > | > | Importance: normal
| > | > | Priority: normal
| > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | > | Newsgroups: microsoft.public.win32.programmer.wmi
| > | > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| > | > | Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.win32.programmer.wmi:4504
| > | > | X-Tomcat-NG: microsoft.public.win32.programmer.wmi
| > | > |
| > | > | Hello,
| > | > | I've been trying to understand the way in which information
| > contained
| > | > | within the Exchange_DSAccess WMI class is populated and updated.
I
| > have
| > | > been
| > | > | running this sample script:
| > | > |
| > | > | Set Locator = CreateObject("WbemScripting.SWbemLocator")
| > | > | Locator.security_.impersonationLevel = 3
| > | > | 'wbemImpersonationLevelImpersonate
| > | > | Set Service = Locator.ConnectServer("COMPUTERNAME",
| > | > | "root/MicrosoftExchangeV2")
| > | > | Set Object = Service.Get("Exchange_DSAccessDC")
| > | > |
| > | > | wscript.echo Object.Path_.DisplayName
| > | > |
| > | > | SQLQuery = "Select * from Exchange_DSAccessDC"
| > | > |
| > | > | Set DSAobjColl = Service.ExecQuery(SQLQuery)
| > | > |
| > | > | For Each DSAobj In DSAobjColl
| > | > | wscript.echo DSAobj.Name
| > | > | wscript.echo DSAobj.ConfigurationType
| > | > | wscript.echo DSAobj.Type
| > | > | Next
| > | > |
| > | > | set Service = nothing
| > | > | set Locator = nothing
| > | > |
| > | > |
| > | > | The output seems to never update (I'll run the above script every
few
| > | > | minutes or so). I have waited about 40 minutes after I shut the
GC
| > | > down,
| > | > | and this script was still giving me the old info. If I restart MS
| > | > Exchange
| > | > | Managment service, the output of this script updates immediately.
| > | > |
| > | > | Why doesn't the information contained provided by the
| > Exchange_DSAccess
| > | > | class update?
| > | > |
| > | > | This is with Exchange 2003 on Windows 2003.
| > | > |
| > | > | Thanks,
| > | > |
| > | > | Matt
| > | > |
| > | >
| > | >
| > |
| >
| >
|

.



Relevant Pages

  • Re: Error create rules; insufficient space
    ... A "run a script" rule action actually uses not an external script but a VBA procedure with a MailItem or MeetingItem as its parameter. ... Set msg = olNS.GetItemFromID ... Sue Mosher, Outlook MVP ... that Exchange Server 2007 will help as the reason for the memory limit is ...
    (microsoft.public.outlook.installation)
  • Re: x.500 Addresses ?
    ... I wrote a script a few ... Function StampMembers (strGroupADsPath, dicSeenGroupMember) ... Currently we have Exchange Server 2003 SP1 servers in an AD forrest. ... Would a X.500 proxy address help, if so how do I do that? ...
    (microsoft.public.exchange.admin)
  • Re: Script urgent
    ... the Exchange Server and member of each distribution list? ... Distribution list email and Member. ... Maycon wrote: ... You can modify the script to add any additional ...
    (microsoft.public.exchange.admin)
  • Re: Scripts for users on different subnet
    ... our Exchange server for e-mail, etc. and authenticate this way to ... The place I work for is looking for a way to run a script, ... since they are coming onto our network to get e-mail and such. ... they're just being routed in to get access to the exchange server. ...
    (microsoft.public.windows.server.networking)
  • RE: Question about functionality of the Exchange_DSAccessDC class
    ... "Navneet Gupta" wrote: ... > Hi Matt, ... Script executed at Exchange Server ...
    (microsoft.public.win32.programmer.wmi)