nutanix‐database‐automation‐ncp‐db‐ncp‐db‐65‐NDMA_p10 - itnett/FTD02H-N GitHub Wiki

Nutanix Certified Professional - Database Automation (NCP-DB) 6.5 Exam Cram Audio Guide: Ports and Services


Welcome to the next part of your NCP-DB 6.5 Exam Cram Audio Guide. In this segment, we will cover the essential ports and services that you need to know for the exam. Understanding these ports and how they facilitate communication between different components in Nutanix Database Service (NDB) is crucial for both your exam and practical implementation. Let's get started!


Introduction to Ports and Services in NDB

Nutanix Database Service (NDB) uses various ports to communicate with different components, such as the Nutanix clusters, external services like Active Directory, and the databases it manages. Knowing these ports ensures that you can correctly configure firewalls, troubleshoot connectivity issues, and secure your environment.

We will go through the most important ports you need to remember for the exam and understand what services they support.

List of Essential Ports and Their Services

Port 443 (HTTPS)

  • Service: Secure communication with NDB Web Console and REST API.
  • Usage: Port 443 is used for HTTPS traffic to securely access the NDB web interface and REST APIs. It encrypts all communication between the user’s browser and the NDB server, ensuring data security.
  • Remember: 443 for HTTPS — Web console and API communication.

Port 9440

  • Service: Nutanix Prism Central.
  • Usage: NDB communicates with Nutanix Prism Central using port 9440. This port is critical for managing clusters, receiving health updates, and facilitating integration with other Nutanix services.
  • Remember: 9440 for Prism Central — Integration and management.

Port 9443 (NDB API)

  • Service: NDB API.
  • Usage: Port 9443 is used by the NDB API server to handle API requests from external applications, scripts, or integrations. This port is essential for any automation or integration activities.
  • Remember: 9443 for NDB API — External API communication.

Port 53 (DNS)

  • Service: Domain Name System (DNS).
  • Usage: NDB uses port 53 to communicate with DNS servers for domain name resolution. This port is required to resolve hostnames to IP addresses, which is essential for network communications.
  • Remember: 53 for DNS — Domain name resolution.

Port 123 (NTP)

  • Service: Network Time Protocol (NTP).
  • Usage: Port 123 is used by NDB to synchronize the system time with NTP servers. Accurate time synchronization is crucial for logging, security, and database transactions.
  • Remember: 123 for NTP — Time synchronization.

Port 389 (LDAP)

  • Service: Lightweight Directory Access Protocol (LDAP).
  • Usage: NDB uses port 389 for communication with Active Directory (AD) or other LDAP servers in an unencrypted form. This port is essential for authenticating users and services against AD.
  • Remember: 389 for LDAP — Directory services communication.

Port 636 (LDAPS)

  • Service: Secure LDAP (LDAPS).
  • Usage: Port 636 is used for secure communication with LDAP servers, such as Active Directory, over SSL/TLS. This port ensures that authentication and directory queries are encrypted.
  • Remember: 636 for LDAPS — Secure directory services communication.

Port 2049 (NFS)

  • Service: Network File System (NFS).
  • Usage: NDB uses port 2049 to communicate with NFS servers for shared storage. NFS is often used for database backups, clones, and snapshots.
  • Remember: 2049 for NFS — Shared storage access.

Port 3306 (MySQL)

  • Service: MySQL Database.
  • Usage: Port 3306 is the default port for MySQL database communication. NDB uses this port to connect and manage MySQL instances.
  • Remember: 3306 for MySQL — Database management and queries.

Port 5432 (PostgreSQL)

  • Service: PostgreSQL Database.
  • Usage: Port 5432 is the default port for PostgreSQL database connections. NDB uses this port to connect to and manage PostgreSQL databases.
  • Remember: 5432 for PostgreSQL — Database management and queries.

Port 1521 (Oracle)

  • Service: Oracle Database.
  • Usage: Port 1521 is the default port for Oracle database listener communication. NDB uses this port to connect to Oracle databases for management purposes.
  • Remember: 1521 for Oracle — Database listener communication.

Port 1433 (SQL Server)

  • Service: Microsoft SQL Server.
  • Usage: Port 1433 is the default port for Microsoft SQL Server communication. NDB connects to SQL Server instances on this port to manage them.
  • Remember: 1433 for SQL Server — Database management and queries.

Port 27017 (MongoDB)

  • Service: MongoDB.
  • Usage: Port 27017 is the default port for MongoDB database communication. NDB uses this port to manage and perform operations on MongoDB databases.
  • Remember: 27017 for MongoDB — Database management and queries.

Summary of Ports and Services:

