AahHistorianCfg

Материал из archestra.info
Версия от 11:52, 18 сентября 2015; Admin (обсуждение | вклад) (Новая страница: «Configures W Historian. No command-line arguments entered: provides a GUI for interactive configuration. Command-line argument of /? or -?: provides this h…»)

(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Configures W Historian.

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"