--- title: "P2R New Tenant Onboarding Guide" slug: "p2rnewtenantonboardinginternalguidedraft" status: "update" updated: 2026-11-26T07:35:21Z published: 2026-11-26T07:35:21Z canonical: "help.symphonysummitai.com/p2rnewtenantonboardinginternalguidedraft" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.symphonysummitai.com/llms.txt > Use this file to discover all available pages before exploring further. # P2R New Tenant Onboarding Guide ## 1. Overview This Prompt to Report (P2R) New Tenant Onboarding guide describes the prerequisites, onboarding process, expected processing time, readiness checks, and operational log checks for onboarding a new tenant to P2R. P2R onboarding depends on the tenant configuration in TMS, the tenant's Nebula space, its Qdrant collection, and its StarRocks catalog. The P2R sync daemon discovers eligible tenants and processes them automatically. ## 2. Audience This Prompt to Report (P2R) New Tenant Onboarding guide is intended for Operations, DevOps responsible for preparing tenant dependencies, monitoring onboarding, validating readiness, and investigating onboarding issues. ## 3. User roles - Operations - DevOps ## 4. Benefits - Provides a consistent checklist for onboarding each new P2R tenant. - Identifies tenant dependencies before the sync daemon processes the tenant. - Helps teams estimate onboarding duration based on daemon CPU availability. - Defines readiness checks across data loading, metadata synchronization, indexing, and chat search. - Provides a standard log command and expected log indicators for operational verification. ## 5. How P2R Tenant Onboarding Works 1. An eligible tenant is created and configured in TMS, with the Prompt to Report tab completed and the tenant status set to Active. 2. The tenant's Nebula space and Qdrant collection are created, and the tenant-specific StarRocks catalog is made available. 3. The P2R sync daemon discovers eligible tenants automatically. 4. The daemon processes one tenant at a time and performs the required synchronization and indexing activities. 5. Operations monitors the daemon logs and validates the tenant across the data and search components. 6. The tenant is marked Ready only after all data, functional, and health validations pass. **Important:** Do not restart P2R after onboarding starts. The sync daemon discovers new tenants automatically. Restarting P2R interrupts the current load and starts it again, increasing onboarding time for all waiting tenants. ## 6. Phase 1: Prerequisites Complete and verify all prerequisites before allowing the onboarding process to proceed. | **Prerequisite** | **Required state / validation** | | --- | --- | | Tenant in TMS | Tenant is created and configured. The Prompt to Report tab is completed and the tenant status is Active. | | Nebula space | A tenant space exists in Nebula. Use the same tenant name configured in TMS. | | Qdrant collection | A collection exists with the tenant name. Collection size is 384 and distance metric is cosine. | | StarRocks catalog | The catalog `external_catalog_` is created and accessible. | | P2R and Lakehouse connectivity | P2R and Lakehouse point to the same StarRocks server. | **Naming requirement:** Use the tenant name consistently in TMS, the Nebula space, the Qdrant collection, and the StarRocks catalog name. ## 7. Phase 2: Tenant onboarding After confirming all Phase 1 prerequisites, allow the P2R sync daemon to discover and process the tenant. 1. Complete and verify every prerequisite listed in Phase 1. 2. Verify connectivity between the required components and confirm that tenant mappings are correct. 3. Allow the P2R sync daemon to discover the tenant automatically. No manual daemon restart is required. 4. Monitor onboarding progress using the daemon logs described in the Where to check section. 5. Wait for synchronization and indexing to complete before starting readiness validation. **Do not restart P2R:** Do not restart P2R after onboarding starts. A restart interrupts the active load and causes it to start again. Because the daemon processes one tenant at a time, this can delay onboarding for the current tenant and all tenants waiting in the queue. ## 8. Expected onboarding time The main time-consuming activity is building search embeddings. The source checklist estimates approximately 21,000 documents for each new tenant. Embedding generation is CPU-intensive, so onboarding duration depends primarily on the CPU resources available to the daemon. | **Daemon CPU request / limit** | **Estimated time per new tenant** | | --- | --- | | Current limit: 0.5 core | About 5 hours | | Request 1 core / limit 2 cores | About 2–3 hours | | Request 2 cores / limit 2 cores | About 2–2.5 hours | | Request 4 cores / limit 4 cores | About 1–1.5 hours | - Limit is the maximum CPU the daemon can use. - Request is the CPU guaranteed to the daemon. - A very low CPU request, such as 25m, does not guarantee a short processing time. If the node is busy, onboarding can take about 5 hours or more, even when the CPU limit is high. - The estimates for 2 cores are approximate. The source checklist states that 0.5 core and 4 cores were measured. - The daemon onboards one tenant at a time. Each new tenant waits for the tenants ahead of it. ### 8.1 Factors that affect onboarding duration - Number of tenants already waiting in the queue. - Current system load. - CPU resources available to the daemon. - P2R restarts. **Operational guidance:** Use the estimates as planning guidance, not as guaranteed completion times. Consider the queue and current system load when communicating expected onboarding completion. ## 9. Phase 3: Readiness validation Mark a tenant as Ready only after all data, functional, and component health validations pass. ### 9.1 Data validation - Required tables are loaded successfully. - Metadata synchronization is complete. - Dashboard information is loaded. - Qdrant indexing is complete. ### 9.2 Functional validation - Dashboard search works from P2R Chat. - The query `Find ` returns the expected results. - The user can access reporting assets successfully. ### 9.3 Component health checks | **Component** | **Validation criteria** | | --- | --- | | Sync daemon | The sync daemon pod is running; no Nebula connection errors appear in the logs; the tenant is discovered by the daemon. | | Nebula | The Nebula connection is successful; the tenant space exists; metadata synchronization is complete. | | StarRocks | The tenant uses its own catalog (`external_catalog_`); the correct Iceberg database is accessible; no catalog configuration issues are present. | | Qdrant | The collection exists; vector data is loaded; search functionality is working. | ## 10. Where to check: Sync daemon logs Use the following command to review the P2R Nebula/GraphDB sync daemon logs. Replace `` with the P2R Kubernetes namespace and `` with the tenant name. kubectl -n logs deploy/p2r-nebulagraphdb-sync-daemon --since=24h | grep -E "No available connection|TMS-eligible tenants|Tenant validated in StarRocks|SUCCESSFULLY COMPLETED SYNC FOR DB: |TENANT SYNC SUMMARY " **Command note:** The command is based on the log-check pattern in the source checklist. Confirm the exact deployment name, namespace, and log message format in the target environment before execution. ### 10.1 Expected log indicators | **Look for** | **Expected result** | | --- | --- | | No available connection | The message is not present. | | TMS-eligible tenants | The tenant is included in the eligible tenant list. | | Tenant `` validated in StarRocks | The log identifies `catalog=external_catalog_`. | | SUCCESSFULLY COMPLETED SYNC FOR DB: `` | The message is present. | | TENANT SYNC SUMMARY `` | The summary includes `qdrant_status=ok`, indicating the tenant is ready for chat testing. | **Readiness decision:** A `qdrant_status=ok` summary indicates that the tenant is ready for chat testing. Complete the remaining data, functional, and component health checks before marking the tenant Ready.