Let’s recap the essential ports and their services:

  1. Port 443 (HTTPS): Secure access to NDB web console and API.
  2. Port 9440: Communication with Nutanix Prism Central.
  3. Port 9443: Access to NDB API.
  4. Port 53 (DNS): Domain name resolution.
  5. Port 123 (NTP): Time synchronization.
  6. Port 389 (LDAP): Unencrypted communication with Active Directory.
  7. Port 636 (LDAPS): Secure LDAP communication with Active Directory.
  8. Port 2049 (NFS): Access to shared storage for backups and clones.
  9. Port 3306 (MySQL): MySQL database management.
  10. Port 5432 (PostgreSQL): PostgreSQL database management.
  11. Port 1521 (Oracle): Oracle database listener communication.
  12. Port 1433 (SQL Server): Microsoft SQL Server management.
  13. Port 27017 (MongoDB): MongoDB database management.

Final Exam Preparation Tips:

  • Memorize the Ports: Know which port is used for each service and its purpose.
  • Understand the Services: Be clear on what each service does and why it’s important for NDB operations.
  • Practice Real-World Scenarios: Think about how these ports are configured in firewalls, network settings, and security groups.

Final Words for Exam Readiness:

Understanding these ports and their associated services is essential for both passing the NCP-DB 6.5 exam and effectively managing a Nutanix Database Service environment. Keep this guide handy, listen frequently, and ensure you are comfortable with each port's purpose and configuration.

Good luck, and trust your preparation—you are well on your way to becoming a Nutanix Certified Professional!


This concludes the Ports and Services section of the NCP-DB 6.5 Exam Cram Audio Guide. Continue to study, practice, and focus on these critical details. You’ve got this!

Nutanix Certified Professional - Database Automation (NCP-DB) 6.5 Exam Cram Audio Guide: Objectives and Key Knowledge Areas


Welcome to the next part of your NCP-DB 6.5 Exam Cram Audio Guide. In this section, I will provide you with the exact information you need to know for the exam, focusing on specific details, terminology, and core concepts. This guide will cover each exam objective in detail to ensure you are fully prepared. Let’s begin!


Section 1: Describe NDB Concepts

Objective 1.1: Define Database and NDB Terminology

To pass this section, you need to know the following key terms and their meanings:

  1. NDB Software Compatibility:

    • Supported Database Engines: NDB supports Oracle, Microsoft SQL Server, PostgreSQL, MySQL, MariaDB, and MongoDB.
    • Supported Hypervisors: NDB runs on Nutanix AHV and VMware ESXi.
  2. Time Machine SLAs:

    • SLA (Service Level Agreement): Defines snapshot frequency and retention policies.
    • Types of SLAs: Continuous, Daily, Weekly, Monthly, and Quarterly recovery point objectives (RPOs).
  3. Data Access Management (DAM):

    • DAM Policies: Control which users or roles can access or modify database data, ensuring compliance and security.
    • Key Components: DAM policies include rules for data sharing, data masking, and access restrictions.
  4. Provisioning Profiles:

    • Software Profile: Specifies the database engine, version, and OS settings.
    • Compute Profile: Defines the vCPU, memory, and disk resources for a database VM.
    • Network Profile: Includes VLAN, IP addresses, and segmentation settings.
    • Database Parameter Profile: Sets specific configuration parameters for databases, such as cache size or buffer settings.
  5. Copy Data Management (CDM):

    • CDM Functions: Includes cloning databases, creating snapshots, and managing backup copies without affecting the production environment.
    • Use Cases: Development, testing, and disaster recovery.
  6. Greenfield and Brownfield Databases:

    • Greenfield Databases: New databases created and managed entirely within NDB.
    • Brownfield Databases: Existing databases integrated into NDB for centralized management.

Objective 1.2: Describe NDB Features and Benefits

  1. Provisioning:

    • One-Click Provisioning: Automatically deploys new databases with predefined profiles to ensure standardization and reduce manual effort.
    • Supported Engines: Oracle, SQL Server, PostgreSQL, MySQL, MariaDB, MongoDB.
  2. Patching:

    • One-Click Patching: Automates the application of patches to databases or operating systems, reducing downtime and ensuring security.
  3. Cloning:

    • Clone Databases: Quickly create exact copies of existing databases for testing, development, or analytics without affecting the source database.
  4. Data Protection:

    • Snapshots and Backups: Utilizes Time Machine to take regular snapshots and backups to protect against data loss and meet recovery objectives.

Section 2: Describe NDB Concepts

