STRIPEYFISH. Utilities for VMware Series. sfvalarms User Guide

Similar documents
Alarm Client. Installation and User Guide. NEC NEC Corporation. May 2009 NDA-30364, Revision 9

Avigilon Control Center 5 System Integration Guide

Avigilon Control Center System Integration Guide

HikCentral Web Client. User Manual

ESB Tools Reference Guide. Version: CR2

HikCentral Web Client. User Manual

Milestone SMI Intrepid II Perimeter Module 1.1 User s Manual

Before you install ProSeries Express Edition software for network use

ESB Tools Reference Guide. Version: GA

Avigilon Control Center 5 System Integration Guide

Monitor Alarms and Events

Avigilon Control Center 5 System Integration Guide. with STENTOFON AlphaCom. INT-STENTOFON-C-Rev1

Installing ProSeries software for stand-alone use

Raytec Avigilon Integration User Guide Integrating Raytec Network Illuminators with Avigilon Control Center Document Revision 2.0

Monitor Alarms and Events

Before you install ProSeries software for network use

MultiSite Manager. Setup Guide

HERCULES 6 GRAPHICS SYSTEM

SIMATIC. Industrial PC SIMATIC IPC DiagBase V Introduction. SIMATIC IPC DiagBase software components. Quick-Start Guide

Siemens Drives & PLCs

Avigilon System Integration Guide. Avigilon Control Center with AMAG Symmetry Security Management System 7.0

Training Guide Series. CYMA User Portal Installation Guide

Alarm Hot Backup Manager can use InTouch, Galaxy, or Galaxy_ as alarm providers when configuring an alarm Hot Backup Pair.

PWM. Solar Charge controller with Ethernet. Solar Smart PWM 20Amp. Hardware Description : Release : 19 June 2014

Avigilon Control Center System Integration Guide

AK-CS On Board Guide

Before you install ProSeries software for network use

SIMATIC IPC DiagBase SIMATIC. Industrial PC SIMATIC IPC DiagBase. Introduction. DIAG software components. Quick-Start Guide

Patriot Systems Limited

Using ANM Mobile CHAPTER

SIMATIC IPC DiagBase SIMATIC. Industrial PC. Introduction. DIAG software components. Quick-Start Guide. Hardware and software requirements

TPS Virtualization and Future Virtual Developments Paul Hodge, Honeywell

Centroid Snet 2. Battery Management Software. User Manual V1.1. Eagle Eye Power Solutions, LLC Keeping an Eye on Your Critical Power!

Added password for IP setup page : Password must be in IP format!

Niagara4 Technical Certification Program Student Guide DAY 1 DAY 2

AK SM 800 Commissioning Guide

Patriot Systems Limited

WorkstationST* Alarm Viewer

3D_ISS. Integrated Software System. User Guide Manual

Chapter. Configuring Genetec Omnicast. Version 4.7 SR1. Configuring Third-Party Programs. SightLogix, Inc

Lighting Xpert Insight User Manual

Security Escort Central Console Software SE2000 Series

Oracle Communications Performance Intelligence Center

LineGuard 2300 Program User Manual (FloBoss 107)

IndigoVision Alarm Panel. User Guide

Operation Manual Fighter ProVision Software. Version: 0.0 Revision: 1

Alarm User Guide IGSS Version 9.0

i-vu CCN 4.0 Owner s Guide

ArchestrA Direct Connect

Step 1 - Install ProSeries Basic software

Managing Network Alarms and Events

Installing ProSeries 2005

Diagnostics and Monitoring System WEB Tool 2. User Manual

Getting Started with Live Exceptions

Bosch TCU Integration Module Administrator's Guide

Tutorial: Exporting static mesh (Max)

Recording Server PRELOADED

Configuring IndigoVision Control Center. Configuring IndigoVision Control Center

Alarm Monitoring and Management

Metasys System Extended Architecture Fire System Integration Using the IFC BACnet Gateway

FCD-wire Contents. List of Figures

Installing ProSeries 2004

Avigilon Control Center 5 System Integration Guide

Avigilon System Integration Guide. for the Avigilon Control Center and Access Control Manager

