1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Archiver Appliance stuck in "Initial sampling" state |
From: | <[email protected]> |
To: | <[email protected]> |
Cc: | [email protected] |
Date: | Wed, 22 Jun 2016 10:50:43 +0000 |
Hello
Murali, Yes that works! My problem came from the appliance.xml file setupscript made. In the setupscript it reads: FQ_HOSTNAME=`hostname -f` # Create an appliances.xml file and set up this appliance's identity. cat > ${DEPLOY_DIR}/appliances.xml <<EOF <appliances> <appliance> <identity>appliance0</identity> <cluster_inetport>${FQ_HOSTNAME}:16670</cluster_inetport> <mgmt_url>http://${FQ_HOSTNAME}:17665/mgmt/bpl</mgmt_url> <engine_url>http://${FQ_HOSTNAME}:17666/engine/bpl</engine_url> <etl_url>http://${FQ_HOSTNAME}:17667/etl/bpl</etl_url> <retrieval_url>http://localhost:17668/retrieval/bpl</retrieval_url> <data_retrieval_url>http://${FQ_HOSTNAME}:17668/retrieval</data_retrieval_url> </appliance> </appliances> EOF In the quickstart script it reads: cat > "${ARCHAPPL_APPLIANCES}" <<EOF <appliances> <appliance> <identity>appliance0</identity> <cluster_inetport>localhost:16670</cluster_inetport> <mgmt_url>http://localhost:17665/mgmt/bpl</mgmt_url> <engine_url>http://localhost:17665/engine/bpl</engine_url> <etl_url>http://localhost:17665/etl/bpl</etl_url> <retrieval_url>http://localhost:17665/retrieval/bpl</retrieval_url> <data_retrieval_url>http://${FQ_HOSTNAME}:17665/retrieval</data_retrieval_url> </appliance> </appliances> EOF On the bold line in the setupscript is gives localhost and on the other lines it uses the hostname (which didn’t work on this default linux setup). I put everything
to “localhost” by copying the Quickstart “appliance.xml” and then I broke the port numbers. After putting the portnumbers back and changing everything to localhost, it started
to archive. I guess that I should sort out the hostname on this VM but I believe that caused this issue. Best regards, Rory Rory Clarke Electrical and Controls Systems Group Daresbury Laboratory Keckwick Lane
Warrington Cheshire WA4 4AD T:
01925 60 Ext. 3172 From: Shankar, Murali [mailto:[email protected]]
Apologies; forgot to cc you. Regards, Murali From: Shankar, Murali >> I also changed the “appliance.xml” file to match the quickstart demo version The quickstart.sh and single_machine_install.sh are fundamentally two different deployment models. The "quickstart.sh" runs all the
WAR files in a single Tomcat instance; thus all the ports in your appliance.xml will be 17665. The "single_machine_install.sh" uses four separate tomcat instances; one each for each of the components. Your "sampleStartup.sh"
will start up four different tomcat's; each of which listen on different ports. This is probably the reason why you are getting this exception java.io.IOException: Invalid status calling
http://localhost:17665/engine/bpl/getVersion. Got 404Not Found I would first try to reuse you original appliances.xml. Make sure the four component start up correctly without exceptions first. If you need more help, ping feel free to ping me offline. Regards, Murali |