Objective 2.1: Deploy an NDB Instance

  1. Download, Import, and Create an NDB Instance:

    • Download NDB Image: Obtain the appropriate image format (QCOW2 for AHV, OVA for ESXi) from the Nutanix Support Portal.
    • Import the Image: Upload the image to Nutanix Prism or VMware vCenter.
    • Create an NDB VM: Use Prism Central or vCenter to create a VM for the NDB instance.
  2. Assign a Static IP Address:

    • Assign Static IP: Configure a static IP address during VM creation to ensure consistent network communication.
  3. Log onto NDB and Run the Installation Wizard:

    • Access NDB: Use the static IP to log in to the NDB web console.
    • Run the Wizard: Complete the "Welcome to NDB" wizard to finalize initial setup (Configure Cluster, Network, Services, and Storage).

Objective 2.2: Configure an NDB Instance

  1. Change NTP/DNS from NDB Server CLI:

    • Update NTP and DNS Settings: Use the NDB command-line interface to configure the NTP server (port 123) and DNS server (port 53) for time synchronization and domain resolution.
  2. Determine Network Firewall Ports:

    • Required Ports: Ensure the following ports are open: 443 (HTTPS), 9440 (Prism Central), 9443 (NDB API), 389 (LDAP), 636 (LDAPS), and 2049 (NFS).
  3. Configure Network Segmentation:

    • VLANs and IP Pools: Set up VLANs and IP pools for separating traffic and ensuring security.
  4. Configure SSL Certificates:

    • SSL/TLS Configuration: Install SSL certificates to secure communications (Port 443 for HTTPS and 636 for LDAPS).
  5. Deploy NDB High Availability:

    • Enable HA: Configure HA for API, Proxy, and Repository VMs to ensure service resiliency and failover capabilities.

Section 3: Monitor Alerts and Storage Usage Within an NDB Implementation

Objective 3.1: Monitor Alerts

  1. Monitor and Clear Alerts:

    • Alerts Dashboard: Use the Alerts Dashboard to view and manage alerts based on severity and type.
    • Clear Alerts: Remove resolved alerts to maintain a clean monitoring interface.
  2. Filter Alerts by Time Range:

    • Time-Based Filtering: Use the filtering options to view alerts within a specific time range.
  3. Configure SMTP:

    • Set Up Email Notifications: Configure SMTP settings to send alert notifications to administrators.
  4. Set Alert Policies:

    • Create Alert Policies: Define alert thresholds and retention settings based on resource usage or event types.

Objective 3.2: Monitor and Manage Storage Usage

  1. Identify Database Sources and Clone Sizes:

    • Storage Insights: Monitor the size and usage of databases and their clones.
  2. Monitor Storage Efficiency:

    • Analyze Storage: Check storage utilization and efficiency metrics.
  3. Scale or Extend Storage for a Database:

    • Expand Storage: Add more storage to a database when needed to avoid performance bottlenecks or capacity issues.

Section 4: Operate and Maintain an NDB Environment

Objective 4.1: Register Database Server VMs and Databases

  1. Verify Registration Prerequisites:

    • Ensure Prerequisites: Make sure the database server VM meets requirements like network settings, SSH access, and software compatibility.
  2. Provide OS and Database Instance Credentials:

    • Enter Credentials: Use the correct credentials to connect and register databases.
  3. Select an Appropriate Cluster:

    • Cluster Selection: Choose the right cluster for the database instance.
  4. Discover and Select Databases:

    • Discover Databases: Use NDB to automatically discover databases running on registered VMs.

Objective 4.2: Provision Databases

  1. Select Database Engine:

    • Choose Engine: Select from supported engines: Oracle, SQL Server, PostgreSQL, MySQL, MariaDB, MongoDB.
  2. Create or Select Profiles:

    • Provisioning Profiles: Use existing profiles or create new ones for software, compute, and network settings.

Objective 4.3: Apply Patches and Upgrades

  1. Apply Software Patches:

    • One-Click Patching: Use NDB’s One-Click Patching feature to keep software up to date.
  2. Upgrade Databases:

    • Database Upgrades: Perform upgrades on Oracle, SQL Server, PostgreSQL, and other supported engines as per the compatibility matrix.

Final Recap and Exam Preparation Tips:

To succeed in the NCP-DB 6.5 exam:

  • Memorize Key Terms: Know definitions and functionalities, like Time Machine SLAs, DAM, and CDM.
  • Understand Configuration Steps: Be clear on deploying NDB, configuring instances, and enabling HA.
  • Practice Using NDB Tools: Familiarize yourself with alerts, monitoring, storage management, patching, and upgrades.

By mastering these objectives, you will be well-prepared for your exam and ready to handle real-world NDB operations confidently.

