IT Operations Management (ITOM)
Showing results for 
Search instead for 
Do you mean 

Your Private Cloud Operations through a Business Lens for more than 58,000 VMs and counting!

Arpita_Sengupta ‎06-27-2016 12:47 AM - edited ‎06-30-2016 01:53 AM

With an internal organization that provides support services for more than 6,000 HPE developers and external customers worldwide, HPE Software services is always transforming with the times to meet high demands and maintain an exceptional user experience.

This blog captures the user experience on adopting a solution which blew away their management teams. As Sunil Kumar Chikmagalur, Sr. Manager - R&D Data Centers, HPE Infrastructure Services, said, “When we saw Business Value Dashboard (BVD) for the first time few months back, it was sold to Infrastructure Services VP in less than 5 minutes!”

Context

The HPE Infrastructure Private Cloud environment is spread across approximately 13 sites across the globe, hosting around 58,000 VMs for the HPE Software R&D community. HPE Cloud Optimizer has been an integral part of their solution, monitoring and optimizing these large-scale VM farms. In order to manage such disparate sites with such scale, automation was implemented, rolling up around 17 HPE Cloud Optimizer instances globally. However, it became a tedious effort to manually log in to each instance and collate the required statistics in an excel sheet. Business Value Dashboard and Cloud Optimizer are a part of the Operations Bridge Suite.

At this point, the team discovered the Business Value Dashboard (BVD). It was their “a-ha” moment. As shared by Bindumadhava V, Senior Engineer, R&D Data Centers, HPE Infrastructure Services, they could now view all 17 HPE Cloud Optimizer instances across 13 sites in real time—and in a one-pane view. They could decide instantly when to add capacity at which site and significantly reduce any dependencies from previous days—for more than 58,000 VMs!

A generic view is provided below:

BVD-CO-MoM-View.png

Here are some tips on integration between Business Value Dashboard (BVD) and HPE Cloud Optimizer by Krishna Ramaswamy, R&D Data Centers, HPE Infrastructure Services:

  1. You need to chalk out what data you will be sending and what script to use before connecting dynamic data to the Business Value Dashboard (BVD)
  2. Take note that any Open Source REST API support product can easily integrate with BVD along with minimal steps. In BVD all data is grouped into so called data-channels. These data channels can be connected to the dashboard widgets. In order to create a data channel, you need to send your data in JSON format with a HTTP post request. A typical request has a URL and contains the data as POST-request.
  3. Below is a Python script skeleton to pull data from HPE HPE Cloud Optimizer and send real time data into Business Value Dashboard (BVD) seamlessly:
def Start_Parsing():
   while 1:
       final_total_num_vm = 0
       for co in config_dict['list']:
           response_dict = get_co_json(co['url'])
           outbound_data[co['name']] = response_dict
           final_total_num_vm = final_total_num_vm + response_dict['num_vm']
       outbound_package = Build_OutBound_Package_CO()
       outbound_package['total_num_vm'] = final_total_num_vm
       print "Outbound Package: ", json.dumps(outbound_package)
       Push_Data(outbound_package)
       time.sleep(config_dict['interval'])
#Build outbound package from HPE HPE Cloud Optimizer.
def Build_OutBound_Package_CO():
   outbound_package = {
       "available_metric": "example.hpe.com",
       "mdb": "KEE",
       "label": "Summary",
       "type": "Any",
   }
   outbound_package = merge_dicts(outbound_package, outbound_data)
   return Flatten(outbound_package,sep="/")               
     # Flatten the real time data
def Flatten(d, parent_key='', sep='_'):
   items = []
   try:
       for k, v in d.items():
           new_key = parent_key + sep + k if parent_key else k
           if isinstance(v, collections.MutableMapping):
               items.extend(flatten(v, new_key, sep=sep).items())
           else:
               items.append((new_key,v))
   except:
       print "Failed to flatten"
       traceback.print_exc()
   finally:
       return dict(items)
                                     
def Build_BVD_URL():
   return ''+config_dict['bvd']+'/'+config_dict['apikey']+'?dims=mdb,label,type&tags=omi,mdb'
 #Push json format real time data into BVD along with BVD URL
def Push_Data(data):
  try:
url = build_bvd_url()
request = urllib2.Request(url)
request.add_header('Content-Type', 'application/json')
response = urllib2.urlopen(request, json.dumps(data)).read()
print response
except:
print "Error while pushing data to BVD: ", Build_BVD_URL()
def Print_Data(data):
 if __name__ == '__main__':
#read the configuration along with validation
Read_Conf_Validate();
def Read_Conf_Validate ():
try:
with open(config_path) as c:
config_json = json.loads(c.read())
config_dict['interval'] = config_json['interval']
 if isinstance(config_json['list'], list):
config_dict['list'] = config_json['list']
config_dict['bvd'] = config_json['bvd']
config_dict['apikey'] = config_json['apikey']
except IOError:
print "Failed to open config.json. Proceeding with default configurations."
except:
print "Failed to parse config.json. Proceeding with default configurations."
Start_Parsing();
#Start Parsing the JSON REST API data into BVD.

Try BVD now! Watch the trial video here.

You can also check out the demo here.

Read more:

HPE Business Value Dashboard (BVD)

HPE Operations Bridge HPE Live Network: Operations Bridge Evolution HPE Live Network: Operations Manager i HPE Live Network: OMi Management Pack development kit

Webinar:

Join us and Vodafone group in our Vivit Webinar: 5 New Ways to Focus Operations through a Business Lens with Operations Bridge Suite

June 30th 2016 – 8:00-9:00 PDT

Register here

Contact : Ian Bromehead ianb@hpe.com

About the Author

Arpita_Sengupta

Events
June 6 - 8, 2017
Las Vegas, Nevada
Discover 2017 Las Vegas
Join us for HPE Discover 2017 in Las Vegas. The event will be held at the Venetian | Palazzo from June 6-8, 2017.
Read more
Apr 18, 2017
Houston, TX
HPE Tech Days - 2017
Follow a group of tech bloggers for a new HPE Tech Day, a full day of sessions about how to create a hybrid IT, from hyperconverged to Composable Infr...
Read more
View all
//Add this to "OnDomLoad" event