Docs Menu
Docs Home
/
MongoDB Ops Manager
/ / / /

1๊ฐœ์˜ ๋ฐฑ์—… ๊ตฌ์„ฑ ์—…๋ฐ์ดํŠธ

์ด ํŽ˜์ด์ง€์˜ ๋‚ด์šฉ

  • Resource
  • ์š”์ฒญ ๋งค๊ฐœ๋ณ€์ˆ˜
  • ์š”์ฒญ ๊ฒฝ๋กœ ๋งค๊ฐœ๋ณ€์ˆ˜
  • ์š”์ฒญ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜
  • ์š”์ฒญ ๋ณธ๋ฌธ ๋งค๊ฐœ๋ณ€์ˆ˜
  • ์‘๋‹ต
  • ์š”์ฒญ ์˜ˆ์‹œ
  • ์‘๋‹ต ์˜ˆ์‹œ
  • ์‘๋‹ต ํ—ค๋”
  • ์‘๋‹ต ๋ณธ๋ฌธ

์ฐธ๊ณ 

๊ทธ๋ฃน๊ณผ ํ”„๋กœ์ ํŠธ๋Š” ๋™์˜์–ด์ž…๋‹ˆ๋‹ค. {PROJECT-ID}๋Š” ํ”„๋กœ์ ํŠธ ID์™€ ๋™์ผํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ์กด ๊ทธ๋ฃน์˜ ๊ฒฝ์šฐ, ๊ทธ๋ฃน/ํ”„๋กœ์ ํŠธ ID๋Š” ๋™์ผํ•˜๊ฒŒ ์œ ์ง€๋ฉ๋‹ˆ๋‹ค. ์ด ํŽ˜์ด์ง€์—์„œ๋Š” ์„ค๋ช…์— ๋Œ€ํ•ด ์–˜๊ธฐํ•  ๋•Œ ๋”์šฑ ์นœ์ˆ™ํ•œ ์šฉ์–ด ๊ทธ๋ฃน์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์—”๋“œํฌ์ธํŠธ๋Š” ๋ฌธ์„œ์— ๋ช…์‹œ๋œ ๋Œ€๋กœ ์œ ์ง€๋ฉ๋‹ˆ๋‹ค.

๊ธฐ๋ณธ URL: https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0

PATCH /groups/{projectId}/backupConfigs/{clusterId}
๊ฒฝ๋กœ ๋งค๊ฐœ ๋ณ€์ˆ˜
์œ ํ˜•
ํ•„์š”์„ฑ
์„ค๋ช…

projectId

๋ฌธ์ž์—ด

ํ•„์ˆ˜ ์‚ฌํ•ญ

๋ณ€๊ฒฝํ•˜๋ ค๋Š” ๋ฐฑ์—… ๊ตฌ์„ฑ์ด ์žˆ๋Š” cluster๋ฅผ ๋ณด์œ ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ ์‹๋ณ„ํ•˜๋Š” ๊ณ ์œ ํ•œ 24์ž๋ฆฌ 16์ง„์ˆ˜ ๋ฌธ์ž์—ด์ž…๋‹ˆ๋‹ค.

clusterId

๋ฌธ์ž์—ด

ํ•„์ˆ˜ ์‚ฌํ•ญ

๋ฐฑ์—… ๊ตฌ์„ฑ์„ ๋ณ€๊ฒฝํ•˜๋ ค๋Š” cluster๋ฅผ ์‹๋ณ„ํ•˜๋Š” ๊ณ ์œ ํ•œ 24์ž๋ฆฌ 16์ง„์ˆ˜ ๋ฌธ์ž์—ด์ž…๋‹ˆ๋‹ค.

๋‹ค์Œ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ์„ ํƒ ์‚ฌํ•ญ์ž…๋‹ˆ๋‹ค.

์ด๋ฆ„
์œ ํ˜•
ํ•„์š”์„ฑ
์„ค๋ช…
๊ธฐ๋ณธ๊ฐ’

