Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Version 2.0.3
Contents
MAS II statistics page (MAS II) is a classic active server pages (.asp) script that can be used to browse the
Mini activation server (MAS) database records and can be used to monitor the actual MAS licenses usage.
MAS II uses only “SQL SELECT” queries to get all the information from the Actix MS SQL database. It is
not destructive to the database. If license server was not configured to log the usage records into a
database, MAS II will not work with such a MAS installation. In this case, please refer to Actix Mini Activation
Server Admin Guide, provided with your activation server, in order to set up the Database.
MAS II was tested with MS SQL Express 2005 and 2008R2 versions. Please, feel free to report about any
problems with any other Microsoft SQL server, working with Mini activation server.
Free Flotchart java based library (http://www.flotcharts.org/) is included to MAS II to show the licenses
usage on a chart.
MAS II was tested in Opera, Google Chrome and MS Internet explorer web browsers. No problems were
discovered with Opera and Google Chrome, but some versions of IE didn`t show the Flotcharts graphics.
Please, report the bugs to za@azymuth.ru or in Skype (a.zubarew), I will try to fix them.
MAS II Installation
Administrator`s rights are required to install the MAS II to a Mini activation server PC. MAS II was not
tested to be installed on a different server. If this option is necessary, please, inform me, maybe some scripts
should be modified to support this.
Here are the steps to install MAS II on Mini Activation server:
1. Log in to the server with administrative rights.
2. Create a folder for MAS II on your choice (D:/MAS2.0 in my case).
3. Unzip and copy to the created folder files of MAS II (may be more files in next versions):
6. Add a new website (click the right mouse button on Sites. Specify the MAS II web-site name (MAS
2.0 in the example) and the TCP port to access the new web-site (Mini activation server uses
standard http port 80, the 8082 port is used in the example). Select a folder where the MAS II files
are located as Physical path.
9. After entering the user login/password, the MAS II page will open:
MAS II Settings
MAS II settings are available in mas2.ini file. It is one of files, copied to MAS II folder on the first
installation steps.
Actual settings list:
[Common settings]
Version Mi4wLjIuMSAyMDE0LTAzLTI4
An internal version number. Not to be changed.
Logo1 AZ-logo.png
A link to a company logotype file. Is displayed on a left hand of Title. A web-link is supported. “none” for no
logo.
Logo2 none
A link to a company logotype file. Is displayed on right hand of Title. A web-link is supported. “none” for no
logo.
RefreshPage 60000
Time in milliseconds for automatically refreshing the MAS II page (60000 means that MAS II will be refreshed
once a minute).
Initial_date_period 3
Default data selection period if no options were selected on MAS II page (usually when opening MAS II page
first time)
TimeZoneShift 4
A value is a time difference between a MAS location and GMT.
[SK settings]
Softkey XXXXX Y
Used to define a number of licenses(Y) for a certain softkey(XXXXX) . Can be used to correctly display the
Softkey Usage if some of licenses were never used and have no records in database.
Here you can select the statistic period, softkey, number of lines per page. After choosing the options,
press “Select” button. If the number of selected records is greater than “Records per page” value, you can
move between the selection results pages.
You can export the results to a .csv file using ->.csv button.
4. Panel 4 - the Mini activation server statistics selected from the database
Here you can see the results of your request as it is stored in the MAS database. There are pages navigation
buttons at the bottom of this panel.
Note, that
Panel 5 is presented as a mini-dashboard, that can be used to monitor softkeys status in pseudo-online
mode. This panel is refreshed according to the RefreshPage settings in mas2.ini file.
The monitored softkeys list can be filtered by selecting a softkey at panel 2.
The graph shows usage graph for the selected softkey and time period. The graph scale also shows the
available number of licenses in a softkey (4 in an example).
If a today is selected as an end date, the usage graph shows time period up to now.
Information about Windows user, IP, HTTP address used, user browser and IIS server details could be
found here. If MAS II authentication was not switched on in IIS, the “User:” field will be blank.
MAS II statistics page is not using reverse engineering for its code. It only uses and analyzes data from
Mini Activation server database. In current version (2.0.1) the number of available licenses for softkey is
calculated as maximal number of “Seq” attribute for all the records. Therefore, if a license number 4 from
softkey XXXX was never used and not recorded in the DB, MAS II will consider, that softkey XXXX has 3
licenses even if there are 4 in mini activation server. – Fixed in 2.0.2
- Now a it is possible to set up a number of licenses for a softkey in mas2.ini file – adding a line “Softkey
XXXXX Y” in a SK settings section
- A UserRef field filter added – all the records that contain the searched substring are selected. It affects
also the Panel 6 – softkeys usage statistics by users
- Company logos (Logo1 and Logo2) could be now displayed in MAS II header.
Any graphic file (of a type, supported by web-browsers) link could be specified as a Logo1 and Logo2
parameter (a web-link is also correctly understood). If “none” is specified as Logo1 or Logo2 in mas2.ini, no
Logo will be displayed. If a file name without link is specified as Logo1 or Logo2, MAS 2 will look for it in a
MAS 2 folder.
A height of 50 pixels is recommended for Logo image files.
- A title and subtitle string can be defined in mas2.ini now.
To sort the statistics table you need to click on the column name or the triangle near it.
The selected order type triangle is highlighted with grey.
- Adding a Number of licenses parameter for a certain softkey to mas2.ini configuration file (fixing an
issue with never used licenses) – done in 2.0.2.
- Add sort tabs to StartTime, EndTime, SoftKey, Seq, NumReAct, Minutes, UserRef done in 2.0.3
- Adding MAS user substring search in panel 2 – done in 2.0.2.
- Adding an licenses usage statistics for a softkey done in 2.0.3
- Adding interactive features to a graph done in 2.0.3
- Adding a possibility to select not only date range, but time range also – will be added in 2.0.4.