如何利用kettle官网查找关于carte服务的设置(二)

2015-07-24 07:02:37 · 作者: · 浏览: 4
stening IP Address (or dynamic configuration file), see Carte User Documentation for more details.
Note: In the case of a Dynamic cluster configuration, please replace wrapper.app.parameter.3 with the location of the cluster configuration file (e.g. wrapper.app.parameter.3 = C:
Pentaho
Kettle
slave_dyn_8083.xml) and remove wrapper.app.parameter.4.

wrapper.app.parameter.4

8081

The Carte listening port, see Carte User Documentation for more details.

wrapper.java.additional.1

-Xmx512m

This may vary depending on your needed memory.

Test your Configuration

1. Execute \bat\runConsole.bat

2. When everything is configured correct, Carte starts up as usual.

3. Check if you can login to Carte from your Browser on your local machine, e.g.http://localhost:8081

4. When the test went successfully, you can stop Carte with selecting "Stop" in the new yajsw system tray or with Ctrl-C in the console window.

Install Carte as a Service

1. Execute \bat\installService.bat (Attention: You should run this as Administrator depending on your operating system and security restrictions. Otherwise some unusual behavior could arise later on, e.g. no log files are produced.)

2. Go the your Windows Services and you should see the installed service (Pentaho DI Carte).

3. You are able to change all settings (e.g. Startup type, Log on credentials)

4. Start you service as outlined in the chapter "Start and Stop the Carte Service" and check your installation.

Start and Stop the Carte Service

Additional to the user interface in the Windows Services, it is possible to start and stop the service by the commands startService.bat or stopServce.bat (in the \bat folder)
or by the general Windows Service start and stop commands, e.g.
net start pentaho_carte
net stop pentaho_carte
Notes: You need Administrator privileges, eventually replace pentaho_carte by the setting in parameter wrapper.ntservice.name when this service name was changed

Logging and Monitoring

Logging goes by default to the file \log\wrapper.log.
You may change this setting by the parameter wrapper.logfile to a different location/file.
Note: Please remember to clean up this log file depending on your needs.

It is also possible to get the console output via the YAJSW system tray. That is for displaying a status icon and menu on the desktop. To start the system tray, you need to run \bat\systemTrayIconW.bat
You may create a link to start the try icon from the startup folder, so it gets started automatically on user logon by defining a link to the systemTrayIconW.bat

Further information can be found in the chapter "System Tray Support" of the YAJSW documentation (http://yajsw.sourceforge.net/#mozTocId451759)

Uninstall

If you want to uninstall the service, you can run \bat\uninstallService.bat (with Administrator privileges)
or the Windows own command: sc delete pentaho_carte
Notes: You need Administrator privileges, eventually replace pentaho_carte by the setting in parameter wrapper.ntservice.name when this was changed

In case you get the error The specified service has been marked for deletion, it normally helps to simply restart Windows.

Multiple Instances of Carte on one Machine

If you need more Carte instances on one machine, you should have separate folders of the and change the following properties in each wrapper.conf file to be unique (samples given):
wrapper.ntservice.name=pentaho_carte_8081
wrapper.ntservice.displayname=Pentaho DI Carte Port 8081
wrapper.app.paramet