#python-memcached
python-memcached
+#uwsgi for parallel processing
+uwsgi
+
# for unit test
coverage==4.2
mock==2.0.0
memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=lib/share
-nohup python manage.py runserver 0.0.0.0:9003 2>&1 &
+#nohup python manage.py runserver 0.0.0.0:9003 2>&1 &
+nohup uwsgi --http :9003 --module newton.wsgi --master --processes 4 &
logDir="/var/log/onap/multicloud/openstack/newton"
if [ ! -x $logDir ]; then
# See the License for the specific language governing permissions and
# limitations under the License.
-ps auxww | grep 'manage.py runserver 0.0.0.0:9003' | awk '{print $2}' | xargs kill -9
+#ps auxww | grep 'manage.py runserver 0.0.0.0:9003' | awk '{print $2}' | xargs kill -9
+ps auxww |grep 'uwsgi --http :9003 --module newton.wsgi --master' |awk '{print $2}' |xargs kill -9
ps auxww | grep 'memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9
#python-memcached
python-memcached
+#uwsgi for parallel processing
+uwsgi
+
# for unit test
coverage==4.2
mock==2.0.0
memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=lib/share
-nohup python manage.py runserver 0.0.0.0:9006 2>&1 &
+#nohup python manage.py runserver 0.0.0.0:9006 2>&1 &
+nohup uwsgi --http :9006 --module ocata.wsgi --master --processes 4 &
logDir="/var/log/onap/multicloud/openstack/ocata"
if [ ! -x $logDir ]; then
# See the License for the specific language governing permissions and
# limitations under the License.
-ps auxww | grep 'manage.py runserver 0.0.0.0:9006' | awk '{print $2}' | xargs kill -9
+#ps auxww | grep 'manage.py runserver 0.0.0.0:9006' | awk '{print $2}' | xargs kill -9
+ps auxww |grep 'uwsgi --http :9006 --module ocata.wsgi --master' |awk '{print $2}' |xargs kill -9
ps auxww | grep 'memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9
#python-memcached
python-memcached
+#uwsgi for parallel processing
+uwsgi
+
# for unit test
coverage==4.2
mock==2.0.0
memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=lib/share
-nohup python manage.py runserver 0.0.0.0:9005 2>&1 &
+#nohup python manage.py runserver 0.0.0.0:9005 2>&1 &
+nohup uwsgi --http :9005 --module titanium_cloud.wsgi --master --processes 4 &
logDir="/var/log/onap/multicloud/openstack/windriver"
if [ ! -x $logDir ]; then
# See the License for the specific language governing permissions and
# limitations under the License.
-ps auxww | grep 'manage.py runserver 0.0.0.0:9005' | awk '{print $2}' | xargs kill -9
+#ps auxww | grep 'manage.py runserver 0.0.0.0:9005' | awk '{print $2}' | xargs kill -9
+ps auxww |grep 'uwsgi --http :9005 --module titanium_cloud.wsgi --master' |awk '{print $2}' |xargs kill -9
ps auxww | grep 'memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9