Tuesday, November 8, 2011

How to Download and Install ARInside?

Hi colleagues,

Some of you ask how to download and install ARInside, therefore I would like to give you hints on that. First you need to download ARInside from http://arinside.org/. Open zipped stuff to a specific folder. This folder will be referenced in the following files therefore update references if you change it later.

Then you need to create an ini file in ARInside folder as the following. Name it as "settings_<server_name>.ini".

# Application Settings
TargetFolder     = <Full address to the destination folder; where you would like ARInside to be generated>
FileMode     = FALSE
ObjListXML     = DHS.xml
UTF-8     = TRUE
BlackList     = MyBlacklist
LoadServerInfoList   = TRUE
CompactFolder     = FALSE
DeleteExistingFiles  = FALSE


# Data Retrieval
LoadUserList = TRUE
UserForm = User
UserQuery = '1'!=$NULL$


LoadGroupList = TRUE
GroupForm = Group
GroupQuery = '1'!=$NULL$


LoadRoleList = TRUE
RoleForm = Roles
RoleQuery = '1'!=$NULL$
MaxRetrieve = 0


# Layout
CompanyName = <Company Name>
CompanyUrl = <Company URL>


Create a .bat file with the following content and rename it as "<server_name>.bat". This file can also be implemented on Unix side with a shell script. However it is better to avoid from putting ARInside on the same machine where your actual ARS implementation is.

cd\
cd <folder where you placed all your ARInside stuff>
ARInside.exe -i settings_<server_name>.ini -p <password> -l <username> -t <port_number> -s <server_name>
cd\


Now you are able to schedule this file with:
Windows Start Menu -> All Programs -> Accessories -> System Tools -> Scheduled Tasks.

Create a scheduled task when your ARS application has less traffic. You can do a similar scheduling with crontab on Unix systems.

No comments:

Post a Comment