Excerpt | ||
---|---|---|
| ||
Simple Web Server for Remote Execution and Clustering |
Index
...
차례
...
...
What is Carte?
Anchor | ||||
---|---|---|---|---|
|
Carte? ????? Transformation?? Job? ?????? ??? ??????. Carte? ?? ????? ???? transformation? ????? ??? XML? ??? ?? ??????. ???, Carte ???? ???? ?? transformation? job? ???? ????, ??? ???? ?? ?????.
Carte? ???? ?? ??? Pentaho Data Integration ??? ???? ???? ????.
??
Anchor
?? Sun Microsystems Java Runtime Environment 1.5 ?? ??? ???. ???? ??Carte는 원격으로 Transformation이나 Job을 실행할 수 있도록 하는 간단한 웹서버입니다. It does so by accepting XML (using a small servlet) that contains the transformation to execute and the execution configuration. It also allows you to remotely monitor, start and stop the transformations and jobs that run on the Carte server.
A server that is running Carte is called a Slave Server in the Pentaho Data Integration terminology.
Installation
Anchor | ||||
---|---|---|---|---|
|
The first step is the installation of Sun Microsystems Java Runtime Environment version 1.5 or higher. You can download a JRE for free at http://www.java.com/ ??? JRE? ?? ?? ? ????.? ?, ????? ??? zip??? ??? ????? ??? ?? ???.
??? ? Kettle ?????? ?? ?? ??? ?? ????. ??? ?? ?????, ??????? ???? ??? ??? ???. ?? ??? ????, Kettle ?????? ?? ?????? ????? ???.
After this, you can simply unzip the binary distribution zip-file in a directory of your choice.
In the Kettle directory where you unzipped the file, you will find a number of files.
Under Unix-like environments (Solaris, Linux, OSX, ...) you will need to make the shell scripts executable. Execute these commands to make all shell scripts in the Kettle directory executable:
Code Block |
---|
cd Kettle chmod +x *.sh |
Launching Carte
...
Anchor | ||||
---|---|---|---|---|
|
To launch Carte on the different platforms these are the scripts that are provided:
- Carte.bat: ??? ????? Carte? ?? run Carte on the Windows platform.
- carte.sh: Unix ???? OSX?? Carte? ??
Carte? Java Runtime Environment ?? 1.5 ??? ?? ?? ??, ?? ?????? ?? ? ? ????.
??? ?? ??
...
Carte? ??? ??? ?? ??? ????.
...
??
...
?? ??
...
- run Carte on Unix platforms and OSX
Carte can be run on any platform that has a version of the Java Runtime Environment version 1.5 or higher.
Command line options
Anchor | ||||
---|---|---|---|---|
|
Carte accepts 2 command line options:
- The IP address or host name to run on. If you have a machine with multiple network cards you can choose here which interface to run on.
- The port to listen to (defaults to port 80)
Security
Anchor | ||||
---|---|---|---|---|
|
Basic Authentication
Anchor | ||||
---|---|---|---|---|
|
Carte uses basic authentication to control access to the web services.
The default user and password to use to gain control is "cluster".
You can change either of these in the file
Code Block |
---|
pwd/kettle.pwd |
From version 3.1 ?? ?? ? ???? ??? on you can also put this password file in $HOME/.kettle/ ?? or $KETTLE_HOME/.kettle/ ?? ? ? ????.kettle.pwd? ?? ????? ??? ?? ?? ?????. ???? "Encr" ?? ?? ???? ????? ?? ? ? ????.
?? ??
It is possible to obfuscate the password in the kettle.pwd file. We have a tool called "Encr" in the distribution that allows you to generate passwords that are obfuscated
For example:
Code Block |
---|
sh encr.sh -carte my-l33t-passwd OBF:1uh420ld1kqh1x881idt1lc21l1i1kxk1lfg1igd1x8m1kud20l91ugm |
? ??, kettle.pwd? ??? The string "OBF:1uh420ld1kqh1x881idt1lc21l1i1kxk1lfg1igd1x8m1kud20l91ugm" ? ??? ?? ?? ???? ?? ?? ? ? ? ????can then be copied into the kettle.pwd file in stead of the clear-text password.
JAAS
Anchor | ||||
---|---|---|---|---|
|
It is possible to make Carte ? use JAAS (Java Authentication and Authorization Service)? ???? ?? ?????.??? ?? ?? .
To do this, define an environment variable called "loginmodulename" as well as the "java.security.auth.login.config" ????? "loginmodulename" ????? ?????. Carte? ? ??? ??, ?? ??? ???property. Carte will pick these up to use these authentication settings.