Aug 17 2014

Using Nutanix Java SDK to Create Protection Domains and Add/Remove VMs

In a previous article I demonstrated how to use the Nutanix Java SDK (here) and provided the URL for the Nutanix Code Repository (here). In SampleRestJavaClient I have been implementing and encapsulating methods that make my life easier when automating Nutanix with Java.

I previously included some initial methods such as getVMs, getDisks, getHosts, getContainers, getManagementServers and getProtectionDomains. Today I have upstreamed couple important methods: getAlerts, addProtectionDomainaddVMstoProtectionDomainremoveVmsFromProtectionDomain.

  • addProtectionDomain – add a new protection domain
  • addVMstoProtectionDomain – add virtual machine(s) into an existing protection domain
  • removeVmsFromProtectionDomain – remove virtual machine(s) from a protection domain

 
App developers would consider automate the creation of a protection domain dedicated to the application with strict backup and replication SLA requirements. As part of the workflow addProtectionDomain and addProtectionDomain methods would be required. After adding VMs to the protection domain the application or script need to define corncobs and replication configuration. I’ll explain the last step in a next blog post.

	/**
	 * Method addProtectionDomain
	 * 
	 * @param protectionDomainName
	 * @param connMgr
	 * @throws BackupAndDrAdministrationException
	 */
	public void addProtectionDomain(String protectionDomainName,
			ConnectionsManager connMgr)
			throws BackupAndDrAdministrationException {
		final BackupAndDrAdministration bcdr = connMgr
				.getBackupAndDrAdministration();
		bcdr.addProtectionDomain(PrimitiveDTO.wrap(protectionDomainName));
	}
	
	/**
	 * Method addVMstoProtectionDomain
	 * 
	 * @param vMs
	 * @param protectionDomain
	 * @param setAppConsistentSnapshots
	 * @param setConsistencyGroupName
	 * @param setIgnoreDupOrMissingVms
	 * @param connMgr
	 * @throws BackupAndDrAdministrationException
	 */
	public void addVMstoProtectionDomain(String vMs[], String protectionDomain,
			Boolean setAppConsistentSnapshots, String setConsistencyGroupName,
			Boolean setIgnoreDupOrMissingVms, ConnectionsManager connMgr)
			throws BackupAndDrAdministrationException {
		final List<String> list = Arrays.asList(vMs);
		final AddVMsToPdRequestDTO vMsToPd = new AddVMsToPdRequestDTO();
		vMsToPd.setNames(list);
		vMsToPd.setAppConsistentSnapshots(setAppConsistentSnapshots);
		vMsToPd.setConsistencyGroupName(setConsistencyGroupName);
		vMsToPd.setIgnoreDupOrMissingVms(setIgnoreDupOrMissingVms);
		final com.nutanix.prism.services.dr.BackupAndDrAdministration bcdr = connMgr
				.getBackupAndDrAdministration();
		bcdr.addVmsByNamesToProtectionDomain(protectionDomain, vMsToPd);
	}

	/**
	 * Method removeVmsFromProtectionDomain
	 * 
	 * @param vMs
	 * @param protectionDomain
	 * @param connMgr
	 * @throws BackupAndDrAdministrationException
	 */
	public void removeVmsFromProtectionDomain(String vMs[],
			String protectionDomain, ConnectionsManager connMgr)
			throws BackupAndDrAdministrationException {
		final List<String> list = Arrays.asList(vMs);
		final com.nutanix.prism.services.dr.BackupAndDrAdministration bcdr = connMgr
				.getBackupAndDrAdministration();
		bcdr.removeVmsFromProtectionDomain(protectionDomain, list);
	}

Please note that the code published in this blog post has also been uploaded to the SampleRestJavaClient repository in GitHub. To execute the methods:

		/*
		 * Stablish connection with PRISM API
		 */
		final ConnectionsManager connMgr = ConnectionsManager
				.getInstance();
		connMgr.setUSERNAME("admin");
		connMgr.setPASSWORD("admin");
		connMgr.setSERVER("10.20.18.10");

		/*
		 * Add a protection domain
		 */
		connMgr.addProtectionDomain("ProtectionDomainName", connMgr);
		
		/*
		 * Add VMs to Protection Domain
		 */
		 String VMs[] = new String[] { "vmName" };
		 connMgr.addVMstoProtectionDomain(VMs, "protectionDomainName", false, null, false,
		 connMgr);
		
		/*
		 * Remove VMs from Protection Domain
		 */
		 String VMs[] = new String[] { "vmName" };
		 connMgr.removeVmsFromProtectionDomain(VMs, "protectionDomainName", connMgr);

This article was first published by Andre Leibovici (@andreleibovici) at myvirtualcloud.net