pretty

๋ถ€์šธ

์˜ต์…˜

์‘๋‹ต ๋ณธ๋ฌธ์ด ํ”„๋ฆฌํ‹ฐํ”„๋ฆฐํŠธ ์— ์žˆ์–ด์•ผ ํ•˜๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค. ํ˜•์‹.

false

envelope

๋ถ€์šธ

์˜ต์…˜

์‘๋‹ต์„ ์—”๋ฒจ๋กœํ”„์— ๋ž˜ํ•‘ํ• ์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค.

์ผ๋ถ€ API ํด๋ผ์ด์–ธํŠธ๋Š” HTTP ์‘๋‹ต ํ—ค๋” ๋˜๋Š” ์ƒํƒœ ์ฝ”๋“œ์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๋ ค๋ฉด ์ฟผ๋ฆฌ์—์„œ envelope=true๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

ํ•˜๋‚˜์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” ์—”๋“œํฌ์ธํŠธ์˜ ๊ฒฝ์šฐ ์‘๋‹ต ๋ณธ๋ฌธ์—๋Š” ๋‹ค์Œ์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

์ด๋ฆ„
์„ค๋ช…

status

HTTP ์‘๋‹ต ์ฝ”๋“œ

content

์˜ˆ์ƒ๋˜๋Š” ์‘๋‹ต ๋ณธ๋ฌธ

false

์ด๋ฆ„
์œ ํ˜•
ํ•„์š”์„ฑ
์„ค๋ช…

authMechanismName

๋ฌธ์ž์—ด

์กฐ๊ฑด๋ถ€

๋™๊ธฐํ™” ์†Œ์Šค ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐ ํ•„์š”ํ•œ ์ธ์ฆ ๋ฉ”์ปค๋‹ˆ์ฆ˜์ž…๋‹ˆ๋‹ค. ๋™๊ธฐํ™” ์ €์žฅ์†Œ๊ฐ€ ์ธ์ฆ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ Ops Manager์— ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. Ops Manager๋Š” ๋‹ค์Œ์„ ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • MONGODB_CR (์—ฌ๊ธฐ์—๋Š” SCRAM-SHA-1, SCRAM-SHA-256 ๋ฐ MONGODB-CR์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.)

  • GSSAPI

  • PLAIN

  • MONGODB_X509

  • NONE

encryptionEnabled

๋ถ€์šธ

์˜ต์…˜

๋ฐฑ์—… ๊ตฌ์„ฑ์— ์•”ํ˜ธํ™” ๊ฐ€ ํ™œ์„ฑํ™”๋˜์–ด ์žˆ๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค. ๋ฐฑ์—… ๊ตฌ์„ฑ์— ๋Œ€ํ•œ ์•”ํ˜ธํ™” ๋ฅผ ํ™œ์„ฑํ™”ํ•  ๋•Œ syncSource ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ํฌํ•จํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ ์˜ ๊ธฐ์กด ๋ฐฑ์—…์˜ ๊ฒฝ์šฐ ์•”ํ˜ธํ™” ๋ฅผ ํ™œ์„ฑํ™”ํ•˜๋ ค๋ฉด ๋ฐฑ์—…์˜ ํ—ค๋“œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ๋‹ค์‹œ ๋งŒ๋“ค๊ธฐ ์œ„ํ•œ ์ดˆ๊ธฐ ๋™๊ธฐํ™” ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

FCV 4.2 ๊ทธ๋ฆฌ๊ณ  ๋‚˜์ค‘์— ํ—ค๋“œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋Œ€์‹  ๋ฐฑ์—… ์ปค์„œ ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ๋ฐฑ์—… ๋””๋จผ ์„œ๋น„์Šค๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

FCV 4.2 ์ด์ƒ์˜ ๋ฐฑ์—… ์•”ํ˜ธํ™”์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์•”ํ˜ธํ™”๋œ ๋ฐฑ์—… ์Šค๋ƒ…์ƒท์„ ์ฐธ์กฐํ•˜์„ธ์š”.

