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

原创作品,出自 “深蓝的blog” 博客,转载时请务必注明出处,否则有权追究版权法律责任。

深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/46863223

利用Kettle社区查找资料:举例:查找关于carte服务的配置

搜索kettle,进入kettle社区,如下:

进入社区网站后,找到kettle的document选项,点击,如下:

下拉到最低端,查找你要搜索的关键项,点击进入即可,如下:

接下来就是相信的介绍如何在win下配置carte服务的方法,如下:

内容摘录如下:


There are some use cases to run Carte as a Windows Service:

·         When Carte instances are running using a command window, anyone by mistake could close the instance and Carte will go down.

·         The Carte.bat command window is tied to the user session that called the batch file and needs to be kept logged in.

·         With a Windows Service you can start the Carte service at machine startup and also configure it to restart after a crash.

After you completed the below instructions, you are able to get Carte running as a Windows service like this:

Installation Instructions

1.     Download YAJSW (Yet Another Java Service Wrapper) from Sourceforge:http://sourceforge.net/projects/yajsw/files/
(these instructions were written and tested against YAJSW version 11.03)

2.     Unzip the file into a suitable folder, e.g. C:\Pentaho\CarteService.Note: This should not be created below any
other Pentaho Kettle folder since it is independent of the Pentaho Kettle Version and makes it easy to upgrade to future Kettle versions (see also chapter "Upgrade Instructions").

3.     When you unzipped YAJSW, you have e.g. a folder C:\Pentaho\CarteService\yajsw-stable-11.03. We recommend torename this folder to C:\Pentaho\CarteService\default.
The reason for this is the possibility of having multiple configurations on one machine, see chapter "Multiple Instances of Carte on one Machine". Another reason is that you do not need to change any references to this folder in case you upgrade to a later
YAJSW version.Note: We will reference the YAJSW directory in the following instructions as <CarteServiceFolder>.

4.     Download the preparedwrapper.conf configuration file (attachment
to this Page).

5.     Copy the downloaded wrapper.conf to<CarteServiceFolder>\conf\wrapper.conf (replace the existing one).