Permanent link to this article: http://myvirtualcloud.net/?p=6560

Aug 14 2014

Nutanix, Software Defined Storage Players and My VMworld Sessions!

I should be on leave this week in preparation for the marathon during next two weeks, but I am not. I am rather working furiously on a number of different Nutanix partnerships and announcements. BTW – Big Nutanix announcement coming sometime next week. Next week is also the Nutanix SKO ‘Sales KickOff’ and this time it’s happening in Vegas at they ARIA. I hope I get some recovery time over the next weekend because right after Nutanix SKO is that time again, VMworld. As always VMworld will happen as if it was a blur… so many conversations, interactions, sessions and parties. It’s always nice to see friends and colleagues that otherwise I would only communicate via twitter and email.

Nutanix is coming big for this VMworld. The Nutanix party seems to be the party that people are looking forward the most. Unfortunately tickets are sold-out with over 1,000 people attending the party. Since it’s sold-out I will not talk about the party, but if you signed-up I hope to see you there. Quick-tip – clever ones apparently ended up scoring tickets.

 

 

Nutanix is also giving away fantastic prizes, including an awesome Emperor home office/gaming chair with three 24″ monitors, Xbox One, Two Xbox One wireless controllers and Xbox One chat headset worth approximately $20K. Check it out here how to win!

 

 

Software Defined Storage is the HOT topic for this VMworld, followed by Software Defined Networking. I expect to see announcement in these two areas by VMware and many of the partners and players in this market. It’s all good stuff and often times its good for customers when there’s cooperation and coopetition. It’s all good, everybody wins!

In this spirit I am of the opinion that if you are looking for a SDS solution you should check all your options and make the best choice for your organization, while thinking about budget (CAPEX and OPEX), simplicity and management, technology leadership in the SDS space, long term relationship, hardware dependency, and any other aspects you believe are important for your business. So, if you want to learn why not every SDS and hyper-converged solution is built equal here are the technical sessions you should attend.

STO1279 – Virtual SAN Architecture Deep Dive (VMware VSAN)

This session will cover the architecture of Virtual SAN (VSAN) and the technical details of the various functional components of the product. You will learn about VSAN’s clustering and scalability properties; about the algorithms used to distribute data across the cluster so as to meet the availability and performance requirements of applications; about the distributed protocols utilized to guarantee data availability and integrity under any combination of component failures. You will hear how VSAN achieves all that while consuming very low CPU and memory resources on ESXi hosts. The session will also highlight the integration of VSAN with the rest of vSphere, including features such as HA, DRS, (s)vMotion, vSphere Replication and many more.
Christian Dickmann – Staff Engineer, VMware
Christos Karamanolis – Principal Engineer, VMware

 

STP3266 – Web-Scale Converged Infrastructure for Enterprise (Nutanix)

Virtualization in today’s datacenter has evolved beyond simple consolidation and high availability. The prospects of creating one’s own scalable private cloud environment has many organizations looking for the right IT server and storage infrastructure to use as the foundation.

Join us on a technical discussion on the building a software defined datacenter using the ideal compute and storage infrastructure. We will explore the requirements for web-scale converged infrastructure to use as the foundation for your software defined datacenter environment. We will also discuss best practices and examples of running tier 1 databases and applications such as SQL Server and Exchange, applications and infrastructure servers, and virtual desktops on the 100% software-defined Nutanix Virtual Computing Platform.

Josh Odgers – Sr. Solutions and Performance Engineer, Nutanix, VCDX

Monday, Aug 25, 11:20 AM – 11:40 AM
Solutions Exchange Theater Booth 1901

 

STO3018-SPO – Making IT Real: VM-Centric Data Protection and Multi-site DR (Simplivity)

Backup and disaster recovery are perennial pain points – especially as organizations virtualize more workloads and are faced with relentless data growth. The post-virtualization data center requires a different approach—one that handily meets RTO and RPO objectives while lowering cost and complexity. SimpliVity’s hyperconverged infrastructure provides integrated backup and bandwidth-efficient replication to capture and transfer backup sets within and between data centers and public cloud repositories like Amazon Web Services. SimpliVity’s VM-centric data protection approach enables powerful policies, actions and reporting on a per VM basis, simplifying IT and operations, and uniquely enabling data mobility and efficiency. By eliminating additional backup hardware and tools, and driving unprecedented efficiencies via inline deduplication, compression and optimization of data at inception, SimpliVity contributes to dramatic upfront capital and ongoing operational cost savings. Attend this session to learn how deploying SimpliVity’s hyper-converged infrastructure helps to achieve robust, scalable and highly efficient backup and disaster recovery strategies.
Jesse St. Laurent – VP Product Strategy, SimpliVity

 