์ œ์™ธ๋œ ๋„ค์ž„์ŠคํŽ˜์ด์Šค

๋ฌธ์ž์—ด ๋ฐฐ์—ด

์กฐ๊ฑด๋ถ€

๋ฐฑ์—… ์—์„œ ์ƒ๋žตํ•  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋ฐ ์ปฌ๋ ‰์…˜ ์ด๋ฆ„ ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค. ๊ฐ ๋ฌธ์ž์—ด์€ ํ•˜๋‚˜์˜ ๋„ค์ž„์ŠคํŽ˜์ด์Šค ๋ฅผ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋Š” ๋‹ค์Œ ํ˜•์‹ ์ค‘ ํ•˜๋‚˜๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • {๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค}

  • {๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค}.{์ปฌ๋ ‰์…˜}.

MongoDB Ops Manager ๋Š” MongoDB FCV 4.0 ์ดํ•˜ ๋ฒ„์ „์„ ์‹คํ–‰ ๋ฐฑ์—… ์ž‘์—…์— ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค. ๋Š” FCV ์ด์ƒ์„ ์‹คํ–‰ ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผMongoDB Ops Manager ๋ฐฑ์—…ํ•  ๋•Œ ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค.MongoDB 4.2

์ด ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ๋‹ค์Œ ์กฐ๊ฑด์„ ์ถฉ์กฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

  • Ops Manager ๋Š” ์ด ๋งค๊ฐœ๋ณ€์ˆ˜ ๋˜๋Š” embeddedNamespaces ๋‘˜ ๋‹ค ํ—ˆ์šฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

  • Ops Manager์—๋Š” ๋ฐฐ์—ด์— ์ด๋ฏธ ์žˆ๋Š” ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ํฌํ•จํ•˜์—ฌ ์ œ์™ธ๋œ ๋„ค์ž„์ŠคํŽ˜์ด์Šค์˜ ์ƒˆ๋กœ์šด ์ „์ฒด ๋ชฉ๋ก์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

    • ์ƒˆ ๋ชฉ๋ก์ด ๊ธฐ์กด ๋ฐฐ์—ด์—์„œ ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ์ œ๊ฑฐ ํ•˜๋Š” ๊ฒฝ์šฐ syncSource ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

      • ์ œ์™ธ๋œ ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ์ œ๊ฑฐํ•˜๋ ค๋ฉด ์ „์ฒด ์žฌ๋™๊ธฐํ™”๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

      • syncSource ๋งค๊ฐœ๋ณ€์ˆ˜๊ฐ€ ์—†์œผ๋ฉด ์š”์ฒญ์ด ์‹คํŒจํ•ฉ๋‹ˆ๋‹ค.

    • ์ƒˆ ๋ชฉ๋ก์ด ๊ธฐ์กด ๋ฐฐ์—ด์—๋งŒ ์ถ”๊ฐ€ ๋˜๋Š” ๊ฒฝ์šฐ syncSource ๋ฅผ ์„ค์ •ํ•˜์ง€ ๋งˆ์„ธ์š”.

includeNamespaces

๋ฌธ์ž์—ด ๋ฐฐ์—ด

์กฐ๊ฑด๋ถ€

๋ฐฑ์—… ์—์„œ ํฌํ•จํ•  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋ฐ ์ปฌ๋ ‰์…˜ ์ด๋ฆ„์˜ ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค. ๊ฐ ๋ฌธ์ž์—ด์€ ํ•˜๋‚˜์˜ ๋„ค์ž„์ŠคํŽ˜์ด์Šค ๋ฅผ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋Š” ๋‹ค์Œ ํ˜•์‹ ์ค‘ ํ•˜๋‚˜๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • {๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค}

  • {๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค}.{์ปฌ๋ ‰์…˜}.