6.     Edit the wrapper.conf with a text editor and change the following entries manually (you can search for your convenience for the
markers ###InstallerOrModify### within the file):


Parameter


Sample


Description / Notes


wrapper.working.dir


C:/Pentaho/pdi-ee-4.3.0-GA/data-integration


The working directory of Carte. Please mind to changeback slashes to forward slashes or double back slashes in the file path!

Note: If you defined OS environment variables you may access these directly within the configuration and use for this parameter. Windows environment variables are converted to lower case. Therefore even if you use e.g. PATH on your computer
you have to

call ${path}  in the configuration file.


wrapper.app.account


The user account the Carte service will run. When nothing is given here, it starts as the Local System account. Please check with your system administrator about the right user settings. Please mind toremove
the leading ‘#‘
in case you enter a property here.


wrapper.app.password


Password for the given account. Please mind toremove the leading ‘#‘ in case you enter a property here.


wrapper.java.command


C:/Pentaho/BA-4.5.0-GA/java/bin/java.exe

or ${pentaho_java_home}/bin/java.exe


The Path to your java.exe. Please mind to changeback slashes to forward slashes or double back slashes in the file path!

Note: When you used the installer, a PENTAHO_JAVA_HOME system environment variable has been set. This variable can be used in this context but needs to be given in lower case.


wrapper.app.parameter.3


127.0.0.1


The Carte listening 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 <CarteServiceFolder>\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 <CarteServiceFolder>\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 <CarteServiceFolder>\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 <CarteServiceFolder>\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 <CarteServiceFolder>\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 <CarteServiceFolder>\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 <CarteServiceDirectory> 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.parameter.4=8081

Additionally, you need to set

wrapper.tray = false

Otherwise the startup throws an exception of multiple bindings of IP addresses. (This may be solved with a different configuration, but was not further investigated at the time of this writing.)

You may consider changing the CPU affinity of the process for each instance with the option wrapper.affinity

Advanced Options and Trouble Shooting

We gave minimal and easy install instructions here to simplify the initial setup. If you need more background, want to tweak different options, optimize settings, run into issues with YAJSW, please refer to the extensive
YAJSW documentation over here: http://yajsw.sourceforge.net/ especiallyhttp://yajsw.sourceforge.net/YAJSW%20Configuration%20Parameters.html

Pentaho Kettle Upgrade Instructions

When you upgrade to a later Pentaho Kettle release, please make sure to check or change the reference wrapper.working.dir to your Kettle folder within the wrapper.conf file <CarteServiceDirectory>/conf and eventually
the wrapper.java.command.

YAJSW Upgrade Instructions

When you upgrade to a later YAJSW release, please make sure to safe and replace the wrapper.conf file located in <CarteServiceDirectory>/conf and eventually the log files within <CarteServiceDirectory>/log.


This documentation is maintained by the Pentaho community, and members are encouraged to create new pages in the appropriate spaces, or edit existing pages that need to be corrected or updated.

Please do not leave comments on Wiki pages asking for help. They will be deleted. Use the
forums instead.

小知识,简而记之。

*******************************************蓝的成长记系列****************************************************

原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明出处(http://blog.csdn.net/huangyanlong)。

蓝的成长记——追逐DBA(1):奔波于路上,挺进山东

蓝的成长记——追逐DBA(2):安装!安装!久违的记忆,引起我对DBA的重新认知

蓝的成长记——追逐DBA(3):古董上操作,数据导入导出成了问题

蓝的成长记——追逐DBA(4):追忆少年情愁,再探oracle安装(Linux下10g、11g)

蓝的成长记——追逐DBA(5):不谈技术谈业务,恼人的应用系统

蓝的成长记——追逐DBA(6): 做事与做人:小技术,大为人

蓝的成长记——追逐DBA(7):基础命令,地基之石

蓝的成长记——追逐DBA(8):重拾SP报告,回忆oracle的STATSPACK实验

蓝的成长记——追逐DBA(9):国庆渐去,追逐DBA,新规划,新启程

蓝的成长记——追逐DBA(10):飞刀防身,熟络而非专长:摆弄中间件Websphere

蓝的成长记——追逐DBA(11):回家后的安逸,晕晕乎乎醒了过来

蓝的成长记——追逐DBA(12):七天七收获的SQL

蓝的成长记——追逐DBA(13):协调硬件厂商,六个故事:所见所感的“服务器、存储、交换机......”

蓝的成长记——追逐DBA(14):难忘的“云”端,起步的hadoop部署

蓝的成长记——追逐DBA(15):以为FTP很“简单”,谁成想一波三折

蓝的成长记——追逐DBA(16):DBA也喝酒,被捭阖了

蓝的成长记——追逐DBA(17):是分享,还是消费,在后IOE时代学会成长

******************************************************************************************************************

********************************************足球与oracle系列*************************************************

原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明出处(http://blog.csdn.net/huangyanlong)。

足球与oracle系列(1):32路诸侯点兵,oracle32进程联盟 之A组巴西SMON进程的大局观

足球与oracle系列(2):巴西揭幕战预演,oracle体系结构杂谈

足球与oracle系列(3):oracle进程排名,世界杯次回合即将战罢!

足球与oracle系列(4):从巴西惨败于德国,想到,差异的RAC拓扑对比! 

足球与oracle系列(5):fifa14游戏缺失的directX库类比于oracle的rpm包!

足球与oracle系列(6):伴随建库的亚洲杯——加油中国队

******************************************************************************************************************

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-08-06 21:29:46

如何利用kettle官网查找关于carte服务的设置的相关文章

怎样利用kettle官方社区查找关于carte服务的设置

原创作品,出自 "深蓝的blog" 博客,转载时请务必注明出处.否则有权追究版权法律责任. 深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/46863223 利用Kettle社区查找资料:举例:查找关于carte服务的配置 搜索kettle.进入kettle社区.例如以下: 进入社区站点后.找到kettle的document选项,点击.例如以下: 下拉到最低端,查找你要搜索的关键项,点击进入就可以.例如以下: 接下来就

spring官网查找XML基础配置文件

1.首先进入spring官网:https://spring.io/: 2.然后点击projects目录,出现如下页面: 3.点击spring framework进入spring框架页面,点击Learn,点击Reference Doc如图: 4.进入doc页面后,点击Core,如图: 5.进入core页面后,点击1.2.1 Configuration Metadata后下拉页面,即可看到XML基础配置文件模板: 原文地址:https://www.cnblogs.com/silenceshining

从微软官网下载联机入门丛书

微软的产品,若是从搜索引擎搜出来的信息(比如百科)太简略而参考价值太小,就该去官网查找更详细的资料,微软全面的文档以及对文档的国际化相信不会让你失望. 1.打开微软中国官网 http://www.microsoft.com/zh-cn/default.aspx 2.网页拉到底部,点击--微软帮助与支持 链接跳转到:帮助和支持 3.选择要查看的产品 这里以SQL Server为例 链接跳转到:https://technet.microsoft.com/zh-cn/sqlserver/default

利用JQ实现的,高仿 彩虹岛官网导航栏(学习HTML过程中的小记录)

利用JQ实现的,高仿 彩虹岛官网导航栏(学习HTML过程中的小记录)   作者:王可利(Star·星星) 总结: 今天学习的jQ类库的使用,代码重复的比较多需要完善.严格区分大小写,在 $("").css()   这里css是小写的,用 HBuilder 编写补全是大写的..这里要注意 主要使用的方法:jQuery 隐藏 / 显示    jQuery 淡出淡入 需要注意的知识点: 效果的样式: 代码如下:(亲们 自己展开拉~) 1 <!DOCTYPE html> 2 <

利用HTML和CSS设计一个静态的“小米商城官网首页”

一.小项目说明 这是个例行的小项目练习,主要利用html和css的基础知识,复刻一个缩减版的小米商城网页.包括[导航栏].[头部logo区,快捷键.搜索框].[网页主体].[网页尾部]几个部分.目前只实现静态的网页显示.最终效果图如下: 二.程序框架 按照开发规范,先在sublime text3中创建[小米商城首页]文件夹,在此文件夹下创建[css]文件夹(放css文件)和[img]文件夹(放图片)和主要的html文件,如下图: 三.小米商城首页.html 1 <!DOCTYPE html>

利用Python与selenium自动化模拟登陆12306官网!

近年来,12306的反爬越来越来严重,从一年前的 获取tk参数后到现在增加了 JS.CSS等加密方式! 目前大部分人利用的登陆方式都是利用selenium ,此文也不例外. 环境:        Windows python 3.6.5 模块:      selenium pyautogui      time 第一步: 实例化一款浏览器,并进入到12306官网 driver = webdriver.Chrome() driver.get('https://kyfw.12306.cn/otn/r

Asp.Net Web API 2 官网菜鸟学习系列导航[持续更新中]

前言 本来一直参见于微软官网进行学习的, 官网网址http://www.asp.net/web-api.出于自己想锻炼一下学习阅读英文文章的目的,又可以学习下微软新发布的技术,其实也很久了,但自己菜鸟一枚,对自己来说都是新技术了.鉴于以上两个原因,本人打算借助google翻译和有道词典,来翻译学习这个系列,并通过博客园来记录自己的翻译学习过程.由于自己阅读水平的确太菜,在借助工具的情况下,有时候搞出来的也是蹩脚的语句,自己读着都难受,尤其是到了Web API路由的那两篇,所以自己想着是不是有别人

官网例程目录

硬创联盟 Arduino 分群 QQ群号:8580606 翻译自官网:https://www.arduino.cc/en/Tutorial/BuiltInExamples 下文已翻译的教程会有超链接可点击. 内建的例程是包含在 Arduino IDE 内的,要打开的话按菜单 File>Examples.这些简单的例程,展示了所有基本的 Arduino 命令,包括从写 Arduino Sketch 代码至少需要的代码块.数字/模拟读写.传感器的使用以及各种显示方式. 1. 基础 Analog Re

cv/dl/cl领域的实验室官网/牛人主页/技术论坛/比赛数据库/好玩的东西

一(自己整理的) #技术论坛 1/mit的关于关于机器人的技术review https://www.technologyreview.com/c/robotics/ 2/valse视觉与学习青年学者讨论会 http://valser.org/ 3/人工智能资讯平台/机器人/机器视觉 http://www.ailab.cn/robot/Machine_vision/ #比赛 1/pascal voc 含各种代码和数据库 http://www.eecs.berkeley.edu/Research/P