BES Client Refresher

1 like Updated 11/10/15, 5:00 AM by fleccisoTags: None

Download Links

Download - Version 3.0.3.60 (7.41 MB)

Download - Version 3.0.3.58 (5.44 MB)

Download - Version 3.0.3.57 (5.44 MB)

Download - Version 3.0.3.56 (5.44 MB)

 

Summary:

This tool can be used to help force clients to report all of their current state data. The tool supports three different methods for triggering client full reports: one that uses the database and two that use the BES Root Server to send UDP messages.  The three methods are:

  1. Refresh All Deleted Computers - Marks all computers in the database that are marked as deleted as needing to be refreshed. These computers will be fored to send a Full report at the first registration attempt. This method is useful for ensuring expired computer report back into IEM with all their data.
  2. Refresh Not Reported Computers - Sends a request to the BES Root Server to immediately send a full report request (UDP) to all clients without a value for one of the reserved properties. This method is useful if you have live computers with <not reported> values for common properties in the console.
  3. Refresh Computer ID List - Sends a request to the BES Root Server to immediately send a full report request (UDP) to all clients in a Computer ID List file. This method is useful for refreshing all computers and clients which are currently active but not reporting correctly.

 

The advantage to the 1st method is that the database changes guarantee that the client has to perform a fill data refresh before it can report in data again. The 2nd and 3rd methods do not guarantee that the clients will actually perform a refresh, but it does send out a UDP to immediately force clients to send a full report.

 

Usage Help File for Current Version
Command Line Arguments:
Optional Arguments:
-h : Displays this help message
-? : Displays this help message
-help : Displays help message for installing this tool as a service.
-f : Runs in silent mode.  No standard output and script runs automatically to completion.
-l : Sends standard out to logfile created in the directory of this application with name BESClientRefresher-<version_number>.log.
-L <Folder> : Specify a folder to create logs in. Do not include a file name.
-d <IEM DSN> : Used to specify a DSN to connect to the IEM Database with.  Defaults to bes_bfenterprise if not specified.
-u <username> : Used to specify a username for SQL authentication to the database.
-p <password> : Used to specify a password for SQL authentication to the database.
-S <server> : Used to specify an IEM server for sending network requests to (default: 127.0.0.1).
-P <port> : Used to specify the IEM port (default: 52311).
-M : Request a refresh for all Deleted Computers using method 1 to mark the database.
-N : Send a Force Refresh for not Reported Computers using method 2 to send UDP through the root server.

-n <Property Name> : Schedule a refresh for clients which have not reported a value for an additional property with the given <Property Name>. This option can be used only in conjunction with the -N option.
-R <Registration List> : Send a Force Refresh for all clients with the ID specified in the <Computer ID List File> using method 3 to send UDP.
-C <Computer ID> : Schedule a refresh for a single computer with the <Computer ID>. Uses method 3 to send udp.
-A <Batch Size> : Default 250. Refreshes are sent to this number of computers in each batch. This option can be used only if the -N or -R option is specified.
-T <Sleep Time Seconds> : Default 120. Wait this time interval between batches. This option can be used only if the -N or -R option is specified.
 
Sample calls:
BESClientRefresher-3.0.3.60.exe -h
BESClientRefresher-3.0.3.60.exe -l
BESClientRefresher-3.0.3.60.exe -l -L "C:\Temp"
BESClientRefresher-3.0.3.60.exe -d database_dsn -u database_user -p database_password
BESClientRefresher-3.0.3.60.exe -S MyBESServer -P 23456
BESClientRefresher-3.0.3.60.exe -M

BESClientRefresher-3.0.3.60.exe -N

BESClientRefresher-3.0.3.60.exe -N -n "MyPropertyName"
BESClientRefresher-3.0.3.60.exe -R compIdlist.txt
BESClientRefresher-3.0.3.60.exe -C 113123131
BESClientRefresher-3.0.3.60.exe -R compIdlist.txt -A 1000 -T 60