cle_clock
Home > wikikonf >  was/actions/by kikonf > chgports







Chgports

print

Action : was.chgports   (Category : was, Name : chgports, By : kikonf)
Complete Name : was.chgports.by.kikonf
Version : 5.0        License : Modified BSD License

Purpose of the was category :
Easy to customize. This category use in background the wsadmin command in jython mode (through AdminConfig, AdminControl and AdminTask), to drive WebSphere Application Server configuration.
You can use it to manage the whole WebSphere architecture.

Purpose of this chgports plugin : Change all the JVM (TM) ports

The following shows the Descriptor File for the Action : was.chgports

Toggle lines
<!-- Copyright (c) 2008, Patrick Germain Placidoux                          -->
<!-- All rights reserved.                                                   -->
<!--                                                                        -->
<!-- This file is part of Kikonf Public Software.                           -->
<!--                                                                        -->
<!-- Kikonf Public Software is released under the modified BSD License,     -->
<!-- which should accompany it or any part of it in the file "COPYING".     -->
<!-- If you do not have this file you can access the license                -->
<!-- through the WWW at http://www.kikonf.org/license/bsd/license.txt.      -->
<!--                                                                        -->
<!-- Home page: http://www.kikonf.org                                       -->
<!-- Contact: kikonf@gmx.com                                                -->
<!-- ====================================================================== -->
<!--                                                                        -->
<!--                                                                        -->
<!--                                                                        -->
<!-- DESCRIPTION : Was alias configuration.                                 -->
<!--                                                                        -->
<!-- ====================================================================== -->
<!-- UPDATE     |     DATE     |   CODE   |  REASON                         -->
<!-- ====================================================================== -->
<!--            |              |          |                                 -->
<!--                                                                        -->
<!--                                                                        -->
<!-- ====================================================================== -->

<!-- starting_port: If you guive a starting_port the whole JVM(TM) ports will numbered starting by this value. -->
<!-- was6Ports: If you guive per port values, each port is numbered as specified here. -->


    
<chgports
    type = '{\
        *eq:action,\
        *required:True,\
        *display:False\
    }'
    bal = '{*display:False}'
    sub_type = '{\
        *value:configuration,\
        *eq:configuration,\
        *required:True,\
        *deny:True,\
        *display:False\
    }'
    softwares = "{
        '*type':'dict',
        '*dtype':
            {
                'was':
                {
                    '*ge':'6.1',
                    '*le':'7.9',
                    '*required':True
                }
            },
        '*deny':True, 
        '*display':False
    }"

    starting_port='{*type:int}'
    __wk__='{\
        *help:%lang/action.was.en/chgports.help,\
        *lhelp:%lang/action.was.en/chgports.lhelp\
    }'
    >
    
    <scope 
        node = '{*required:True}'
        server = '{*required:True}'
        __wk__='{*eq:1,\
            *help:%lang/action.was.en/scope.help,\
            *lhelp:%lang/action.was.en/scope.lhelp\
        }'
    />
    

    <!-- 
        Note: starting_port and specific definitions are exclusives.
        beware of the WAS version.
    -->    

    <was6Ports 
        BOOTSTRAP_ADDRESS='{*value:0,*type:int,*required:True}'
        SOAP_CONNECTOR_ADDRESS='{*value:0,*type:int,*required:True}'
        SAS_SSL_SERVERAUTH_LISTENER_ADDRESS='{*value:0,*type:int,*required:True}'
        CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS='{*value:0,*type:int,*required:True}'
        CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS='{*value:0,*type:int,*required:True}'
        WC_adminhost='{*value:0,*type:int,*required:True}'
        WC_defaulthost='{*value:0,*type:int,*required:True}'
        DCS_UNICAST_ADDRESS='{*value:0,*type:int,*required:True}'
        WC_adminhost_secure='{*value:0,*type:int,*required:True}'
        WC_defaulthost_secure='{*value:0,*type:int,*required:True}'
        SIP_DEFAULTHOST='{*value:0,*type:int,*required:True}'
        SIP_DEFAULTHOST_SECURE='{*value:0,*type:int,*required:True}'
        SIB_ENDPOINT_ADDRESS='{*value:0,*type:int,*required:True}'
        SIB_ENDPOINT_SECURE_ADDRESS='{*value:0,*type:int,*required:True}'
        SIB_MQ_ENDPOINT_ADDRESS='{*value:0,*type:int,*required:True}'
        SIB_MQ_ENDPOINT_SECURE_ADDRESS='{*value:0,*type:int,*required:True}'
        ORB_LISTENER_ADDRESS='{*value:0,*type:int,*required:True}'
        __wk__='{*le:1,\
            *help:%lang/action.was.en/chgports.was6Ports.help,\
            *lhelp:%lang/action.was.en/chgports.was6Ports.lhelp\
        }'
    />

    <was7Ports
        BOOTSTRAP_ADDRESS='{*value:0,*type:int,*required:True}'
        WC_adminhost='{*value:0,*type:int,*required:True}'
        WC_adminhost_secure='{*value:0,*type:int,*required:True}'
        WC_defaulthost='{*value:0,*type:int,*required:True}'
        WC_defaulthost_secure='{*value:0,*type:int,*required:True}'
        BOOTSTRAP_ADDRESS='{*value:0,*type:int,*required:True}'
        CELL_DISCOVERY_ADDRESS='{*value:0,*type:int,*required:True}'
        CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS='{*value:0,*type:int,*required:True}'
        CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS='{*value:0,*type:int,*required:True}'
        DCS_UNICAST_ADDRESS='{*value:0,*type:int,*required:True}'
        JMSSERVER_SECURITY_PORT='{*value:0,*type:int,*required:True}'
        IPC_CONNECTOR_ADDRESS='{*value:0,*type:int,*required:True}'
        SIB_MQ_ENDPOINT_ADDRESS='{*value:0,*type:int,*required:True}'
        SIB_MQ_ENDPOINT_SECURE_ADDRESS='{*value:0,*type:int,*required:True}'
        ORB_LISTENER_ADDRESS='{*value:0,*type:int,*required:True}'
        RMI_CONNECTOR_ADDRESS='{*value:0,*type:int,*required:True}'
        JSR160RMI_CONNECTOR_ADDRESS='{*value:0,*type:int,*required:True}'
        SAS_SSL_SERVERAUTH_LISTENER_ADDRESS='{*value:0,*type:int,*required:True}'
        SIB_ENDPOINT_ADDRESS='{*value:0,*type:int,*required:True}'
        SIB_ENDPOINT_SECURE_ADDRESS='{*value:0,*type:int,*required:True}'
        SIP_DEFAULTHOST='{*value:0,*type:int,*required:True}'
        SIP_DEFAULTHOST_SECURE='{*value:0,*type:int,*required:True}'
        SOAP_CONNECTOR_ADDRESS='{*value:0,*type:int,*required:True}'
        __wk__='{*le:1,\
            *help:%lang/action.was.en/chgports.was7Ports.help,\
            *lhelp:%lang/action.was.en/chgports.was7Ports.lhelp\
        }'
    />

