cloudmesh / cloudmesh-rest

experimental REST services with eve
Other
0 stars 8 forks source link

reinvent code from cloudmesh to manage mongod #1

Open laszewsk opened 7 years ago

laszewsk commented 7 years ago

a) list if mongo is running b) list on which port it is running c) create kill d) do log d) put in class

tips: mongod --fork --logpath /var/log/mongodb.log --logappend nc -zvv localhost 27017 ps -ax | grep mongo

laszewsk commented 7 years ago

this may inspire reworked class

however we do not want to use fabric as it will introduce issues

we do not want all the complexity that we did in cloudmesh/cloudmesh but just starting stoping the server and getting some info, so this should be the focus not all the additional things we did in an older version of cloudmesh.

https://github.com/cloudmesh/cloudmesh/blob/master/cloudmesh_admin/server_admin.py https://github.com/cloudmesh/cloudmesh/blob/master/cloudmesh_admin/admin.py https://github.com/cloudmesh/cloudmesh/blob/master/fabfile/mongo.py