AahHistorianCfg — различия между версиями
Материал из archestra.info
Admin (обсуждение | вклад) |
Vasily (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | + | Путь у утилите: | |
+ | "C:\Program Files (x86)\Wonderware\Historian\aahHistorianCfg.exe" (for x64 OS) | ||
+ | "C:\Program Files\Wonderware\Historian\aahHistorianCfg.exe" (for x86 OS) | ||
+ | |||
+ | Первый вопрос - пересоздание '''БД Runtime''' (rebuild Runtime database) | ||
− | + | Второй вопрос - пересоздание '''БД A2ALMDB''' (rebuild A2ALMDB database) | |
+ | '''Configures WW Historian through command line (fox x86 OS) ''' | ||
+ | |||
+ | No command-line arguments entered: provides a GUI for interactive configuration. | ||
− | Command-line argument of /? or -?: provides this help. | + | Command-line argument of /? or -?: provides this help. |
− | Command-line arguments as per below: configures Wonderware Historian (errors log ged to .:\Documents and Settings\All Users\Application Data\ArchestrA\Historian\Install\HistorianCfg.txt) | + | Command-line arguments as per below: configures Wonderware Historian (errors log ged to .:\Documents and Settings\All Users\Application Data\ArchestrA\Historian\Install\HistorianCfg.txt) |
SYNTAX: | SYNTAX: |
Текущая версия на 13:35, 16 июля 2018
Путь у утилите:
"C:\Program Files (x86)\Wonderware\Historian\aahHistorianCfg.exe" (for x64 OS) "C:\Program Files\Wonderware\Historian\aahHistorianCfg.exe" (for x86 OS)
Первый вопрос - пересоздание БД Runtime (rebuild Runtime database)
Второй вопрос - пересоздание БД A2ALMDB (rebuild A2ALMDB database)
Configures WW Historian through command line (fox x86 OS)
No command-line arguments entered: provides a GUI for interactive configuration.
Command-line argument of /? or -?: provides this help. Command-line arguments as per below: configures Wonderware Historian (errors log ged to .:\Documents and Settings\All Users\Application Data\ArchestrA\Historian\Install\HistorianCfg.txt)
SYNTAX:
aahHistorianCfg.exe [/quiet] [/DATAPATH=path] [/DBPath=path] [/VIRTUALSERVER=virtualservername] [/GROUP=groupname] [/CLUSRES=clusterresourcename] [/NETCFGx=networkname;IPAddress;Subnetmask] [/OPTION={REBUILD | MIGRATE | RETAIN}] [/AUTOSTARTHISTORIAN={true | false}] [/HISTORIANTCPPORT=tcpPort]
/quiet To execute the executable in Silent Mode.
/AUTOSTARTHISTORIAN=true|false Sets the Historian Auto Start parameter in the System Parameter table in Runtime database. Default is "false" /HISTORIANTCPPORT=tcpPort Sets the Historian TCP Port parameter in the System Parameter table in Runtime database. Default is "32568"
/SQLUSER=sa Sets the SQL Server username to access the SQL Server an d create the Runtime Database. Setting this value will set the Authentication to SQL. If this is NULL by default Integrated Security will be used. Default is ""
/SQLPASSWORD=Password Sets the Password for the SQL Server Username. Default is ""
/DATAPATH=path Directory path for primary history-data storage.
/DBPath=path Directory path where the Wonderware Historian database files will reside.
/OPTION= REBUILD If existing database found (either current or prior version), drops it and rebuilds it. If no database found, creates it.
- MIGRATE If existing database found (prior version), makes backup and migrates to new database. If no database found, creates it. If same-version datab
ase found, does nothing.
- RETAIN If existing database found (either current or prior version), it is retained. If no database found, creates it.
Specific to Cluster:
/VIRTUALSERVER=virtualservername Name of the Wonderware Historian virtual server /NETCFGx=networkname;IPAddress;Subnetmask Configures network 'x', where x stands for a number (so the switch becomes /NETCFG1 for example). This switch may be repeated with different numbers to configure multiple networks (e.g., /NETCFG1=a;b;c /NETCFG2=d;e;f) where a;b;c and d;e;f are replaced by appropriate values.
Examples:
C:\Program Files\Wonderware\Historian>aahHistorianCfg.exe /DATAPATH=C:\Historian\Data /DBPATH="C:\Program Files\Microsoft SQL Server\MSSQL\Data" /OPTION="REBUILD"