MongoDB Ops Manager ๋Š” MongoDB FCV 4.0 ์ดํ•˜ ๋ฒ„์ „์„ ์‹คํ–‰ ๋ฐฑ์—… ์ž‘์—…์— ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค. ๋Š” FCV ์ด์ƒ์„ ์‹คํ–‰ ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผMongoDB Ops Manager ๋ฐฑ์—…ํ•  ๋•Œ ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค.MongoDB 4.2

์ด ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ๋‹ค์Œ ์กฐ๊ฑด์„ ์ถฉ์กฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

  • Ops Manager ๋Š” ์ด ๋งค๊ฐœ๋ณ€์ˆ˜ ๋˜๋Š” wiredNamespaces ๋‘˜ ๋‹ค ํ—ˆ์šฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

  • Ops Manager์—๋Š” ๋ฐฐ์—ด์— ์ด๋ฏธ ์žˆ๋Š” ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ํฌํ•จํ•˜์—ฌ ํฌํ•จ๋œ ๋„ค์ž„์ŠคํŽ˜์ด์Šค์˜ ์ƒˆ๋กœ์šด ์ „์ฒด ๋ชฉ๋ก์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

    • ์ƒˆ ๋ชฉ๋ก์ด ๊ธฐ์กด ๋ฐฐ์—ด์˜ ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ๊ฒฝ์šฐ syncSource ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

      • ํฌํ•จ๋œ ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ์ถ”๊ฐ€ํ•˜๋ ค๋ฉด ์ „์ฒด ์žฌ๋™๊ธฐํ™”๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

      • syncSource ๋งค๊ฐœ๋ณ€์ˆ˜๊ฐ€ ์—†์œผ๋ฉด ์š”์ฒญ์ด ์‹คํŒจํ•ฉ๋‹ˆ๋‹ค.

    • ์ƒˆ ๋ชฉ๋ก์ด ๊ธฐ์กด ๋ฐฐ์—ด์—์„œ๋งŒ ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ์ œ๊ฑฐํ•˜๋Š” ๊ฒฝ์šฐ syncSource ๋ฅผ ์„ค์ •ํ•˜์ง€ ๋งˆ์„ธ์š”.

๋น„๋ฐ€๋ฒˆํ˜ธ

๋ฌธ์ž์—ด

์กฐ๊ฑด๋ถ€

๋™๊ธฐํ™” ์†Œ์Šค ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์— ์—ฐ๊ฒฐํ•  ๋•Œ ์‚ฌ์šฉํ•  ๋น„๋ฐ€๋ฒˆํ˜ธ์ž…๋‹ˆ๋‹ค. MongoDB Ops Manager ๋™๊ธฐํ™” ์ €์žฅ์†Œ ์ธ์Šคํ„ด์Šค์— ํด๋ผ์ด์–ธํŠธ ์ธ์ฆ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ์— ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.mongod

preferenceMember

๋ฌธ์ž์—ด

์˜ต์…˜

์Šค๋ƒ…์ƒท์„ ์ƒ์„ฑํ•˜๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉ์ž๊ฐ€ ๊ธฐ๋ณธ ๋ณต์ œ๋ณธ ์„ธํŠธ ๋ฉค๋ฒ„๋กœ ์ง€์ •ํ•˜๋Š” ํด๋Ÿฌ์Šคํ„ฐ ๋ฉค๋ฒ„์ž…๋‹ˆ๋‹ค. ์ฝ˜์†” ์„ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ๋ณธ ๋ฉค๋ฒ„๋ฅผ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜๋‚˜์˜ ๋ฐฑ์—… ๊ตฌ์„ฑ ์—”๋“œํฌ์ธํŠธ ๊ฐ€์ ธ์˜ค๊ธฐ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ๋ณธ ๋ฉค๋ฒ„ ์—ญํ• ์„ ํ•  ์ˆ˜ ์žˆ๋Š” ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ณต์ œ๋ณธ ์„ธํŠธ ๋ฉค๋ฒ„๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

ํ”„๋กœ๋น„์ €๋‹

๋ถ€์šธ

