Professional Documents
Culture Documents
How To Setup Lineup (Sa) 127 r1
How To Setup Lineup (Sa) 127 r1
Warning: Login Server by Administrator account (or Admin account) and Administrator
permission (or Admin account).
A. Install MySQL:.........................................................................................................................................6
- Setup FSCheckinWeb:..............................................................................................................................20
- Setup FSTASWeb:.....................................................................................................................................21
We have 2 WEB thus will setup set https và port https for them and must public Port 443 for
HTTPS.............................................................................................................................................................30
A. In all Config of FS Services and WEB, we often declare to login MySQL database with
Username and Password, this password must be encrypted..........................................................54
B. Checking all TCP port necessary for FS Services is ready opened and set Administrator
permission:....................................................................................................................................................57
Note: All path of Store Folder in config file, please find it in instruction of Step 9. Config path of Pool
folder in table Setting of Database..................................................................................................................58
Step 14. Testing to make sure FSAdmin can be working and Config for Expert Settings of Admin:.....83
2 . Choose checkbox Internet Information Services. Please check all in all sub checkbox
of it.
If your server has not .Net framework 4.0. Please download it and install then continue
install MySQL
2.
3.
7.
9.
11. Select Add User: often we add User for database = facesearch.
13.
15.
17.
18.
2.
4.
6.
FSAgentService\
FSAlertGenerationService\
FSBackupFileService\
FSBatchSearchService\
FSCaptureFaceService\
FSCheckinService\
FSImportService\
FSInsertHitService\
FSLoaderService\
FSMainService\
FSMakeVectorService\
FSSearchFaceService\
FSTASService\
FSUploadTemplateFile\
FSVectorService\
FSAdminBrowser\
FSAPIWebService\
FSCheckIn\
FSCheckinWeb\
FSTAS\
FSTASWeb\
ThreeDService\
- Setup FSCheckinWeb:
+ Right click web FSCheckin choice "Add Application"
+ Physical path: Input the path of web FSCheckinWeb. The path of web default in :
"c:\inetpub\wwwroot\FSCheckinWeb"
- Setup FSTASWeb:
+ The setup similar as setup FSCheckinWeb.
FSRemoteDB\
3. Open file Config Https.txt in path WCFService\Config Https.txt , then copy code and
paste to window command ( paste by right click )
makecert -n "CN=RootCAFaceSearch" -r -sv RootCAFaceSearch.pvk
RootCAFaceSearch.cer
9. Click Browse
a. Select “Default Web Site” will apply to web: https and port 443 for it.
FSAdminbrowser, FSAPIWebService, FSMobile, FSMobileNF, FSTAS,
ThreeDService.
3. Click Add
4. Expand Type and select https, then expand SSL certificate and select
FaceSearchCert
b. Select FSRemoteDB apply to web FSRemoteDB: https and port 4431 for it.
- Enter the number of the port you want to create for the correlative
service in the Specific local ports textbox
Search for the service has just been installed and open Services window
Warning: Must STOP list of FS Services before config permission for it.
FSAgentService\
FSAlertGenerationService\
FSBackupFileService\
FSBatchSearchService\
FSCaptureFaceService\
FSCheckinService\
FSImportService\
FSInsertHitService\
FSLoaderService\
FSMainService\
FSMakeVectorService\
FSSearchFaceService\
FSTASService\
FSUploadTemplateFile\
FSVectorService\
4. Input username and password of user : user account is used to login Server is
administrator account . Press OK button to finished
FSAdminBrowser\
FSAPIWebService\
FSCheckIn\
FSTAS\
ThreeDService\
- Open IIS, click the Defaul Web Site and click Basic Settings.
2. FSRemoteDB:
- Double click to file "CreateDB.sql" will open this script and login to Mysql
- Refresh MySql.
- Continue run script "InsertData.sql" to insert the default value to tablese in Database
FACESEARCH. When run script "InsertData.sql", please Stop all FaceSearch services.
-Almost FS Services will used Pool folder to stored files. Thus we must config path of Pool
folder in table Setting for all Services used. To do that, we used tool "CreateServerPool"
\\FaceSearchService\Store
Server Name : IP address of server stored database. If Tool and Database in one server we
type 127.0.0.1 .
Then login to database and checking table Setting to see all path of POOL that has set.
Backup_db_folder
Change_password_notify_folder
Email_attach_file_folder
FS_file_data_folder
Replication_Data_Folder
Server_pool_alarm_watchList
Server_pool_auditing_folder
Server_pool_auto_add_gallery_from_probe_folder
Server_pool_batch_search_folder
Server_pool_capture_face_folder
Server_pool_cluster_probe_folder
Server_pool_collect_vector_folder
Server_pool_create_email_folder
Server_pool_dashboard_schedule_email_folder
Server_pool_delete_user_folder
Server_pool_deleted_user_folder
Server_pool_event_folder
Server_pool_find_inheritable_event_folder
Server_pool_get_vector_folder
Server_pool_hit_folder
Server_pool_image_folder
Server_pool_profile_image_folder
Server_pool_refresh_fslite_folder
Server_pool_update_folder
Server_pool_vector_folder
Template_folder
Upload_bk_folder
Upload_folder
Vector_container_folder
Vector_container_folder_temp
Note:-Table Setting has key " FSVersion " = FSW1.0 , this is key to define systems has
installation is FaceSearch StandAlone
- Select Specific people, choose Everyone and set Read/Write Press SHARE
2. Input: enter correctly password to login database MySQL that was setup in
STEP 2- Item 12.
3. Press Encrypt button to have to character encoding. The same below sample.
o FSMainService -2012
o FSMakeVectorService- 2013
o FSSearchFaceService-2014
o FSCaptureFaceService-2015
o FSVector-2124
o FSLoader-2123
o Public Port 443 for HTTPS
To set configuration for WEB , find path c:\inetpub\wwwroot\...have include these web
folder.
FSAdminBrowser\
FSAPIWebService\
FSRemoteDB
FSCheckIn\
FSCheckinWeb\
FSTAS\
FSTASWeb\
ThreeDService\
1 FSAdminbrowser:
<appSettings>
Declare this path to stored session of WEB, you need search folder Session in setup Server
and paste it to add key
Example:
Example
Declare this path to stored file Import Gallery that was uploaded by UI of WEBSITE as zip file
template via FTP
</appSettings>
2. FSAPIWebService:
<appSettings>
<client>
</client>
3. FSRemoteDB:
<appSettings>
//This declare is the same with STEP 10- item 3: username and password of database
was encrypted.
//-This is declared LINK and TCP Port that was used by FS Services and WEB
<serviceCredentials>
<clientCertificate>
</clientCertificate>
</serviceCredentials>
4. FSCheckIn
Find key word:
<appSettings>
<add key="SQLitePath" value="d:\VigilantSolutions\Store\Pool\FSCheckinData\"
/>
- Specify the path to the web's database. The database copy from
FSCheckinData in Setup FaceSearch Pakage.
<add key="UseHTTPS" value="1" />
<add key="QueueEvent" value="1000" />
<add key="FSAPIBindingName"
value="WSHttpBinding_IFSAPISearchService" />
<add key="LinkFSLite" value="https://{0}:4431/FSAPIService.svc"></add>
- The link of web FSRemoteDB.
<add key="LinkFSW" value="https://127.0.0.1:4431/FSAPIService.svc"></add>
- The link of web FSRemoteDB.
<add key="LinkRedirect" value="https://127.0.0.1/FSCheckin/"></add>
- The link of web FSCheckin.
<add key= "TrackingTime" value="5" />
<add key="KeepTime" value="12" />
<add key="AllowRedirect" value="0"></add>
<add key="GroupResultByFSPersonal" value="1"/>
<add key="DebugBinaryFile" value=""></add>
<add key="RediectWebSite" value="FSCheckin/Web"></add>
</appSettings>
<client>
<endpoint address="https://127.0.0.1:4431/FSAPIService.svc"
binding="wsHttpBinding"
5. FSCheckinWeb
Find key word and setting the same config:
<appSettings>
<add key="SQLitePath"
value="d:\VigilantSolutions\Store\Pool\FSCheckinData" />-
- Specify the path to the web's database. The database copy from
FSCheckinData in Setup FaceSearch Pakage.
6. FSTAS:
<appSettings>
</appSettings>
<client>
<endpoint address="https://localhost:4431/FSAPIService.svc"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IFSAPISearchService"
contract="FSAPIClientReference.IFSAPISearchService"
name="WSHttpBinding_IFSAPISearchService" />
<endpoint address="https://localhost/ThreeDService/Service.svc"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IFThreeDService"
contract="ConnectFace3DService.IFThreeDService"
name="WSHttpBinding_IFThreeDService">
<identity>
</identity>
</endpoint>
</client>
8. ThreeDService:
<appSettings>
</appSettings>
d:\FaceSearchService\FSAgentService\
d:\FaceSearchService\FSAlertGenerationService\
d:\FaceSearchService\FSBackupFileService\
d:\FaceSearchService\FSBatchSearchService\
d:\FaceSearchService\FSCaptureFaceService\
d:\FaceSearchService\FSCheckinService\
d:\FaceSearchService\FSInsertHitService\
d:\FaceSearchService\FSLoaderService\
d:\FaceSearchService\FSMainService\
d:\FaceSearchService\FSMakeVectorService\
d:\FaceSearchService\FSSearchFaceService\
d:\FaceSearchService\FSTASService\
d:\FaceSearchService\FSUploadTemplateFile\
d:\FaceSearchService\FSVectorService\
[DatabaseServer]
Server=127.0.0.1
Database=facesearch
User=facesearch
CommandTimeout=60
Provider=MYSQL
//This declare is the same with STEP 10- item 3: username and password of database
was encrypted.
1. FSAgentService:
[monitor_system]
time_interval=3600
Service=FSAgentService,FSCaptureFaceService,FSImportService,FSInsertHitService,F
SLoaderService,FSMainService,FSMakeVectorService,FSSearchFaceService,FSSlaveD
BService,FSTASService,FSVectorService
// This is declare to tracking all services of FS – This is monitor system. Note, FS used “,” for
multi services.
Mail_To=tranngocvu@dolsoft.com,nguyenthihongphuc@dolsoft.com
//Declare Email Address to send Email Note, FS used “,” for multi Email.
max_limit_cpu_usage=85
//Limit for CPU to warning, If > Max Limit , FaceSearch will warning Email.
//Limit for Memory to warning, If Free RAM is lower Min Limit , FaceSearch will warning
Email.
min_limit_free_space_driver=10
//Limit of Free HDD of FaceSearch If Free HDD is lower Min Limit , FaceSearch will warning
Email.
warning_time_interval=3600
FSMainService=http:// 127.0.0.1:2012
FSMakeVectorService=http:// 127.0.0.1:2013
debug=0
2. FSAlertGeneration:
[create_email]
time_interval=10
fsadmin_url=https://127.0.0.1/FSAdminBrowser/
3. FSCaptureFaceService:
http_listener_url=http://127.0.0.1:2015/
debug=1
num_thread=5
time_in_queue=10
write_input=0
4. FSCheckinService:
- File Config.ini:
[Setting]
CheckInType=1
NumCandidate=10
SearchType=1
DelayNextStep=5
DelayNextStep_TryAgain=0
SaveProbe=1
- FSCheckinService.exe.config :
// Specify the path to the web's database. The database copy from FSCheckinData in
Setup FaceSearch Pakage.
</appSettings>
</bindings>
<client>
</client>
5. FSImportService :
[check_vector_no_live]
time_interval=30
mode_import=0
time_close_vcontainer=1200
block_import_size=100
enable_update_gallery_frq=0
max_num_thread=2
6. FSInsertHitService :
7. FSLoaderService :
[General]
InputDir=
OutputDir=
RunMode=0
LocalAddress=127.0.0.1
LocalPort=2123
UseLog=1
DebugMode=0
UseTbbGetVector=0
SaveInputImage=2
[ServerService]
Address=127.0.0.1
UseSSL=0
8. FSMainService:
Find key :
[http_listener]
uri_prefix= http://127.0.0.1:2012/
9. FSMakeVectorService:
Find key:
[http_listener]
uri_prefix= http://127.0.0.1:2013/
10. FSSearchFaceService:
Find key:
[http_listener]
uri_prefix=http://127.0.0.1:2014/
[update_list_vserver]
FSMainService=http://127.0.0.1:2012/
time_interval=10
timeout=10
[update_list_lserver]
FSMakeVectorService=http://127.0.0.1:2013/
time_interval=10
timeout=10
11. FSTASService:
- File Config.ini :
[Setting]
CheckInType=2
NumCandidate=10
SearchType=1
DelayNextStep=10
DelayNextStep_TryAgain=3
- File FSTASService.exe.config:
<appSettings>
// Specify the path to the web's database. The database copy from FSTASData in Setup
FaceSearch Pakage.
</appSettings>
<client>
<endpoint address="https://127.0.0.1:4431/FSAPIService.svc"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IFSAPISearchService"
contract="FSAPIClientReference.IFSAPISearchService"
name="WSHttpBinding_IFSAPISearchService" />
</client>
<client>
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IFSAPISearchService"
contract="FSAPIClientReference.IFSAPISearchService"
name="WSHttpBinding_IFSAPISearchService" />
</client>
13. FSVectorService:
WorkingDir=
EngineAddress=127.0.0.1
EnginePort=2124
MaxCapability=60000
ServerType=2
NumSession=4
AutoReload=1
UseLog=0
[ServerService]
Address=127.0.0.1
Port=2012
UseSSL=0
14. FSBatchSearchService:
- File config.ini:
-File FSBatchSearchService.exe.config:
<client>
contract="FSAPIClientReference.IFSAPISearchService"
name="WSHttpBinding_IFSAPISearchService" />
</client>
15. FSBackupFileService:
- This file in folder that contain database of Server FS ( Path of STEP 2- item 4 page 5).
- When begin set value for this file , please backup one file in order to restored if we make fail
it.
- This is configuration MySQL as memory of server as sample 8GB RAM, 16GB RAM and 32
GB RAM. In file “my.ini”, please find key word and set the same it.
innodb_log_buffer_size=256M
innodb_buffer_pool_size=2G
innodb_additional_mem_pool_size=32M
max_allowed_packet=500M
sort_buffer_size=2M
join_buffer_size=256K
innodb_buffer_pool_size=3G
innodb_log_file_size=1G
innodb_additional_mem_pool_size=32M
max_allowed_packet=500M
sort_buffer_size=2M
join_buffer_size=256K
innodb_log_file_size=2G
innodb_additional_mem_pool_size=32M
max_allowed_packet=500M
sort_buffer_size=2M
join_buffer_size=256K
URL https://localhots/FSAdminbrowser
Select icon Agency Management , and press Add New to create the new one Agency of
FaceSearch
- Import one Gallery Face in FaceSearch System. If record has FRQ > 0 is
successfully import.
FaceSearch can import gallery, search face, and view other function is ok Completed installation
LineUp Server
- Must
After install completed, FaceSearch’s Services check IIS , All Services and Web must use
1
couldn’t start the same account Admin or
Administrator permission to config.
3
4
5
6