File tree Expand file tree Collapse file tree 8 files changed +40
-0
lines changed
Expand file tree Collapse file tree 8 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ RUN mkdir /logs \
154154 && chmod -R g+rw /logs \
155155 && chown -R 1001:0 /etc/wlp \
156156 && chmod -R g+rw /etc/wlp \
157+ && if [ -e /etc/instanton.ld.so.cache ]; then chmod g+w /etc/ld.so.cache; fi \
157158 && chown -R 1001:0 /home/default \
158159 && chmod -R g+rw /home/default
159160
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ RUN mkdir /logs \
154154 && chmod -R g+rw /logs \
155155 && chown -R 1001:0 /etc/wlp \
156156 && chmod -R g+rw /etc/wlp \
157+ && if [ -e /etc/instanton.ld.so.cache ]; then chmod g+w /etc/ld.so.cache; fi \
157158 && chown -R 1001:0 /home/default \
158159 && chmod -R g+rw /home/default
159160
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ RUN mkdir /logs \
154154 && chmod -R g+rw /logs \
155155 && chown -R 1001:0 /etc/wlp \
156156 && chmod -R g+rw /etc/wlp \
157+ && if [ -e /etc/instanton.ld.so.cache ]; then chmod g+w /etc/ld.so.cache; fi \
157158 && chown -R 1001:0 /home/default \
158159 && chmod -R g+rw /home/default
159160
Original file line number Diff line number Diff line change 66 pidplus.sh
77done
88
9+ if [ -e /etc/instanton.ld.so.cache ]; then
10+ cp /etc/instanton.ld.so.cache /etc/ld.so.cache
11+ fi
12+
13+ ARCH=" $( uname -m) " ;
14+ case " ${ARCH} " in
15+ ppc64el|ppc64le)
16+ export JVM_ARGS=" ${JVM_ARGS} -XX:+JVMPortableRestoreMode"
17+ ;;
18+ s390x)
19+ export JVM_ARGS=" ${JVM_ARGS} -XX:+JVMPortableRestoreMode"
20+ ;;
21+ * )
22+ ;;
23+ esac ;
24+
25+
926echo " Performing checkpoint --at=$1 "
1027/opt/ibm/wlp/bin/server checkpoint defaultServer --at=$1
1128
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ RUN mkdir /logs \
154154 && chmod -R g+rw /logs \
155155 && chown -R 1001:0 /etc/wlp \
156156 && chmod -R g+rw /etc/wlp \
157+ && if [ -e /etc/instanton.ld.so.cache ]; then chmod g+w /etc/ld.so.cache; fi \
157158 && chown -R 1001:0 /home/default \
158159 && chmod -R g+rw /home/default
159160
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ RUN mkdir /logs \
154154 && chmod -R g+rw /logs \
155155 && chown -R 1001:0 /etc/wlp \
156156 && chmod -R g+rw /etc/wlp \
157+ && if [ -e /etc/instanton.ld.so.cache ]; then chmod g+w /etc/ld.so.cache; fi \
157158 && chown -R 1001:0 /home/default \
158159 && chmod -R g+rw /home/default
159160
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ RUN mkdir /logs \
154154 && chmod -R g+rw /logs \
155155 && chown -R 1001:0 /etc/wlp \
156156 && chmod -R g+rw /etc/wlp \
157+ && if [ -e /etc/instanton.ld.so.cache ]; then chmod g+w /etc/ld.so.cache; fi \
157158 && chown -R 1001:0 /home/default \
158159 && chmod -R g+rw /home/default
159160
Original file line number Diff line number Diff line change 66 pidplus.sh
77done
88
9+ if [ -e /etc/instanton.ld.so.cache ]; then
10+ cp /etc/instanton.ld.so.cache /etc/ld.so.cache
11+ fi
12+
13+ ARCH=" $( uname -m) " ;
14+ case " ${ARCH} " in
15+ ppc64el|ppc64le)
16+ export JVM_ARGS=" ${JVM_ARGS} -XX:+JVMPortableRestoreMode"
17+ ;;
18+ s390x)
19+ export JVM_ARGS=" ${JVM_ARGS} -XX:+JVMPortableRestoreMode"
20+ ;;
21+ * )
22+ ;;
23+ esac ;
24+
25+
926echo " Performing checkpoint --at=$1 "
1027/opt/ibm/wlp/bin/server checkpoint defaultServer --at=$1
1128
You can’t perform that action at this time.
0 commit comments