File tree Expand file tree Collapse file tree
console-proxy/server/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 CP=${CP} :$file
3636done
3737keyvalues=
38+ LOGHOME=/var/log/cloud/
3839
3940CMDLINE=$( cat /var/cache/cloud/cmdline)
4041
6061 maxmem=$eightypcnt
6162fi
6263
63- java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -mx${maxmem} m -cp $CP com.cloud.agent.AgentShell $keyvalues $@
64+ java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -Dlog.home= $LOGHOME - mx${maxmem} m -cp $CP com.cloud.agent.AgentShell $keyvalues $@
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+
19+
20+
21+ # runs the console proxy as a standalone server
22+ # i.e., not in the system vm
23+
24+ CP=./:./conf
25+ for file in * .jar
26+ do
27+ CP=${CP} :$file
28+ done
29+ keyvalues=
30+ # LOGHOME=/var/log/cloud/
31+ LOGHOME=$PWD
32+
33+ java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -Dlog.home=$LOGHOME -cp $CP com.cloud.agent.AgentShell $keyvalues $@
Original file line number Diff line number Diff line change 1- # Storage
2- # Sun Mar 24 22:52:35 PDT 2013
3- mount.path =/Users/chiradeep/secondary-storage
1+ # mount.path=~/secondary-storage
42eth1ip =192.168.56.1
53name =192.168.56.10
64eth2ip =192.168.56.10
Original file line number Diff line number Diff line change 3636done
3737keyvalues=
3838
39+ LOGHOME=/var/log/cloud/
3940CMDLINE=$( cat /var/cache/cloud/cmdline)
4041
4142# CMDLINE="graphical utf8 eth0ip=0.0.0.0 eth0mask=255.255.255.0 eth1ip=192.168.140.40 eth1mask=255.255.255.0 eth2ip=172.24.0.50 eth2mask=255.255.0.0 gateway=172.24.0.1 dns1=72.52.126.11 template=domP dns2=72.52.126.12 host=192.168.1.142 port=8250 mgmtcidr=192.168.1.0/24 localgw=192.168.140.1 zone=5 pod=5"
6061 maxmem=$eightypcnt
6162fi
6263
63- java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -mx${maxmem} m -cp $CP com.cloud.agent.AgentShell $keyvalues $@
64+ java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -Dlog.home= $LOGHOME - mx${maxmem} m -cp $CP com.cloud.agent.AgentShell $keyvalues $@
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+
19+
20+
21+ # runs the secondary storage service as a standalone server
22+ # i.e., not in the system vm
23+
24+ CP=./:./conf
25+ for file in * .jar
26+ do
27+ CP=${CP} :$file
28+ done
29+ keyvalues=
30+ # LOGHOME=/var/log/cloud/
31+ LOGHOME=$PWD
32+
33+ java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -Dlog.home=$LOGHOME -cp $CP com.cloud.agent.AgentShell $keyvalues $@
You can’t perform that action at this time.
0 commit comments