NCP Cluster Deployment and Configuration — Questions and Answers
Question 1: What must be done before cluster creation?
- Run AHV installer
- Image nodes with Foundation (Correct answer)
- Install vCenter
- Create a backup
Correct answer: Image nodes with Foundation
Before a Nutanix cluster can be created, the physical nodes must be imaged with the necessary software, including the chosen hypervisor (e.g., AHV, ESXi) and the Nutanix Controller VM (CVM). This imaging process is efficiently performed using Nutanix Foundation, which automates the installation and configuration of these components on each node.
Question 2: Which tool simplifies initial cluster deployment?
- Prism
- Calm
- Foundation (Correct answer)
- Stargate
Correct answer: Foundation
Nutanix Foundation is the dedicated tool designed to simplify and automate the initial deployment and imaging of Nutanix nodes. It streamlines the process of installing the hypervisor and the Nutanix software stack (CVM) onto new hardware, making cluster creation efficient and straightforward for administrators.
Question 3: How is a Nutanix cluster IP assigned?
- Node 1 IP
- Gateway IP
- Cluster Virtual IP (VIP) (Correct answer)
- CVM address
Correct answer: Cluster Virtual IP (VIP)
A Nutanix cluster is assigned a Cluster Virtual IP (VIP) that serves as a single, highly available access point for management. This VIP floats between the Controller VMs (CVMs) in the cluster, ensuring that the management interface remains accessible even if an individual CVM fails. It is used for accessing Prism Element and other cluster-wide services.
Question 4: Which method adds a node to an existing cluster?
- Restart the cluster
- Use SSH to CVM
- Use Prism's Expand Cluster feature (Correct answer)
- Manual copy config
Correct answer: Use Prism's Expand Cluster feature
To add a new node to an existing Nutanix cluster, the most efficient and recommended method is to use the 'Expand Cluster' feature within the Prism Element web console. This wizard-driven process automates the discovery, imaging (if necessary), and seamless integration of the new node into the cluster, ensuring proper configuration and data rebalancing.
Question 5: What is required for node discovery during deployment?
- Static routing
- Port forwarding
- Same subnet configuration (Correct answer)
- Load balancer setup
Correct answer: Same subnet configuration
For Nutanix Foundation to successfully discover and image nodes during deployment, all nodes and the Foundation instance must reside on the same broadcast domain or subnet. This network configuration allows Foundation to communicate with the nodes via ARP and other discovery protocols, enabling the automated imaging and cluster creation process.
Question 6: What does the CVM do during cluster creation?
- Sets DNS
- Initializes services and joins cluster (Correct answer)
- Enables SSH
- Creates VLAN
Correct answer: Initializes services and joins cluster
During cluster creation, after the Controller VM (CVM) is deployed on each node, it initializes its core Nutanix services, such as Stargate and Cassandra. Each CVM then communicates with the others to form a distributed cluster, pooling resources and establishing the Nutanix Distributed File System (NDFS) to provide shared storage.
Question 7: Which port must be open for cluster deployment?
- Port 443
- Port 22 (Correct answer)
- Port 3389
- Port 80
Correct answer: Port 22
Port 22, which is used for SSH (Secure Shell), is a critical port that must be open for Nutanix cluster deployment and ongoing management. Foundation utilizes SSH to communicate with the nodes during the imaging process, and administrators often use SSH to access the CVMs for troubleshooting or advanced configurations.
Question 8: What is the purpose of a CVM IP?
- To host user apps
- To store logs
- To manage cluster services (Correct answer)
- To serve NTP
Correct answer: To manage cluster services
Each Controller VM (CVM) in a Nutanix cluster has its own IP address, which is crucial for internal cluster communication and for the CVM to manage its local resources. These CVM IPs enable individual CVMs to perform their roles, participate in the distributed storage fabric, and communicate with each other to maintain cluster integrity and data consistency.
Question 9: What configuration ensures time sync across cluster nodes?
- DHCP server
- DNS forwarding
- NTP settings (Correct answer)
- Load balancer
Correct answer: NTP settings
Accurate time synchronization across all nodes in a Nutanix cluster is paramount for proper operation, data consistency, and reliable logging. Configuring NTP (Network Time Protocol) settings ensures that all CVMs and hypervisor hosts maintain synchronized time. This prevents issues with replication, snapshots, and distributed transactions, which rely heavily on consistent timestamps.
What must be done before cluster creation?