Miscellaneous

Documentation / C/C++ Edition / User Guide / Appendix / Miscellaneous
 

Scripts

MyARM daemon support script

MyARM agent has daemon processes described in section myarmdaemon which is working in background and provide different kind of services. To simplify the starting and stopping of this daemon process the following script is provided:

myarmdaemon.sh
starts and stops the myarmdaemon program.

Usage:

myarmdaemon.sh start|stop|restart

This script can also be used as init.d scripts used to start the myarmdaemon process during boot time of the machine.

Database URL notation

In MyARM a database is normally configured using MyARM configuration properties. If a database configuration should be specified for example on the command line these properties does not work. For this purpose MyARM provides an URL like notation for each supported database type. The type of the database is defined by the scheme (or normally known as protocol prefix) of the URL. Currently the following MyARM database URL types are supported:

sqlite3:///<sqlite_db_file>
defines a SQLite database where <sqlite_db_file> is the file name of the sqlite database file. The name can be an absolute or a relative file name.
xml:///<xml_file>
defines a XML file where <xml_file> is the file name of the XML file. The name can be an absolute or a relative file name.
mysql://<password>:<user>@<host>/<tranDB>/<appDB>/<defDB>
defines a MySQL database where <password> and <user> is the password and user name to log into the MySQL database. The <host> specifies the host name where the MySQL database is running on and the <tranDB>, <appDB> and <defDB> specifies the MyARM databases within the MySQL database server.