Good luck, and keep listening to this guide to reinforce your knowledge. You’ve got this!


This concludes this part of your NCP-DB 6.5 Exam Cram Audio Guide. Continue reviewing, practicing, and focusing on these critical details to ensure your success on the exam.

Nutanix Certified Professional - Database Automation (NCP-DB) 6.5 Exam Cram Audio Guide: API Features, Role-Based Access Control, and Advanced NDB Operations


Welcome to this segment of your NCP-DB 6.5 Exam Cram Audio Guide. This section will focus on advanced API-only features, the role-based access control (RBAC) model in Nutanix Database Service (NDB), and key tasks for managing and operating databases in NDB. This will help you understand both the exam objectives and real-world applications of NDB features. Let’s dive in!


Part 1: API-Only NDB Features

Nutanix Database Service (NDB) provides several advanced management features that are only available via the API or CLI. Understanding these features is crucial for your exam and real-world database management.

Oracle Pluggable Databases (PDBs):

  1. What is an Oracle PDB?

    • An Oracle Pluggable Database (PDB) is a self-contained database that includes its own schemas, schema objects, and non-schema objects.
    • PDBs are isolated and can be plugged into a Container Database (CDB) while maintaining their independence.
  2. NDB Support for Oracle PDBs:

    • Provision, Modify, Open, Close, and Drop Operations: These operations can be managed via the CLI and API.
    • Restore PDB to a Point in Time: You can restore one or more PDBs on a CDB to a specific point in time using a snapshot or a timestamp. Note that the PDB restore operation is only supported via the API.
    • Configuring a Standby Database: Set up a standby database to protect a primary Oracle database, supported only through the CLI and API.
    • Creating and Assigning Tags to PDBs: You can manage tags for PDBs using the API.

PostgreSQL Peer Authentication:

  1. Peer Authentication Overview:

    • Peer Authentication is a method that relies on OS-level security, where no password is required for database login. Instead, the client's OS username is used as the allowed database username.
  2. NDB Support for PostgreSQL:

    • Configure Peer Authentication via API: NDB supports setting up peer authentication while provisioning a Greenfield PostgreSQL database through the API.

Part 2: Role-Based Access Control (RBAC) in NDB

RBAC governs access to NDB by assigning roles to users that define their privileges. It helps to restrict access and limit the operations users can perform based on their responsibilities.

Types of Roles in NDB:

  1. Super Administrator:

    • Full Access: Can manage everything within NDB, including creating users, upgrading, patching databases, managing disaster recovery, setting up high availability, and configuring alerts.
    • Key Operations: Can view and manage all entities, including operations initiated by other users.
  2. Infrastructure Administrator:

    • Manage Infrastructure Components: Responsible for tasks such as adding Nutanix clusters to NDB, adding VLANs and IP pools, and creating compute and network profiles.
    • Scope: Focuses on managing the infrastructure needed for databases.
  3. Database Infrastructure Administrator:

    • Hybrid Role: Combines responsibilities of both database management and some infrastructure tasks.
    • Key Capabilities: Can create software profiles, manage database parameter profiles, and perform some infrastructure-related tasks.
  4. Database Administrator (DBA):

    • Database Management: Focuses on managing databases, database servers, and clones.
    • Time Machine Operations: Can provision, register, clone databases, and manage backups and restores using Time Machine.
    • Tag Management: Able to create and manage tags for organizing databases.

Configuring Roles and Privileges:

  1. Creating a Role:

    • Go to Administration > Access Control > Roles and click +Create.
    • Enter the role name and description, select the desired privileges, and assign them to the role.
  2. Assigning Roles to Users:

    • Assign roles to users to define their level of access to different NDB entities and operations.
  3. Managing Users:

    • Users can be added from either local credentials or Active Directory (AD). Only a Super Administrator can create users and assign roles.

Part 3: Configuring Entity Sharing Policies

Entity sharing policies in NDB allow users to share entities such as databases, clones, or time machines with other users or AD groups.

  1. Types of NDB Entities:

    • Databases, database clones, database server VMs, database server clusters, snapshots, and Time Machines.
  2. Creating an Entity Sharing Policy:

    • Go to Administration > Entity Sharing and click Create Policy.
    • Select the entities to share, define the access level, and assign the users or groups to share them with.
  3. Purpose of Entity Sharing Policies:

    • Provides controlled access to NDB entities to ensure security while allowing collaboration.

Part 4: Working with Advanced NDB Features