์กฐ๊ฑด๋ถ€

Ops Manager๊ฐ€ ๋ฐฑ์—…์„ ์ €์žฅํ•˜๋Š” ๋ฐ ํ•„์š”ํ•œ ๋ฆฌ์†Œ์Šค๋ฅผ ํ”„๋กœ๋น„์ €๋‹ํ–ˆ๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค.

sslEnabled

๋ถ€์šธ

์˜ต์…˜

๋™๊ธฐํ™” ์†Œ์Šค ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ๋Œ€ํ•ด TLS ๋ฅผ ์‚ฌ์šฉํ•˜๋„๋ก ์„ค์ •ํ–ˆ๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค.

statusName

๋ฌธ์ž์—ด

์˜ต์…˜

๋ฐฑ์—… ๊ตฌ์„ฑ์˜ ํ˜„์žฌ(๋˜๋Š” ์›ํ•˜๋Š”) ์ƒํƒœ์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” ๋‹ค์Œ์„ ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • Inactive (๋น„ํ™œ์„ฑํ™”)

  • ํ”„๋กœ๋น„์ €๋‹

  • STARTED

  • STOPPED

  • ์ข…๋ฃŒ ์ค‘

storageEngineName

๋ฌธ์ž์—ด

์˜ต์…˜

๋ฐฑ์—…์— ์‚ฌ์šฉ๋˜๋Š” ์Šคํ† ๋ฆฌ์ง€ ์—”์ง„์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” ๋‹ค์Œ์„ ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • MEMORY_MAPPED

  • FIRED_TIGER

syncSource

๋ฌธ์ž์—ด

์กฐ๊ฑด๋ถ€

๋ฐฑ์—… ๋ฐ์ดํ„ฐ๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋Š” mongod ์ธ์Šคํ„ด์Šค์ž…๋‹ˆ๋‹ค. MongoDB Ops Manager๋Š” ํŠน์ • ํ˜ธ์ŠคํŠธ ์ด๋ฆ„ ๋˜๋Š” PRIMARY ๋ฐ SECONDARY ์ค‘ ํ•˜๋‚˜๋ฅผ ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค.

"storageEngineName" : "WiRED_TIGER" ์ธ ๊ฒฝ์šฐ Ops Manager์— ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์‚ฌ์šฉ์ž ์ด๋ฆ„

๋ฌธ์ž์—ด

์กฐ๊ฑด๋ถ€

๋™๊ธฐํ™” ์†Œ์Šค ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์— ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐ ์‚ฌ์šฉํ•  ์‚ฌ์šฉ์ž์˜ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. MongoDB Ops Manager ๋™๊ธฐํ™” ์ €์žฅ์†Œ ์ธ์Šคํ„ด์Šค์— ํด๋ผ์ด์–ธํŠธ ์ธ์ฆ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ ์— ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.mongod

Ops Manager๊ฐ€ ๊ด€๋ฆฌ ํ•˜์ง€ ์•Š๋Š” ๋ณต์ œ๋ณธ ์„ธํŠธ ๋˜๋Š” ์ƒค๋“œ ํด๋Ÿฌ์Šคํ„ฐ์— ๋Œ€ํ•œ ๋ฐฑ์—… ๊ตฌ์„ฑ์„ ์—…๋ฐ์ดํŠธํ•˜๋Š” ๊ฒฝ์šฐ Ops Manager๋กœ ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ์ „์†กํ•˜์„ธ์š”.

์ด๋ฆ„
์œ ํ˜•
์„ค๋ช…

authMechanismName

๋ฌธ์ž์—ด

๋™๊ธฐํ™” ์†Œ์Šค ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์—ฐ๊ฒฐํ•  ๋•Œ ์‚ฌ์šฉํ•  ์ธ์ฆ ๋ฉ”์ปค๋‹ˆ์ฆ˜์˜ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. ๋™๊ธฐํ™” ์ €์žฅ์†Œ๊ฐ€ ์ธ์ฆ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ Ops Manager๊ฐ€ ์ด ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