Really looking forward to VMworld. Where can you find me in between lots of customer and partner meetings? I have a number of short duration sessions (20min) with Nutanix partners in the EUC space. Here are the sessions where you may come talk to me and learn more about how Nutanix and the partner ecosystem integrate and provide benefits to customers. Looking forward to meeting you!

 

  • Mon 04:00pm – Nutanix and Unidesk     Where: Unidesk Booth
  • Tue 11:40am – Nutanix and Lakeside Software     Where: Lakeside Software Booth
  • Tue 12:00pm – Nutanix and AppSense     Where: AppSense Booth
  • Wed 11:30am – Nutanix and Unidesk     Where: Nutanix Booth
  • Wed 01:15pm – Nutanix and AppSense     Where: Nutanix Booth

 

I hope you have a great VMworld and I looking forward to catching up with many of you.

 

This article was first published by Andre Leibovici (@andreleibovici) at myvirtualcloud.net

Permanent link to this article: http://myvirtualcloud.net/?p=6535

Aug 11 2014

Nutanix and Veeam Strong Momentum

It’s very pleasing when two companies enter in deep collaboration at multiple levels – this is the case of Nutanix and Veeam. In a series of joint technical and market efforts both companies have a strong momentum. Nutanix and Veeam share a similar focus on the virtualizsed data center and on the private cloud which utilizes virtualization as its underpinning technology. The combination of Nutanix and Veeam provide a great combination for protecting data in both environments. Here are few things I would like to share:

 

Nutanix + Veeam BPG for Hyper-V

Download this best practices guide for Microsoft Windows Server 2012 R2 with Hyper-V environment to:

  • Understand synergies of using infrastructure and backup software designed for virtualization
  • Review the end-to-end architecture with Nutanix Virtual Computing Platform and Veeam Backup & Replication v7
  • Learn the best practices for configuring both Veeam and Nutanix components for Hyper-V

 

Nutanix and Veeam Backup & Replication for vSphere: Best Practices

This document makes recommendations for the optimization and scaling of Veeam Backup & Replication v7 with Nutanix for VMware vSphere. It shows the scalability of the joint solution and provides configuration information for both Veeam Backup & Replication and Virtual Computing Platform.

  • Download this best practices guide for VMware vSphere environment to:
  • Understand synergies of using infrastructure and backup software designed for virtualization
  • Review the end-to-end architecture with Nutanix Virtual Computing Platform and Veeam Backup & Replication v7
  • Learn the best practices for configuring both Veeam and Nutanix components

 

Nutanix and Veeam HyperV Best Practices by Derek Seaman

Derek’s post highlight two joint whitepapers that enable  customers deploy Veeam Backup and Replication 7 on Nutanix on HyperV. This is not high level marketing fluff. No fluff zone. We detail the best practices for using Nutanix SMB 3.0 shares with Hyper-V 2012 R2 and Veeam Backup and Replication 7.0.

 

Veeam Best Practices for VMware on Nutanix by Derek Seaman

Derek’s post highlight some of the major points and how customers can head off some potential issues. The whitepaper covers all the applicable technologies such as VMware’s VADP, CBT, and Microsoft VSS. It also includes and easy to follow checklist of all the recommendations.

 

Nutanix and Veeam Help Firms Avoid Disaster by Steve Kaplan

Both Nutanix and Veeam focus only on the software-defined data center (SDDC). This is a huge advantage in that neither company has to deal with legacy challenges of backing up architecture designed for a physical environment. Combining Veeam and Nutanix takes advantage of the abstraction of the underlying compute, memory and I/O resources to enable enhanced backup and replication capabilities, along with significantly simplified implementation and management

 

Key traits of Availability for the Modern Data Center (Veeam Webinar)

In today’s IT environment, it’s obvious that complexity is out and simplicity is in. The journey toward simplification requires a modern, fundamentally different approach that addresses the challenges related to explosive data growth, virtualized infrastructures and availability. In this webinar by Veeam® and Nutanix you will learn:

  • Today’s top data center challenges
  • How to embrace a software-defined data center approach
  • Availability for the Modern Data Center™
  • The role of a distributed architecture in the modern data center

 

Selecting the Right Protection for a Modern Datacenter (Nutanix Webinar)

View this recorded webinar presented by Nutanix and Veeam, both leaders in providing virtualization solutions for the modern datacenter. Together, they enable performance and granular backup for the most critical workloads on any hypervisor. Get the features you’ve been asking for—ease of use and deployment, reduced wastage and the ability to meet desired RTOs and RPOs.

 

This article was first published by Andre Leibovici (@andreleibovici) at myvirtualcloud.net

Permanent link to this article: http://myvirtualcloud.net/?p=6531

Older posts «

» Newer posts