Enabling NDB Multi-Cluster:

  1. NDB Multi-Cluster Management:

    • Allows you to manage databases across multiple Nutanix clusters, enabling both on-premises and cloud management.
  2. Enabling Multi-Cluster:

    • Go to Administration > Nutanix Clusters and click Register Nutanix Cluster.
    • Enter the required details, including the cluster name, IP address of Prism Element, credentials, and agent configuration.
  3. NDB Agent Setup:

    • An NDB agent is created on each registered cluster to manage database operations.

Configuring Active Directory Access:

  1. AD Integration:
    • NDB uses ports 389 (LDAP) or 636 (LDAPS) for communication with Active Directory.
    • Configuration Steps:
      • Go to Administration > Access Control > Authentication and click Configure.
      • Enter the configuration details, verify connectivity, and save the settings.

Using Tags for Inventory Management:

  1. Understanding Tags:

    • Tags are metadata labels used to organize entities like databases, clones, and Time Machines.
  2. Creating and Managing Tags:

    • Tags can be created, associated, updated, or deleted to enhance searchability and categorization.

Managing Alerts and Notifications:

  1. Alerts Dashboard:

    • Use the Alerts Dashboard to monitor all alerts, including their severity, status, and timestamps.
  2. Email Notifications:

    • Configure SMTP settings to send alert notifications to administrators.

Downloading Diagnostics Bundles:

  1. Purpose of Diagnostics Bundles:

    • Diagnostics bundles help in troubleshooting issues by collecting logs and configurations for analysis.
  2. Steps to Download:

    • Go to Administration > Diagnostics and select the entities for which you want to generate a diagnostics bundle.

Final Recap and Exam Preparation Tips:

  • Understand API-Only Features: Know which operations are only available through the API, like Oracle PDB management and PostgreSQL peer authentication.
  • Master RBAC: Be clear on each role and what permissions they entail.
  • Practice Key Configurations: Be familiar with entity sharing, multi-cluster setup, AD integration, tag management, and alert configurations.

By mastering these advanced features and functionalities, you will be ready to excel in your NCP-DB 6.5 exam and handle complex scenarios in Nutanix Database Service.

Good luck, and keep listening to reinforce your understanding. You’ve got this!


This concludes this segment of your NCP-DB 6.5 Exam Cram Audio Guide. Continue to study, practice, and prepare for the exam by focusing on these critical details.

Key Considerations for Storage and Network Configuration in Nutanix Database Service (NDB)

When working with Nutanix Database Service (NDB), there are important considerations for configuring storage mappings and network segmentation to ensure proper functioning of replication, disaster recovery, and high availability features. Let's go over these critical points in detail:


1. Storage Container Mappings

Scenario: Different Storage Containers for NDB Server and Provisioning

  • Requirement:
    If the NDB server storage container and the storage container used by NDB for provisioning are different on the NDB server cluster, you must:
    • Configure Mapping between the remote storage container and the storage container of the NDB server. This ensures that NDB can access and manage databases and their associated data across different storage containers.

Scenario: Disks from Different Storage Containers in Database Server VMs or Source Databases

  • Requirement:
    If database server VMs or source databases contain disks from storage containers other than the NDB server storage container or the storage container used by NDB for provisioning:
    • You need to configure storage mappings between the source and target clusters for such containers. This step is necessary before performing any replication operations to ensure that all data can be accessed and replicated correctly between clusters.

2. Disaster Recovery and Storage Mapping

Scenario: Disaster Recovery Network Segmentation Enabled

  • Requirement:
    If disaster recovery network segmentation is enabled on the cluster:
    • You must configure the remote sites and the corresponding storage container mappings between all clusters. This ensures that during disaster recovery, all clusters can access the necessary data across segmented networks.

3. Incompatibility Between High Availability (HA) and Network Segmentation

  • Key Restriction:
    You cannot enable high availability (HA) for NDB if network segmentation is configured for NDB. Similarly, you cannot configure network segmentation for NDB if high availability is enabled.
    • Explanation:
      This restriction exists because both HA and network segmentation require different underlying network configurations that are incompatible with each other. HA relies on unified networking for failover and redundancy, while network segmentation isolates traffic to enhance security.

Summary of Key Points:

  1. Storage Mapping:

    • Configure storage mappings between different containers used by NDB for server and provisioning.
    • Ensure mappings between source and target clusters if disks are from different storage containers.
  2. Disaster Recovery Configuration:

    • Set up storage container mappings between remote sites and clusters if network segmentation for disaster recovery is enabled.
  3. Mutually Exclusive Configurations:

    • High Availability (HA) and Network Segmentation cannot be enabled simultaneously for NDB.

Understanding these requirements will help you ensure proper configuration of storage and network settings in NDB, enabling seamless database management, replication, and disaster recovery operations while respecting the system's limitations.