clusterId

๋ฌธ์ž์—ด

์ด ๋ฐฑ์—… ๊ตฌ์„ฑ์ด ์ ์šฉ๋˜๋Š” cluster์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.

encryptionEnabled

๋ถ€์šธ

๋ฐฑ์—… ๊ตฌ์„ฑ์— ๋Œ€ํ•ด ์•”ํ˜ธํ™” ๊ฐ€ ํ™œ์„ฑํ™”๋˜์–ด ์žˆ๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค. ๋ฐฑ์—… ๊ตฌ์„ฑ์— ๋Œ€ํ•œ ์•”ํ˜ธํ™” ๋ฅผ ํ™œ์„ฑํ™”ํ•  ๋•Œ syncSource ํ•„๋“œ ๋ฅผ ํฌํ•จํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ ์˜ ๊ธฐ์กด ๋ฐฑ์—…์˜ ๊ฒฝ์šฐ ์•”ํ˜ธํ™” ๋ฅผ ํ™œ์„ฑํ™”ํ•˜๋ ค๋ฉด ๋ฐฑ์—…์˜ ํ—ค๋“œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ๋‹ค์‹œ ๋งŒ๋“ค๊ธฐ ์œ„ํ•œ ์ดˆ๊ธฐ ๋™๊ธฐํ™” ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

FCV 4.2 ๊ทธ๋ฆฌ๊ณ  ๋‚˜์ค‘์— ํ—ค๋“œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋Œ€์‹  ๋ฐฑ์—… ์ปค์„œ ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ๋ฐฑ์—… ๋””๋จผ ์„œ๋น„์Šค๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

FCV 4.2 ์ด์ƒ์˜ ๋ฐฑ์—… ์•”ํ˜ธํ™”์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์•”ํ˜ธํ™”๋œ ๋ฐฑ์—… ์Šค๋ƒ…์ƒท์„ ์ฐธ์กฐํ•˜์„ธ์š”.

์ œ์™ธ๋œ ๋„ค์ž„์ŠคํŽ˜์ด์Šค

๋ฌธ์ž์—ด ๋ฐฐ์—ด

๋ฐฑ์—…์—์„œ ์ƒ๋žตํ•  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ด๋ฆ„ ๋ฐ ์ปฌ๋ ‰์…˜ ์ด๋ฆ„ ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค. ๊ฐ string ์€ {database} ๋˜๋Š” {database}.{collection} ํ˜•์‹์˜ ๋„ค์ž„์ŠคํŽ˜์ด์Šค์ž…๋‹ˆ๋‹ค.

includeNamespaces

๋ฌธ์ž์—ด ๋ฐฐ์—ด

๋ฐฑ์—…์— ํฌํ•จํ•  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ด๋ฆ„ ๋ฐ ์ปฌ๋ ‰์…˜ ์ด๋ฆ„ ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค. ๊ฐ string ์€ {database} ๋˜๋Š” {database}.{collection} ํ˜•์‹์˜ ๋„ค์ž„์ŠคํŽ˜์ด์Šค์ž…๋‹ˆ๋‹ค.

preferenceMember

๋ฌธ์ž์—ด

์Šค๋ƒ…์ƒท์„ ์ƒ์„ฑํ•˜๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉ์ž๊ฐ€ ๊ธฐ๋ณธ ๋ณต์ œ๋ณธ ์„ธํŠธ ๋ฉค๋ฒ„๋กœ ์ง€์ •ํ•˜๋Š” ํด๋Ÿฌ์Šคํ„ฐ ๋ฉค๋ฒ„์ž…๋‹ˆ๋‹ค. ์ฝ˜์†” ์„ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ๋ณธ ๋ฉค๋ฒ„๋ฅผ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜๋‚˜์˜ ๋ฐฑ์—… ๊ตฌ์„ฑ ์—”๋“œํฌ์ธํŠธ ๊ฐ€์ ธ์˜ค๊ธฐ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ๋ณธ ๋ฉค๋ฒ„ ์—ญํ• ์„ ํ•  ์ˆ˜ ์žˆ๋Š” ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ณต์ œ๋ณธ ์„ธํŠธ ๋ฉค๋ฒ„๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

