Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
27ca0db1
authored
Sep 15, 2019
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update knowloagdebase
parent
cac04193
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
69 additions
and
2 deletions
common/docs/knowledgeBase/elasticsearch-maintenance.txt
common/docs/knowledgeBase/how-to-renew-certificate.txt
common/docs/knowledgeBase/influxdb-maintenance.txt
common/docs/knowledgeBase/orientdb-3-maintenance.txt
common/docs/knowledgeBase/troubleshooting.txt
common/docs/knowledgeBase/elasticsearch-maintenance.txt
0 → 100644
View file @
27ca0db1
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
common/docs/knowledgeBase/how-to-renew-certificate.txt
View file @
27ca0db1
...
@@ -14,18 +14,32 @@ To re-generate a new valid certficate on one of the domains(safeyme.com/ipgaller
...
@@ -14,18 +14,32 @@ To re-generate a new valid certficate on one of the domains(safeyme.com/ipgaller
2. backup the current certtficate
2. backup the current certtficate
>cd /opt/mcz
>cd /opt/mcz
>tar czvf config-letsencrypt-20190616.tar.gz config-letsencrypt
>tar czvf config-letsencrypt-20190616.tar.gz config-letsencrypt
> mv /config-letsencrypt /config-letsencrypt_old
3. stop the frontend
3. stop the frontend
>dc -f mcx-frontend.yml stop
>dc -f mcx-frontend.yml stop
4. generate a new certifcate - run the docker: letsencrypt
4. generate a new certifcate - run the docker: letsencrypt
>cd /opt/mcx/config/docker/
>dc -f letsencrypt.yml up
>dc -f letsencrypt.yml up
Ctrl+C too stop !
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-down
>./sys-up
>./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
6. browse to: https://ipgallery-mcz.com/control/app/main/control.html
and verify that the sites is loaded without any certificate issue.
and verify that the sites is loaded without any certificate issue.
...
...
common/docs/knowledgeBase/influxdb-maintenance.txt
0 → 100644
View file @
27ca0db1
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
============================
common/docs/knowledgeBase/orientdb-3-maintenance.txt
View file @
27ca0db1
...
@@ -22,5 +22,8 @@ orientdb>CONNECT remote:localhost/MCX root giptmgrr
...
@@ -22,5 +22,8 @@ orientdb>CONNECT remote:localhost/MCX root giptmgrr
orientdb>IMPORT DATABASE orientdb/MCX-XXX.gz -preserveClusterIDs=true
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
common/docs/knowledgeBase/troubleshooting.txt
0 → 100644
View file @
27ca0db1
1. if failed pulling a docker
make sure you are logged in:
>docker login municipalitybank.com:5050
user: amira
password: giptmgrr
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment