Menu
|
So you want to use Nutanix DR (formerly Leap) to automate DR workloads into NC2 on Azure, but don't want the initial copy to fully saturate your VPN/Expressroute connection? Well, there's no in-solution user configurable option to set bandwidth throttling (yet) for this product. (You can set DR traffic bandwidth throttling if you're using PE based protection domains)
There is, however, a way to set bandwidth throttling up via the CLI. You should open a ticket with support to get confirmation on syntax before implementing these settings. This documentation is presented for reference purposes. ====== DO FROM SOURCE PE CLUSTER ========
Example: cerebro_cli modify_remote remote_*remote-cluster-id* bandwidth_policy_id=*policy-id-from-step 6* bandwidth_policy_enabled=true 8. Verify Policy shows enabled: ncli remote-site list name=<Remote_Site_Name> remote-site-type=entity-centric
0 Comments
Nutanix Cloud Clusters on Azure (NC2) gives you the opportunity to extend or move your Nutanix workloads from on-premise into a public cloud environment. For our use case, we wanted to pivot DR for a a specific enterprise workload from on-prem into the cloud to avoid the hardware refresh cycle and hosting costs of running the hardware ourselves. The goal: eliminate the recurring spend on capital purchases and do DR in the cloud. So What Are We Were Trying to Solve? To put it simply we are trying to reduce cost. Reducing the Ongoing Cost per Month for Co-location Datacenter Expenses is one of our strategic goals. Renting space, power, and cooling in a co-location data center is expensive. Nutanix Cloud Clusters in Azure can reduce these costs by leveraging Azure's infrastructure. In addition to reducing our use of a co-location data center we also want to scale back our recurring Capital Purchases for Disaster Recovery Hardware Refreshes Regular refreshes every three years for 60+ hosts and associated network infrastructure can be costly. By moving to Nutanix Cloud Clusters in Azure, we eliminate a sizable portion of our need for hardware upgrades, as Azure provides dynamic provisioning and scaling. On the Connectivity Costs front maintaining multiple redundant connections for disaster recovery adds to the expenses. Azure's global network infrastructure can help streamline and reduce these connectivity costs. By moving our presentation layer disaster recovery to the cloud, we have significantly reduced the physical footprint of your secondary data center. Azure's hybrid cloud management capabilities paired with Nutanix Cloud Clusters allows for seamless integration and management of on-prem and cloud resources, simplifying operations. As an Azure consumer, NC2/Azure made a lot of sense for us, and allowed us to configure Citrix presentation layber behavior for DR similarly to how we configured it at our existing DR datacenter. Nutanix Cloud Clusters run the core Nutanix HCI stack (including Nutanix AOS, AHV and Prism) on bare metal instances in public clouds – so it looks and behaves just like our on-prem workloads in Nutanix. The beauty in the solution is in it's resiliency in the datacenter, as well as elasticity on demand – we can scale up or down as needed to meet disaster recovery needs all through centralized management plane in the cloud. What we built out in Nutanix Cloud Clusters looks and behaves pretty much the same as our on premise production deployment. NC2 obfuscates the underlying Azure infrastructure and provides us with the complete Nutanix stack to work with: clusters, Hosts, storage, networks, and virtual machines, We can control versions and upgrades, ensuring our DR maintains the same interoperability as our on-prem production environment. So what is a Pilot-Light Philosophy? Let’s starting by understand what a Nutunix Cloud Cluster Pilot Light is. The pilot light is the minimum required number of hosts, which in this case is 3, to deploy the foundation of a cluster. The pilot-light approach or philosophy involves maintaining a minimal version of your environment running in the cloud, which can be scaled up quickly in the event of a disaster. This strategy minimizes costs by keeping most resources powered off until needed, while ensuring rapid recovery and scalability. The Nutanix Sizer tool was used to determine that four 28-node clusters are required to meet the disaster recovery workload demands. The tool provides precise sizing recommendations based on real-world workload utilization data, ensuring optimal performance and cost-efficiency. Initially, four 3-node clusters were built to seed the infrastructure. This allows for the setup and configuration of all workload VMs. Most of the VMs will remain powered off until needed, reducing operational costs while maintaining readiness for rapid scaling. What are our deployment methodologies? We opted to Customize our deployment instead of allowing Nutanix NC2 to deploy them automatically By using pre-defined networks in Azure, we were able to ensure our network configurations conformed to our organization's standards for networks, naming conventions, and security policies. This approach provides greater control over the network setup, allowing for more precise management and adherence to best practices. To perform these deployments, we chose to use Infrastructure as Code specifically Terraform. Terraform enables automated deployment of Azure resources using scripts, which helps in maintaining consistency and reducing manual errors. Terraform scripts can be used to define, preview, and deploy cloud infrastructure, making the deployment process more efficient and scalable. This includes creating resource groups, virtual networks, and other necessary components. When deploying Nutanix Cloud Clusters there are two options for deploying the control plane called Prism Central. The first, deploy one Prism Central instance on one cluster and couple any additional clusters built to that instance or the second option deploying a separate instance of Prism Central per cluster. We decided to deploy a Prism Central for each pilot light cluster enhancing resiliency by providing additional isolation of environments. This approach requires minimal extra provisioning overhead while ensuring that each cluster can be managed independently. Meaning we could lose any one of the clusters without taking down the entire environment. We scaled up to full 28 node clusters, both to vet the process, as well as fully build out the Citrix DR environment. Once the build-out completed, all VMs were powered down, and the cluster was scaled back down to the original 3-node pilot light cluster. Significant testing was completed during the scale-out phase, including template replication from on-premise into NC2, DNS registration, VM registration with Citrix Director, application launches, Citrix session management, 3rd party application integration, Impravata support, partner application operation, and login times for both non-production AND production end-user workloads. Throughout the deployment and testing process, we worked with Nutanix Support and engineers, as well as Azure support to solve some of our most complicated challenges. Both organizations put in the time and effort to ensure our projects success.
Sometimes we come across unique, specialized use cases where solutions must be found outside of the box. This particular use case for me involved industry physical security video recording for hundreds of cameras across many different geographic locations -- with a caveat -- the vendor software can ONLY write to a locally presented disk (no NAS locations, no cloud possibility). Conditions were also right in the storage sphere where a new large-capacity all flash array came to market with incredible pricing, so it was more attractive than using HCI storage for this solution (we needed ~2PB of storage space). We had never used iSCSI in this fashion before, so it was a journey of discovery for us. This is that journey. Prep work: 1) carve out a dedicated network for the iSCSI traffic and make sure the storage and the VM's can access it. 2) on each VM, add a vNIC to be used exclusively for iSCSI traffix 3) on each VM, modify the registry according to vendor best practices. In our case that meant modifying two: HKLM TcpAckFrequency and HKLM TcpNoDelay. Configuration & Presentation: 1) Get the IQN from the VM by opening iSCSI initiator 2) Register the VM initiator IQN with the storage array. Typically you will create a host/VM entry in the storage array, and connect the initiator IQN to it. 3) On the VM, ) install MPIO if it’s not already installed on the server you are setting up iSCSI on: https://support.purestorage.com/Solutions/Microsoft_Platform_Guide/Multipath-IO_and_Storage_Settings/Installing_Multipath-IO 3a) Configure MPIO to mask the iSCSI volumes in Windows Server per the vendor specifications. This involves inputting a string specific to the vendor into the Device Hardware ID field in the MPIO properties window 3b) You need to add iSCSI support on the MPIO Discover Multi-paths tab as well: 4) Add the iSCSI discovery portals on the VM (server). In our case, we wanted 8 paths, 4 per controller, so each controller needs to be added to the target portals: 5) Go into ISCSI on the VM and connect to the discovered target. Be sure to enable Multipath. 6) the new disk(s) should now show up in disk management on your VM and can be formatted and used.
Great news for those using ACI in their environments, who might be used to ACI having visibility into their virtualized VMWare environments -- this functionality is coming to Nutanix! From Cisco's release notes: "You can now integrate the Nutanix Acropolis Hypervisor (AHV) with Cisco Application Centric Infrastructure (ACI). The Cisco APIC integrates with Nutanix AHV and enhances the network management capabilities. The integration provides virtual and physical network automation and VM endpoints visibility in Cisco ACI." https://www.cisco.com/c/en/us/td/docs/dcn/aci/apic/kb/cisco-aci-nutanix-integration.pdf You need to be running: Cisco APIC 6.0(3) -- (released August 2023) or newer Nutanix: To use current vSwitches without creating a NEW vSwitch (no vSwitch creation):
Benefits of the integration are:
The image above shows a sample topology. The Cisco APIC manages the ACI fabric and policies. The VMs connected to the virtual switch are managed by the Nutanix Prism. ACI fabric provides network connectivity for VMs in AHV Hosts with the uplinks (Uplink1 and 2). How it works: Cisco ACI uses EPGs, or end-point groups, to deliver policy to sets of defined endpoints (i.e. VMs) within ACI to NCP AHV with Flow Network Security as a VMM solution. Documentation from Cisco here:
Inclusion on Cisco’s ACI VMM solution webpage: https://www.cisco.com/c/dam/en/us/td/docs/Website/datacenter/aci/virtualization/matrix/virtmatrix.html . Cisco ACI 6.0.3 release notes mention the new Nutanix integration: https://www.cisco.com/c/en/us/td/docs/dcn/aci/apic/6x/release-notes/cisco-apic-release-notes-603.html . Cisco ACI and Nutanix AHV VMM Integration Guide/Tech Note: https://www.cisco.com/c/en/us/td/docs/dcn/aci/apic/kb/cisco-aci-nutanixintegration. html?dtid=osscdc000283 Big announcements aplenty at the .NEXT 2023 conference. In no particular order: 1. Nutanix Central: A SaaS based cloud-delivered solution that will provide a single interface for managing ALL of your Prism Central deployments, whether on-prem, cloud or MSP. In early-access now(ish) with features set to roll out going forward. https://www.nutanix.com/blog/introducing-nutanix-central 2. Multicloud Snapshot Technology (MST) - This allows snapshots directly to cloud-native datastores in S3.
3. Project Beacon - This initiative takes aim to provide a portfolio of data-centric PaaS services available natively in the cloud. It's intent is to decouple applications and their data from the underlying infrastructure, giving developers greater flexibility to build applications once and run them across various environments natively on Nutanix or in the public cloud. https://www.nutanix.com/blog/introducing-project-beacon 4. Nutanix Data Services for Kubernetes (NDK) - in early access. NDK is designed to deliver enterprise-class storage, snapshots and DR capability to Kubernetes. https://www.nutanix.com/blog/nutanix-announces-early-access-of-ndk 5. NCP enahancements which include the ability to dynamically apply security policies across multiclouds enabling secure, seamless virtual networks using Flow Virtual Networking. Available now in NC2/Azure, and in development for AWS. https://www.nutanix.com/blog/dynamic-approach-to-hybrid-multicloud-network-securityNCP It was also a chance to meet up with old friends and make some new ones. NUG Chapter Champions in attendance met in the Solutions Expo for some hangout time and a group photo: Shout out to all the Nutanix Technology Champions in the Day 2 General Session: Great conference, nice venue. It was nice having the conference so close to home base. Hope to see everybody in 2024!
History: We had been running Nutanix successfully for years on the ESXi platform. We initially landed on ESXi because that's what we were using when we decided to move to HCI-first. In an effort to streamline operations, lifecycle management, we took a serious look at AHV as an option -- after all, it was included with the Nutanix licenses we were already paying for. We added an AHV cluster to our test lab and put it through the paces for a few months and then we decided it was ready for primetime, so we kicked off this project. Our goals:
Challenges to overcome:
Phase: Planning
Phase: Buildout
Phase: Execution & Migration
Here are the steps to move virtual machines from ESXi to Nutanix AHV using Nutanix Move:
Phase: Aftermath
With openDCIM, you can manage and track a variety of physical assets in your data center, including servers, switches, power distribution units (PDUs), and more. The software provides a web-based user interface for managing your data center infrastructure and includes features such as:
openDCIM is highly customizable, allowing you to customize it to meet your specific data center needs. A few customizable options:
You can take it for a test drive here: opendcim.org
You can download openDCIM here: opendcim.org/downloads.html They have a wiki for additional information: wiki.opendcim.org/wiki/index.php/Main_Page The goal: move an entire production Citrix & VDI platform from ESXi to AHV. Below is our before (left) and after (right) What is delivered: •EMR sessions daily: 10000+ •VDI sessions daily: 4800+ •delivers 900+ general apps •13000+ Citrix users What makes it up: •Published Apps (1155 servers) •Infrastructure (69 Server) •primary data center hosts- 110 •secondary data center hosts- 72 The POC
Cluster sizing
Workload & support challenges
The Citrix migration
The VDI migration
The migration was fairly painless and we actually saw improved density on the clusters running AHV instead of ESXi on top of AOS -- about a 10% improvement. The transition for our Citrix support staff was seamless.
The success of this project paved the way for our next project; converting our general production workloads from ESXi to AHV. "Entering emergency mode. Exit the shell to continue." There's already a VMWare KB article about this: "Failed to start file system check on /dev/disk..." error on Photon OS based virtual appliances (2149838) but in our case this did not resolve the issue. What we did to fix the issue: Restarted vCenter appliance and entered GRUB menu. Added "fsck.repair=yes" after "consoleblank=0" and booted.
All vCenter services started and were working as expected. |
Chad DorrEngineering cloud, infrastructure, storage & virtualization solutions for 16+ years. Archives
August 2023
Categories
All
|


RSS Feed