projectId

๋ฌธ์ž์—ด

์ด ๋ฐฑ์—… ๊ตฌ์„ฑ์„ ์†Œ์œ ํ•˜๋Š” ํ”„๋กœ์ ํŠธ์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.

ํ”„๋กœ๋น„์ €๋‹

๋ถ€์šธ

Ops Manager๊ฐ€ ๋ฐฑ์—…์„ ์ €์žฅํ•˜๋Š” ๋ฐ ํ•„์š”ํ•œ ๋ฆฌ์†Œ์Šค๋ฅผ ํ”„๋กœ๋น„์ €๋‹ํ–ˆ๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” ๋ฐฑ์—…ํ•  ๋ฐ์ดํ„ฐ์˜ ์–‘์ด ํŠน์ • ์ž„๊ณ„๊ฐ’์„ ์ดˆ๊ณผํ•  ๋•Œ ์ด ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

sslEnabled

๋ถ€์šธ

๋™๊ธฐํ™” ์†Œ์Šค ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ๋Œ€ํ•ด TLS ๋ฅผ ์‚ฌ์šฉํ•˜๋„๋ก ์„ค์ •ํ–ˆ๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค.

statusName

๋ฌธ์ž์—ด

๋ฐฑ์—… ๊ตฌ์„ฑ์˜ ํ˜„์žฌ ์ƒํƒœ์ž…๋‹ˆ๋‹ค.

storageEngineName

๋ฌธ์ž์—ด

๋ฐฑ์—…์— ์‚ฌ์šฉ๋˜๋Š” storage engine์ž…๋‹ˆ๋‹ค.

1curl --user "{publicKey}:{privateKey}" --digest \
2 --header "Accept: application/json" \
3 --header "Content-Type: application/json" \
4 --include --request PATCH "https://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}/backupConfigs/{clusterId}" \
5 --data '
6 {
7 "statusName": "STARTED",
8 "storageEngineName": "WIRED_TIGER",
9 "syncSource": "primary"
10 }'

๊ฐ ์Šค๋ƒ…์ƒท์ด ์‹œ์ž‘๋˜๋ฉด Ops Manager๋Š” ์Šค๋ƒ…์ƒท์„ ์‹คํ–‰ํ•  ๋ณต์ œ๋ณธ ์„ธํŠธ ๊ตฌ์„ฑ์›์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. ์ž๋™์œผ๋กœ ์„ ํƒ๋œ ์ด ๋ฉค๋ฒ„๋Š” ๋ณต์ œ๋ณธ ์„ธํŠธ์— ๋ฏธ์น˜๋Š” ์„ฑ๋Šฅ ์˜ํ–ฅ์ด ๊ฐ€์žฅ ์ ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ ์„ ํƒ ํ•ญ๋ชฉ์„ ์žฌ์ •์˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ค‘์š”

๊ฐ€๋Šฅํ•˜๋ฉด default selection ๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”. ์ด ์„ ํƒ์€ ๋ฐฑ์—… ๊ฐ€์šฉ์„ฑ์„ ๋ณด์žฅํ•ฉ๋‹ˆ๋‹ค.

๋‹ค์Œ ์š”์ฒญ ์€ ๊ธฐ๋ณธ ๋ฉค๋ฒ„๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

