cle_clock
Home > wikikonf >  tom/actions/by kikonf > crtcluster







Crtcluster

print

Action : tom.crtcluster   (Category : tom, Name : crtcluster, By : kikonf)
Complete Name : tom.crtcluster.by.kikonf
Version : 4.0        License : Modified BSD License

Purpose of the tom category :
Easy to customize. This category use in background the Kikonf Repoz tools to create and configure Apache Tomcat ® root installs and Catalina bases at any level (server.xml, hosts or defaults).
You can use it to manage the whole Tomcat ® Architecture.

Purpose of this crtcluster plugin : Configure a Tomcat/Apache Cluster

The following shows a sample Action File to use with the Action : tom.crtcluster
This sample file can be run with this command : kikact  tom.crtcluster

Toggle lines
<crtcluster
    type = 'action'
    lbname = 'myapplb'
    listener_host = 'my.server.intra.net'
    listener_port = '81'
    virtual_host = 'my.company.com'
    includes_dir =  '$[temp_dir]'
    status = 'true'
    usejk = 'true'
    sitcky_session = 'false'    
>

    <scopes>
        <scope cbase = '$[temp_dir]/myapp1'/>
        <scope cbase = '$[temp_dir]/myapp2'/>
        <scope cbase = '$[temp_dir]/myapp3'/>
    </scopes>

    <uris>
        /mycontext/*.jsp
        /mycontext/image/*.png
        /mycontext/Servlet
    </uris>

    <nodes>
        <node
            name = 'node1'
            host = 'node1.myapp.intra.net'
            port = '8091'
            load_factor = '1'
            jk_cache_size = '10'
        />
        <node
            name = 'node2'
            host = 'node2.myapp.intra.net'
            port = '8092'
            load_factor = '2'
            jk_cache_size = '15'
        />
        <node
            name = 'node3'
            host = 'node3.myapp.intra.net'
            port = '8093'
            load_factor = '1'
            jk_cache_size = '10'
        />
    </nodes>

</crtcluster>
							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/tom/crtcluster/by/kikonf/tom.crtcluster.by.kikonf.xml)


  • Line 1 to 3 say something , say something , say something
  • Line 10 to 17 say something , say something , say something , say something , say something
  • Line 20 to 25 say something



Trademarks :
  • "Apache", "Apache Tomcat" and "Tomcat" are trademarks of the Apache Software Foundation.
  • "Java" and "JVM" are a registred trademarks of Oracle and/or its affiliates.
  • Other names may be trademarks of their respective owners.

Copyright © 2011 - Patrick Placidoux, Hélène Malamoud