==== the diff of my glu-meta-model.json.groovy and the default one
# Copyright (c) 2013 Yan Pujante
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
# http://www.apache.org/licenses/LICENSE-2.0 #
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
if [ -z "$SSH_CMD" ]; then
if [ -z "$SCP_CMD" ]; then
if [ -z "$SCP_OPTIONS" ]; then
if [ -z "$SCP_USER" ]; then
if [ -z "$CP_CMD" ]; then
if [ -z "$CP_OPTIONS" ]; then
if [ -z "$MKDIR_CMD" ]; then
if [ -z "$MKDIR_OPTIONS" ]; then
echo "You may be prompted for the password for user $SCP_USER if you don't use ssh keys."
I found another problem, when I was trying to run 'Commands' on remote agents, I suppose those commands should be running remotely, but it turns out running on 'console server' locally.
i thought it will return the hostname of 10.208.10.53 'SHBNJ-tools-mongodb-10-53.idc.pplive.cn', but it turn out to be 'SHBNJ-tools-mongodb-10-66.idc.pplive.cn' which is the machine serves console-server.
Re: 'Easy Production Setup' only install agents on localhost, not on other machines
Your screenshot is too small I cannot read what is on it. That being said, the commands are always running on the agent, not on the console. One of your agent was localhost... are you sure this is not the one you pick? You can verify by looking at the agent details (this is explained in the tutorial: http://pongasoft.github.io/glu/docs/latest/html/tutorial.html#view-the-agent ) that you are talking to the agent that is installed where you think it is installed.
When you install everything on localhost (like the tutorial does) then localhost means the same thing for everybody so it is not an issue (and localhost was chosen because it makes it easy for having a generic tutorial). But once you split, you should not have localhost anymore in your model.