1curl --user "{publicKey}:{privateKey}" --digest \
2 --header "Accept: application/json" \
3 --header "Content-Type: application/json" \
4 --include --request PATCH "https://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}/backupConfigs/{clusterId}" \
5 --data '
6 {
7 "preferredMember":"{HOSTNAME}:{PORT}"
8 }'
HTTP/1.1 401 Unauthorized
Content-Type: application/json;charset=ISO-8859-1
Date: {dateInUnixFormat}
WWW-Authenticate: Digest realm="MMS Public API", domain="", nonce="{nonce}", algorithm=MD5, op="auth", stale=false
Content-Length: {requestLengthInBytes}
Connection: keep-alive
HTTP/1.1 200 OK
Vary: Accept-Encoding
Content-Type: application/json
Strict-Transport-Security: max-age=300
Date: {dateInUnixFormat}
Connection: keep-alive
Content-Length: {requestLengthInBytes}
X-MongoDB-Service-Version: gitHash={gitHash}; versionString={ApplicationVersion}
1{
2 "authMechanismName" : "NONE",
3 "clusterId" : "{clusterId}",
4 "encryptionEnabled" : false,
5 "excludedNamespaces" : [ ],
6 "groupId" : "{projectId}",
7 "links" : [ {
8 "href" : "http://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}/backupConfigs/{clusterId}",
9 "rel" : "self"
10 }, {
11 "href" : "http://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}/clusters/{clusterId}",
12 "rel" : "http://mms.mongodb.com/cluster"
13 }, {
14 "href" : "http://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}",
15 "rel" : "http://mms.mongodb.com/group"
16 }, {
17 "href" : "http://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}/backupConfigs/{clusterId}/snapshotSchedule",
18 "rel" : "http://mms.mongodb.com/snapshotSchedule"
19 } ],
20 "sslEnabled" : false,
21 "statusName" : "STARTED",
22 "storageEngineName" : "WIRED_TIGER"
23}

๊ฐ ์Šค๋ƒ…์ƒท์ด ์‹œ์ž‘๋˜๋ฉด Ops Manager๋Š” ์Šค๋ƒ…์ƒท์„ ์‹คํ–‰ํ•  ๋ณต์ œ๋ณธ ์„ธํŠธ ๊ตฌ์„ฑ์›์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. ์ž๋™์œผ๋กœ ์„ ํƒ๋œ ์ด ๋ฉค๋ฒ„๋Š” ๋ณต์ œ๋ณธ ์„ธํŠธ์— ๋ฏธ์น˜๋Š” ์„ฑ๋Šฅ ์˜ํ–ฅ์ด ๊ฐ€์žฅ ์ ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ ์„ ํƒ ํ•ญ๋ชฉ์„ ์žฌ์ •์˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ค‘์š”

๊ฐ€๋Šฅํ•˜๋ฉด default selection ์„(๋ฅผ) ์‚ฌ์šฉํ•˜์„ธ์š”. ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด ๋ฐฑ์—… ๊ฐ€์šฉ์„ฑ์ด ๋ณด์žฅ๋ฉ๋‹ˆ๋‹ค.

๋‹ค์Œ ์‘๋‹ต์—๋Š” ๊ธฐ๋ณธ ๋ฉค๋ฒ„๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

1{
2 "authMechanismName" : "NONE",
3 "clusterId" : "{clusterId}",
4 "encryptionEnabled" : false,
5 "excludedNamespaces" : [ ],
6 "groupId" : "{projectId}",
7 "links" : [ {
8 "href" : "http://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}/backupConfigs/{clusterId}",
9 "rel" : "self"
10 }, {
11 "href" : "http://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}/clusters/{clusterId}",
12 "rel" : "http://mms.mongodb.com/cluster"
13 }, {
14 "href" : "http://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}",
15 "rel" : "http://mms.mongodb.com/group"
16 }, {
17 "href" : "http://<OpsManagerHost>:<Port>/api/public/v1.0/groups/{projectId}/backupConfigs/{clusterId}/snapshotSchedule",
18 "rel" : "http://mms.mongodb.com/snapshotSchedule"
19 } ],
20 "sslEnabled" : false,
21 "statusName" : "STARTED",
22 "storageEngineName" : "WIRED_TIGER",
23 "preferredMember":"{HOSTNAME}:{PORT}"
24}

๋Œ์•„๊ฐ€๊ธฐ

Get One