dev@glassfish.java.net

Re: can't start cluster after upgrade

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Tue, 14 Sep 2010 15:12:12 -0500

  Bobby,
 From your v2 install, where were the instances? On localhost? Or on na1?

It might be helpful at this point a get together to look at this.
Tom


On 9/14/2010 2:50 PM, Bobby Bissett wrote:
> Howdy,
>
> Now that we're past several other hurdles, I'm trying to start my cluster after an upgrade following these steps and the instances aren't starting:
>
> http://wikis.sun.com/display/GlassFish/V3.1Clustering#V3.1Clustering-Upgrade
>
> The specific error message (full output below) is "Server instance directory /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/na1/instance1 does not exist or is not a directory"
>
> Instead, I have these directories (localhost instead of na1):
> /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/localhost/instance1
> /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/localhost/instance2
>
> Any ideas what's going on?
>
> Thanks,
> Bobby
>
> --- full output below, starting with exporting the sync bundle ---
>
> hostname% ./asadmin export-sync-bundle --target cluster1 mybundle
> Sync bundle: /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/domains/domain1/config/mybundle
> Command export-sync-bundle executed successfully.
>
> hostname% ./asadmin create-local-instance --cluster cluster1 instance1
> Rendezvoused with DAS on localhost:4848.
>
> Download root for bootstrapping: /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/localhost/instance1
>
> Command create-local-instance executed successfully.
>
> hostname% ./asadmin import-sync-bundle --file ../domains/domain1/config/mybundle instance2
> Command import-sync-bundle executed successfully.
>
>
> hostname% ./asadmin start-cluster cluster1
> remote failure: instance1: Could not start instance instance1 on node na1 (dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com).
>
> Command failed on node na1 (dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com): Command start-local-instance failed.
>
> Server instance directory /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/na1/instance1 does not exist or is not a directory
>
> To complete this operation run the following command locally on host dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com from the GlassFish install location /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish:
>
> asadmin start-local-instance --node na1 instance1
> instance2: Could not start instance instance2 on node na1 (dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com).
>
> Command failed on node na1 (dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com): Command start-local-instance failed.
>
> Server instance directory /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/na1/instance2 does not exist or is not a directory
>
> To complete this operation run the following command locally on host dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com from the GlassFish install location /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish:
>
> asadmin start-local-instance --node na1 instance2
>
> The command start-instance failed for: instance1 instance2
>
> Command start-cluster failed.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>