tasks(migrate-elasticsearch-to-books-vds): 🟢 closed — 3 indices Windows→books VDS
928616 docs (artmone 2621 / epz 820604 / products 105922) migrated via reindex-from-remote. Pre-migration snapshot к kreknin repo, target stack 33 получил `reindex.remote.whitelist=elasticold.kzntsv.site:443` через Portainer API. Consumer configs (books-api + books-task-runner + books-job-scheduler) sed'd elasticold→elasticsearch.kzntsv.site, 3 containers restarted. Per-doc byte-match verified, internal smoke от books-api → новый ES 200 OK. Source ES оставлен running per user (rollback ready).
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
---
|
||||
title: Books VDS (client server — 89.253.255.133)
|
||||
type: entity
|
||||
tags: [hardware, vds, books, host4g, backup, portainer]
|
||||
tags: [hardware, vds, books, host4g, backup, portainer, elasticsearch]
|
||||
related: [[kreknin-synology]], [[vds-kzntsv]], [[../concepts/portainer-stack-management-books-vds]]
|
||||
updated: 2026-05-25
|
||||
updated: 2026-05-25 (ES migration from Windows host)
|
||||
---
|
||||
|
||||
# Books VDS
|
||||
@@ -50,7 +50,7 @@ Post-migration 2026-05-25 (см. [[../concepts/portainer-stack-management-books-
|
||||
| 30 | `minio` | minio | `/usr/docker/minio/data` | S3 blob store, `minio.kzntsv.site` |
|
||||
| 31 | `mongo` | mongo | `/usr/docker/mongo/data/{db,configdb}` | shared MongoDB 4.2 |
|
||||
| 32 | `books-db` | books-db | `/usr/docker/books-db/data` | MariaDB latest, books application DB |
|
||||
| 33 | `elasticsearch` | elasticsearch | `/usr/docker/elasticsearch/{data,snapshots}` | ES 7.10.0 + path.repo для backup |
|
||||
| 33 | `elasticsearch` | elasticsearch | `/usr/docker/elasticsearch/{data,snapshots}` | ES 7.10.0 + `path.repo=/snapshots` для backup + `reindex.remote.whitelist=elasticold.kzntsv.site:443` (added 2026-05-25 для migration) |
|
||||
|
||||
### SSH-managed (management plane — Portainer migration skipped)
|
||||
|
||||
@@ -111,3 +111,4 @@ Auth-зоны DNS — в reg.ru под `kzntsv.site`.
|
||||
- Workstation SSH key `id_ed25519_books_ops` уже был задеплоен под root до этой сессии (видимо, прошлый bootstrap забыт-без-документации).
|
||||
- Hybrid stack-management (Portainer + SSH-compose) — pre-existing, не наш design. Migrated 6 SSH-compose стеков → Portainer 2026-05-25 (`books-vds-stacks-to-portainer` 🟢). `traefik` + `portainer` остаются SSH-managed (management plane).
|
||||
- `imgproxy` (2 containers, `imgproxy.kzntsv.site`) был missing из этого entity wiki до Phase 0 probe 2026-05-25 — fixed in flight.
|
||||
- ES indices populated 2026-05-25 — migration с Windows host (`elasticold.kzntsv.site`, ES 7.10.1) → books VDS via reindex-from-remote. 3 indices: `artmone` (2621), `epz` (820604), `products` (105922). Consumers (books-api + books-task-runner + books-job-scheduler) switched `default.json:elasticsearch.node` с elasticold на elasticsearch.kzntsv.site. Source ES остаётся running (rollback). См. [[../../tasks/migrate-elasticsearch-to-books-vds]] § Closure note.
|
||||
|
||||
Reference in New Issue
Block a user