admin@glassfish.java.net

create-cluster command

From: Anissa Lam <anissa.lam_at_oracle.com>
Date: Wed, 16 Jun 2010 13:03:01 -0700

Is the implementation for the create-cluster command complete ?
It seems that it only takes the 'out-dated' attributes, but then get an
error in the config layer later.
If i specify the new attribute name, it won't recognize it.

Here is my experience:

%asadmin create-cluster --haagentport 4567 XYZ
remote failure: Exception while adding the new configuration
org.jvnet.hk2.config.TransactionFailure: Injection failed on int
com.sun.enterprise.config.serverbeans.Cluster$Decorator.haagentport :
org.jvnet.hk2.config.TransactionFailure: Injection failed on int
com.sun.enterprise.config.serverbeans.Cluster$Decorator.haagentport


%asadmin create-cluster --HeartbeatPort 4567 XYZ
Invalid option: --HeartbeatPort
Usage: asadmin [asadmin-utility-options] create-cluster [--portbase
<portbase>]
    [--haproperty <haproperty>] [--devicesize <devicesize>]
    [--haadminpasswordfile <haadminpasswordfile>] [--autohadb <autohadb>]
    [--hosts <hosts>] [--haadminpassword <haadminpassword>]
    [--config <config>] [--systemproperties <systemproperties>]
    [--properties <properties>] [--haagentport <haagentport>]
    [-?|--help[=<help(default:false)>]] name
Command create-cluster failed.

%asadmin create-cluster --heartbeatPort 4567 XYZ
Invalid option: --heartbeatPort
Usage: asadmin [asadmin-utility-options] create-cluster [--portbase
<portbase>]
    [--haproperty <haproperty>] [--devicesize <devicesize>]
    [--haadminpasswordfile <haadminpasswordfile>] [--autohadb <autohadb>]
    [--hosts <hosts>] [--haadminpassword <haadminpassword>]
    [--config <config>] [--systemproperties <systemproperties>]
    [--properties <properties>] [--haagentport <haagentport>]
    [-?|--help[=<help(default:false)>]] name
Command create-cluster failed.


thanks
Anissa.