beautypg.com

Leverage the vcem web user interface, Gather vc environment information, Script development considerations – HP Insight Management-Software User Manual

Page 6: Choosing a location for the script files, Initiating multiple commands

background image

Run scripts in response to Systems Insight Manager events or from the Windows job scheduler.

Leverage the CSV export of profile data to answer questions such as:

Where is this MAC or WWN used?

Which profiles use this network?

Which profiles use this fabric?

What is different between these profiles?

Leverage the VCEM web user interface

The VCEMCLI is designed to be used in addition to the VCEM web user interface. The web UI is
an easy way to gather information about your VC configuration and to examine the results of
scripted operations during the script development process.

Gather VC environment information

Before using VCEMCLI, gather the following:

Systems Insight Manager Authentication information

List of VC Domains

List of VC Domain Groups

List of VC server profiles (can be done via the VCEMCLI -export profiles command)

List of VC networks

List of VC storage fabrics

SAN-boot configuration details (if any)

List of enclosures and a list of bays and servers contained in the enclosures

Script development considerations

The information in this section helps you with some key decisions on how your scripts are structured.

Choosing a location for the script files

Do not place the scripts you create in the VCEMCLI installation directory as this can prevent product
upgrades from functioning. Instead, create your scripts in a separate directory outside the HP
installation directory tree.

Do not make changes to the example scripts in the VCEMCLI installation directory as this may
prevent product upgrades from functioning. Make a copy of the example scripts in a separate
location if you want to make changes to them.

Initiating multiple commands

Initiating several commands into the CMS quickly increases resource consumption on that system
for both CPU and memory. At some point, there is a risk of exceeding the system's ability to accept
and queue additional jobs.

To avoid this situation, HP recommends that you code script in such a way that it will be able to
cope with failed job submissions. Then you must wait for a period of time and attempt to submit
the job again.

Do not use the -nb option when submitting multiple commands to operate on a single profile such
as a series of commands to add multiple network connections. Doing so can cause the commands
to interfere with each other during processing.

6

Getting Started

This manual is related to the following products: