Commit 27ca0db1 by Adi Amir

update knowloagdebase

parent cac04193
1. UI Tool
==========
kibana: http://172.16.1.80:5601
2. To drop & re-create a new database
=====================================
3. useful commands
==================
/home/adi/git/devops/common/docs/elasticsearch-rest.txt
......@@ -14,18 +14,32 @@ To re-generate a new valid certficate on one of the domains(safeyme.com/ipgaller
2. backup the current certtficate
>cd /opt/mcz
>tar czvf config-letsencrypt-20190616.tar.gz config-letsencrypt
> mv /config-letsencrypt /config-letsencrypt_old
3. stop the frontend
>dc -f mcx-frontend.yml stop
4. generate a new certifcate - run the docker: letsencrypt
>cd /opt/mcx/config/docker/
>dc -f letsencrypt.yml up
Ctrl+C too stop !
5. restart the system
5. check that a directory named 'letsencrypt' exists under '/opt/mcz/config-letsencrypt'
the diectory should comtaon a link "keys -> ../etc/letsencrypt/live/safeyme.com/"
if not - create it manually as follow:
>cd /opt/mcz/config-letsencrypt
>mkdir letsencrypt under
>ln -s ../etc/letsencrypt/live/ipgallery-mcz.com keys
>chown -R 911:911 letsencrypt
6. restart the system
>./sys-down
>./sys-up
7. check the frontend logs to verity that no errors regarding certificate occurs.
6. browse to: https://ipgallery-mcz.com/control/app/main/control.html
and verify that the sites is loaded without any certificate issue.
......
1. UI Tool
==========
install "Time Series Admin"
database URL: http://172.16.1.80:8086
user: root
password: giptmgrr
db: mcx_db
NOTE: use the "retenetion policy" in influx to delete/archive old records
2. To drop & re-create a new database
=====================================
3. to export/backup influxdb
============================
......@@ -22,5 +22,8 @@ orientdb>CONNECT remote:localhost/MCX root giptmgrr
orientdb>IMPORT DATABASE orientdb/MCX-XXX.gz -preserveClusterIDs=true
useful commands:
================
IMPORT DATABASE /orientdb/backup/MCX-72-PARTIAL-SERVICES-ALERTS.gz -merge=true
EXPORT DATABASE /orientdb/backup/MCX-72-PARTIAL-SERVICES-ALERTS.gz -excludeAll -includeClass="Service Alert"
\ No newline at end of file
1. if failed pulling a docker
make sure you are logged in:
>docker login municipalitybank.com:5050
user: amira
password: giptmgrr
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment