Skip to content

daveolker/Synergy-Change-Personality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Synergy Change Personality

Change the "personality" or Server Profile assigned to a Synergy Compute Module, allowing for different workloads to be scheduled at different times of the day, week, month.

Synergy_Change_Personality.ps1

The Synergy_Change_Personality script does the following:

  • Connects to an HPE Synergy Composer (or HPE OneView instance)
  • Identifies the target compute module based on the "Source Server Profile" parameter
  • Gracefully powers off the compute module
  • Un-assigns the existing Server Profile from the Compute Module
  • Assigns the new Server Profile to the same Compute Module
  • Powers on the compute module

The required parameters on the command-line are:

Appliance              IPv4 Address of the Synergy Composer or OneView Instance
Username               Administrative User (Administrator)
SourceProfile          Server Profile currently assigned to Compute Module
TargetProfile          Server Profile desired to be assigned to Compute Module

The script will prompt for the Administrator's Password (not displayed in clear text)

How to use the scripts

This PowerShell script requires the HPE OneView PowerShell library found here: https://github.com/HewlettPackard/POSH-HPOneView.

Required Setup

It is assumed that the "Source" and "Target" server profiles exists on the Synergy Composer or OneView instance and that both server profiles have been tested to confirm they are able to be successfully applied to the target server without issues. It is also assumed that the existing profiles contain any required boot settings, BIOS settings, etc. The goal is to allow a single Compute Module to run different workloads at different times of the day or week with little or no user intervention.

Sample Command Syntax

Synergy_Change_Personality.ps1 -Appliance IP_ADDR -Username Administrator -SourceProfile ESX_Server -TargetProfile Windows_Server

About

Change the "personality" or Server Profile of a Synergy Compute Module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors