Lab 07 — Shared Server & CMAN Diagnostic Workbook (Read-only)
🧠 ภาพจำก่อนอ่าน: 🧪 Lab → 🗄️ Data → ⚙️ Process → 🩺 Health → 🧹 Cleanup
🎨 Visual Guide ของวิชานี้ — ภาพช่วยจำ ไม่แทนคำสั่งและเนื้อหาจริง
Original companion lab for Oracle Net Services. Not an official Activity Guide lab. Not executed on an Oracle instance. SELECT-only SQL and tabletop CMAN design. No ALTER SYSTEM, CMCTL state commands, editing cman.ora, or listener restarts.
Prerequisites
หัวข้อที่มีชื่อว่า “Prerequisites”- Authorized 19c/26ai lab, SQL client, permission to read relevant V$ views
- Optional sanitized CMAN topology from a test environment (no secrets)
- Record exact Oracle version, current PDB, and observation timestamp
Part A — Identify connection mode
หัวข้อที่มีชื่อว่า “Part A — Identify connection mode”SHOW USERSHOW CON_NAMESELECT server, COUNT(*) total_sessions FROM v$session GROUP BY server;SELECT name,value FROM v$parameterWHERE name IN ('shared_servers','max_shared_servers','dispatchers','max_dispatchers');Expected: Different connection mode categories may appear; a zero shared-session count is not a failure if shared servers are not configured.
Part B — Dispatcher and shared-server health
หัวข้อที่มีชื่อว่า “Part B — Dispatcher and shared-server health”SELECT name,status,busy,idle FROM v$dispatcher;SELECT name,status,requests,busy FROM v$shared_server;SELECT type,queued,wait,totalq FROM v$queue;Expected: These views may return zero rows when shared server is unused. View access is controlled. Counters represent accumulated and point-in-time data; correlate multiple samples before conclusions.
Part C — CMAN architecture tabletop
หัวข้อที่มีชื่อว่า “Part C — CMAN architecture tabletop”Draw and label Client → CMAN gateway/rule → Database Listener → Handler → PDB.
Answer: Which source subnet, destination host/port/service are allowed? Which administration connections need separate CMCTL rules? How will you test denied requests without exposing network?
Part D — Failure drill
หัวข้อที่มีชื่อว่า “Part D — Failure drill”- App reports ORA-12519. What does
lsnrctl servicesshow? - Are dispatchers registered? Are
V$QUEUEtrends increasing? - Is the application pool leaking/holding sessions?
- Does CMAN have routing/ACL denials, or is the backend listener busy?
- What rollback does a network architecture change require?
Exit criteria
หัวข้อที่มีชื่อว่า “Exit criteria”- Distinguish dedicated/shared, dispatcher, shared server and CMAN
- Explain queues, session multiplexing and client routing
- Inspect authorized runtime without changing parameters
- Provide evidence-based incident hypotheses and rollback
- State clearly whether lab was actually executed (currently: no)
Cleanup: none; disconnect SQL session normally.