</chgports>

							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/was/chgports/by/kikonf/ACT_INF/action.xml)


A descriptor file is a WYSISWYG xsd like schema, wich describes what are the supported Tags, Attributes and Attributes values for one Action.
The special Attributes : type, sub_type, bal, softwares, __wk__ are reserved by Kikonf.

The table below summarizes the informations provided by the was.chgports Descriptor File :

/chgports>   Change all the JVM (TM) ports
Name Default Type Required Denied Help
starting_port   int      

/chgports/scope>   A scope refers to a Name Space where to create the resource
Required:True
Name Default Type Required Denied Help
node     True    
server     True    

/chgports/was6Ports>   An exhaustive list of the WAS (TM) 6.1 ports
Name Default Type Required Denied Help
BOOTSTRAP_ADDRESS 0 int True    
SOAP_CONNECTOR_ADDRESS 0 int True    
SAS_SSL_SERVERAUTH_LISTENER_ADDRESS 0 int True    
CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS 0 int True    
CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS 0 int True    
WC_adminhost 0 int True    
WC_defaulthost 0 int True    
DCS_UNICAST_ADDRESS 0 int True    
WC_adminhost_secure 0 int True    
WC_defaulthost_secure 0 int True    
SIP_DEFAULTHOST 0 int True    
SIP_DEFAULTHOST_SECURE 0 int True    
SIB_ENDPOINT_ADDRESS 0 int True    
SIB_ENDPOINT_SECURE_ADDRESS 0 int True    
SIB_MQ_ENDPOINT_ADDRESS 0 int True    
SIB_MQ_ENDPOINT_SECURE_ADDRESS 0 int True    
ORB_LISTENER_ADDRESS 0 int True    

/chgports/was7Ports>   An exhaustive list of the WAS (TM) 6.1 ports
Name Default Type Required Denied Help
BOOTSTRAP_ADDRESS 0 int True    
WC_adminhost 0 int True    
WC_adminhost_secure 0 int True    
WC_defaulthost 0 int True    
WC_defaulthost_secure 0 int True    
BOOTSTRAP_ADDRESS 0 int True    
CELL_DISCOVERY_ADDRESS 0 int True    
CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS 0 int True    
CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS 0 int True    
DCS_UNICAST_ADDRESS 0 int True    
JMSSERVER_SECURITY_PORT 0 int True    
IPC_CONNECTOR_ADDRESS 0 int True    
SIB_MQ_ENDPOINT_ADDRESS 0 int True    
SIB_MQ_ENDPOINT_SECURE_ADDRESS 0 int True    
ORB_LISTENER_ADDRESS 0 int True    
RMI_CONNECTOR_ADDRESS 0 int True    
JSR160RMI_CONNECTOR_ADDRESS 0 int True    
SAS_SSL_SERVERAUTH_LISTENER_ADDRESS 0 int True    
SIB_ENDPOINT_ADDRESS 0 int True    
SIB_ENDPOINT_SECURE_ADDRESS 0 int True    
SIP_DEFAULTHOST 0 int True    
SIP_DEFAULTHOST_SECURE 0 int True    
SOAP_CONNECTOR_ADDRESS 0 int True    



Trademarks :
  • "IBM", "WebSphere", "WebSphere Aplication Server", "WAS" are registred trademarks of International Business Machines Corporation.
  • "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