Alarm Monitoring and Management

CompleteView Alarm Client User Manual. CompleteView Version 4.6.1

Managing Network Alarms and Events

Dashboard for Windows V1.1.0

[ [ ADMIN PANEL USER GUIDE

Alarm Manager Plug-in

Tutorial: How to Download and Install Lumberyard v or greater

Avigilon System Integration Guide. for the Avigilon Control Center and Access Control Manager

Trident User s Manual

Alarms and Events. Defining Alarm Conditions. Database-Generated Alarms

Milestone XProtect. Central 3.7 User s Manual

Milestone XProtect Alarm Matrix Integration 1.0

Supervisor Standard Edition

Alarm Coordination Connected Components Building Block. Quick Start

Alarm description DECS Contents

Setting up and Managing Alarms in McAfee ESM 10.x

FiRe mobile-2 Operation Manual

Improved Lifecycle Management for BI. David Brockington SAP Business Objects, Product Management June, 2009

Procidia iware AlarmWorX32. AlarmWorX32 Viewer January 2010

Fike Safety y Technology Ltd

Alarm Monitoring and Management

Operations Manual TS400. Test Station for G450/G460 Gas Detector

Chapter. Configuring Cisco VSMS. Versions 5.1, 6.0. Configuring Third-Party Programs. SightLogix, Inc

All users are recommended to update their existing ProRAE Guardian (PRG) software to v

WiFi Hints & Tips. Contents. WiFi Hints and Tips 1. Page No. Section No. Title

Oracle Communications Performance Intelligence Center

Milestone XProtect Alarm Matrix Integration 1.0

Table of Contents. i-vu CCN Standard 4.2

D-TECT 3 IP. GJD260 IP Motion Detector

status AW1 WiFi Alarm System Printed in China PA : AW1-UM-EN-V1.0 User Manual 2016 Chuango. All Rights Reserved.

D-TECT 2 IP. GJD230 IP Motion Detector

CBI-064. User Manual. Caddx to KNX-BUS Interface

Alarm Gateway Object for Wonderware Application Server User Guide Ver 1.x Rev 1.4 PR 00185

CRIME. Manufacturing And Minor Inventions CRIME. Control Room Integrated Monitoring Environment

M211975EN-A. User Guide. Vaisala viewlinc Enterprise Server. Version 5.0

Alarm description DECS Contents

Transcription:

STRIPEYFISH Utilities for VMware Series sfvalarms User Guide

S T R I P E Y F I S H sfvalarms User Guide Revision 3 StripeyFish 2013 www.stripeyfish.co.uk

Table of Contents Introduction... 1 What is covered in this User Guide... 2 Revision History... 2 Installation... 3 Supported versions of vcenter Server... 3 Running the installation wizard... 4 Basic Use and vcenter Connection... 5 Menus and Options... 6 Connecting to vcenter Server... 8 Alarm Export... 10 Alarm Sets... 11 Alarm Import... 12 Alarms and Inventory... 12 Default Alarms Reset... 16

I N T R O D U C T I O N Chapter 1 Introduction A short introduction on using alarms within VMware vcenter. T his user guide is for the StripeyFish sfvalarms utility. VMware vcenter Server does not have an inbuilt utility for easily importing and exporting alarms. The sfvalarms utility has been created to help the datacenter administrator easily manage alarms across multiple vcenter Server installations where it is usually desirable to have the same set of alarms across the estate. Alarms are notifications that occur in response to selected events, conditions, and states that occur with objects in the inventory. You generally use the vsphere Client to create and modify alarms, although these can also be created via PowerShell scipts or other VMware SDK. The vcenter Server system is configured with a set of predefined alarms that monitor clusters, hosts, datacenters, datastores, networks, and virtual machines. Each predefined alarm monitors a specific object and applies to all objects of that type. For example, by default, the Host CPU Usage alarm is set automatically on each host in the inventory and triggers automatically when any host's CPU usage reaches the defined CPU value. If the predefined vcenter Server alarms do not account for the condition, state, or event you need to monitor, you can define custom alarms. When you set an alarm on a parent object, such as a vcenter Server, a datatcenter, or a cluster, all applicable child objects inherit the alarm. You can also set an alarm on a folder to propagate the same alarm to all objects contained in that folder. As soon as many custom alarms are created or default alarms modified, the number of alarms in use can quickly mount. There are some 37 default alarms in vcenter 4, 55 default alarms in vcenter5 and 61 default alarms in vcenter5.1 Alarm definitions can be fairly complex and to manage and document alarms, duplicate them across multiple vcenter installations and also to keep a managed state can be time consuming for administrators. The sfvalarms utility can help simplify the alarm management task. 1

I N T R O D U C T I O N What is covered in this User Guide In this manual, the user is taken through installation, use and reset of default alarms if it all goes wrong! Chapter 1: Introduction. Chapter 2: Installation. Chapter 3: Basic Use and vcenter Connection. Chapter 4: Alarm Export. Chapter 5: Alarm Import. Chapter 6: Default Alarms Reset. Revision History The following table shows the revision history. Version Date Revision v1.0 23-May-2012 First release. v1.1 12-Oct-2012 Support for vcenter 5.1 added. v1.1.1 07-Mar-2013 Feature request to allow alarm export folder to be specified in Preferences. 2

I N S T A L L A T I O N Chapter 2 Installation How to install the sfvalarms utility. T he sfvalarms utility is a Microsoft Windows 32-bit utility that is installed as a regular Microsoft deployment package (.msi). The user installing it should have privileges to do so. The sfvalarms utility requires Microsoft.Net Framework v3.5sp1 as a minimum. This should already be installed prior to installing sfvalarms. Operating systems tested as compatible are as follows: Microsoft Windows 2003 SP2 32bit Microsoft Windows 2008 R2 64bit Other operating systems such as Microsoft Windows 2003 64bit and Microsoft Windows 7 should also be compatible although not tested at time of release. Supported versions of vcenter Server The following versions of vcenter Server have been tested as working with sfvalarms: vcenter 4.0 Update 3, Update 4a vcenter 5.0 Update 1, Update 1b vcenter 5.1 vcenter 4.1 and other update versions other than those listed above have not been tested, although the author can see no reason why they shouldn t be compatible. 3

I N S T A L L A T I O N Running the installation wizard Open the sfvalarms.msi file. The installation wizard will start. Follow the wizard to install sfvalarms. Once installed, sfvalarms will be available in the Programs menu under StripeyFish. 4

B A S I C U S E Chapter 3 Basic Use and vcenter Connection This chapter shows the user how to start sfvalarms, connect to vcenter Server and basic use of the options and menus. S tart the sfvalarms utility from the Start menu under StripeyFish. Once started the application main window is shown FIGURE 1 - sfvalarms Start Screen. 5

B A S I C U S E Menus and Options The File menu gives the following options: FIGURE 2 sfvalarms File Menu Options Save Connection Details This option will save the currently entered vcenter Server connection details to the registry. They can easily be reloaded by selecting the Load previous connection details link. Preferences The Preferences menu option brings up the Preferences dialogue: FIGURE 3 sfvalarms Preferences Dialogue The Delete all existing alarms during import option can be selected if required. During an Alarm Import, all existing alarms will be removed first before the selected Alarm set is imported. 6

B A S I C U S E The Select export path option allows the user to select either the default location for exported alarms (which will be the installation path), or for the user to select Custom and to enter a folder path directly or to use the [Browse] button to select a folder path. The options selected in the Preferences dialogue are stored, so that when sfvalarms is run again, the preferences previously selected will be remembered. The Alarms menu gives the following options: FIGURE 4 sfvalarms Alarms Menu Options This options under the Alarms menu only become available once connected to vcenter. Export This option will export all the current alarms from the vcenter Server that is connected. For more information see the section on Alarm Export. Import This option will import all the alarms from the selected Alarm set into the vcenter Server that is connected. For more information see the section on Alarm Import. 7

B A S I C U S E Connecting to vcenter Server The vcenter Connection Details area of the window enables the user to enter vcenter credentials and perform the connection. If previous connection details have been saved and you want to connect to the same vcenter Server again, click the Load previous connection details link. The IP/DNS, User name and Password fields will be filled automatically. To connect to a new vcenter Server or enter credentials for the first time, enter credentials as follows: IP/DNS Name: Enter either IP Address or DNS Name of your vcenter Server. User name: Enter user name of user that can log into vcenter Server. It is recommended that an Administrator account is used. If a limited access user is entered, then this user should have the following privileges: System.View, System.Read, Alarm.Create, Alarm.DisableActions, Alarm.Delete, Alarm.Edit, Global.ScriptAction, Password: Enter password for chosen user. To connect using entered credentials, select the Connect button. The connection to the selected vcenter will be initiated and the log part of the window will show current status. The connection may take up to 4 minutes. This is due to an un-optimised VMware library being used for sfvalarms. On successful connection the log should look similar to the figure below (the latest entries are added at the top): 8

B A S I C U S E FIGURE 5 sfvalarms Connection to vcenter If the connection fails, or is still trying to connect after 5 minutes, check the entered credentials in a vsphere Client connection. Once connected to vcenter, you are now ready to either import or export alarms. To disconnect, select the Disconnect button. To exit sfvalarms, either select the File > Exit menu option, or click the standard Windows close button at the top right of the window. 9

A L A R M E X P O R T Chapter 4 Alarm Export This chapter shows the user how to export all the visible Alarms from vcenter. A fter connecting to your chosen vcenter Server with the correct credentials to allow Alarm export, you are now ready to export all the visible alarms. To start the Export, select the Alarms > Export menu item. Alarm export will start immediately and the Log entries will show progress. The first alarm to be exported may take a few seconds to start and then the remainder will be processed in quick succession. FIGURE 6 sfvalarms Export Log On completion of the export, a pop-up dialogue will be displayed. Select OK and then check the Log entries to ensure no errors during export were encountered. 10

A L A R M E X P O R T Alarm Sets The export process will produce an Alarm Set. This consists of a folder called Alarms located under the sfvalarms installation directory or under the Custom folder as selected in the Preferences dialogue. If a previous export has been performed, then any existing Alarms folder will be renamed before the new export commences. The folder will have the date/time appended and be given an.archive extension. Several exports can therefore be done without losing any previously exported Alarm Sets from the same or different vcenter Servers. The archive folders can be renamed to something more meaningful if required and this won t affect the import process, e.g. DC1 Alarms. Each Alarm Set consists of a folder that contains XML files describing each Alarm found within vcenter Server as well as an Alarm Index XML file. Now that Alarms have been exported, you can move to the Import process to copy the Alarms to another vcenter Server, or merely use a backup to ensure the same set of defined alarms can be put back when required. 11

A L A R M I M P O R T Chapter 5 Alarm Import This chapter shows the user how to import Alarms Sets into vcenter Server. A fter connecting to your chosen vcenter Server with the correct credentials to allow Alarm import, you are now ready to import previously exported Alarms Sets either from this vcenter or another one in your estate.. Before starting an Import, it is important to remember a few rules for Alarms and how they relate to Inventory Objects. Alarms and Inventory The Alarm Index contains a reference to the Inventory Object where the Alarm was defined during export. Typically most administrators have the majority of Alarms set at the root of the Inventory. Alarms defined at the root can be imported into another vcenter without any translation of Inventory Objects. Alarms defined at lower levels in the Inventory, e.g. at Datacenter or Cluster will need to translated in the Alarm Index before import if the item names are different from the source vcenter. Some examples below will help to understand the importance of Inventory translation. Example 1: If vcenter Server A contains 10 alarms, all defined at the root, then no translation is needed. Exported Alarms from one vcenter can simply be imported into vcenter Server B. Example 2: vcenter Server A contains 10 alarms defined at the root, plus 5 alarms defined on Datacenter DC1. vcenter Server B also contains a Datacenter called DC1. As the inventories match, Exported Alarms from vcenter Server A can simply be imported into vcenter Server B. 12

A L A R M I M P O R T Example 3: vcenter Server A contains 10 alarms defined at the root, plus 5 alarms defined on Datacenter DC1. vcenter Server B contains a Datacenter called DC2. The inventories in this example don t match. In order to use the same set of Exported Alarms from vcenter Server A in vcenter Server B, the inventory path contained in the Alarm Index will need to be edited prior to import. Where inventory objects where Alarms have been defined between vcenter Servers don t match in name, the Alarm Index will always need to be edited. Editing the Alarm Index The Alarm Index file should be edited in the following cases: When Inventory Objects alarms are defined upon don t match between vcenter Servers. When only some alarms within an Alarm Set are required. To edit the Alarm Index, open the AlarmIndex.xml file in notepad or an XML editor. A sample section on an Alarm Index file is shown below: - <Alarms> - <Alarm> <Name>Host connection and power state</name> <Entity>root/dc1</Entity> </Alarm> - <Alarm> <Name>Virtual Machine Fault Tolerance vlockstep interval Status Changed</Name> <Entity>root</Entity> </Alarm> - <Alarm> <Name>Host cpu usage</name> <Entity>root</Entity> </Alarm> Removing an Alarm To remove an alarm, comment out or delete a complete <Alarm> </Alarm> section. In the section shown above, you would remove the entire section contained within the box of you didn t require the Virtual Machine Fault Tolerance vlockstep interval Status Changed alarm in the target vcenter Server. Translating an Inventory Object If, as in Example 3 the datacenter names on which some alarms are defined upon don t match, then the datacenter name can be updated for these alarms. The 13

A L A R M I M P O R T inventory path is given in the <Entity>root/DC1</Entity> node. In this example simply update the Datacenter name to DC2. Any alarms defined in the source vcenter Server on Datacenter DC1 will now be imported and set against DC2 on the target vcenter Server. When translating, only translate like for like objects, i.e. map Datacenter Alarms between Datacenters, alarms defined on Hosts between Hosts etc. All Alarm names within vcenter Server must be unique, regardless of where they are defined in the inventory. If the option to delete existing alarms on import is not selected, then the Alarm Set being imported should not contain any duplicate names to existing alarms. The Log will show any duplicates as an error in import. The existing alarms of the same name will not be updated or replaced. Performing an Import Before starting an import, decide whether you want to delete all existing alarms during the import process and set Preferences accordingly. To start the Import, select the Alarms > Import menu item. A File Browser will open and prompt you to select an Alarm Index file (AlarmIndex.xml) from the chosen Alarm Set. Once selected, click Open. FIGURE 7 sfvalarms Alarm Index Browser 14

A L A R M I M P O R T As soon as the Alarm Index file is selected, the import process will begin and the Log entries will show progress. FIGURE 8 sfvalarms Import Log On completion of the import, a pop-up dialogue will be displayed. Select OK and then check the Log entries to ensure no errors during export were encountered. This completes the Import process. Importing alarms from previous versions of vcenter is supported, however not all alarms are compatible. For example, alarms from vcenter 4.0 can be imported into vcenter 5.0. This has been tested with the default alarms where all but one alarm imported successfully. 15

D E F A U L T A L A R M S R E S E T Chapter 5 Default Alarms Reset This chapter shows the user how to reset vcenter Server back to their installation defaults. A larms can easily be reset to their installation defaults using a Knowledge Base article from VMware (KB 2009166). Complete the following steps to reset vcenter Server alarms to their default values. Unless you have exported any customized alarms first, they will be lost! To delete all the existing alarm definitions in the vcenter Server: 1. Log in to the vcenter Server using the vsphere Client. 2. Click the Hosts and Clusters view. 3. Click the Alarms tab. 4. Click Definitions. 5. Select all alarms, right-click, and click Remove. To restore the default vcenter Server alarms, change the alarm version in vcenter Server: 1. Connect to vcenter Server using the vsphere Client. 2. Click Administration > vcenter Server Settings. 3. Click Advanced Settings. 4. Set alarm.version to 0. 16

D E F A U L T A L A R M S R E S E T 5. Set alarms.upgraded to false. 6. If either of these options do not exist, then add new option. 7. Restart the VMware VirtualCenter Server service 17