Security on the cms, Authentication, Using delays in script commands – HP Insight Management-Software User Manual

Page 7: Profiles and powering off or powering on, Running scripts as windows scheduled tasks, Comparing vcmcli scripts to vcemcli scripts

Advertising
background image

Security on the CMS

VCEMCLI is installed on the CMS. By installing on the CMS, you get the benefits of the security
measures already in place for the CMS. The trade-off is that the script execution imposes additional
load on the CMS.

HP recommends that you evaluate the amount of load the script places on the CMS, and either
program in pauses or reduce the amount of work done by each invocation of the script.

Authentication

Decide whether username and password authentication or certificate-based authentication is
appropriate for your environment. For more authentication information, see

“Authenticating with

VCEM” (page 10)

.

Using delays in script commands

Do not poll for results in a tight loop. Insert delays in your scripts to allow the CMS time to manage
other tasks. Polling for results using tight loops without delays can overload the CMS.

Profiles and powering off or powering on

Assigning a profile to a bay which contains a server requires that the bay be powered off in order
to complete the assignment. Graceful poweroff operations allow time for the operating system on
the server to go through its normal shutdown processing. If an unresponsive process prevents the
normal shutdown from proceeding, you may need to resort to an ungraceful poweroff. This should
be used only as a last resort as it may result in data loss on the affected server. The same poweroff
constraint applies to unassigning or updating a profile for a bay containing a server.

Running scripts as Windows Scheduled Tasks

By configuring the Windows Task Scheduler to run your VCEMCLI script, you can schedule
operations such as server reboots so they are executed during non-working hours. Configure the
scheduled task with the credentials corresponding to the specific VCEMCLI script the task will run.

Comparing VCMCLI scripts to VCEMCLI scripts

VCEMCLI uses the same keyword names as are found in VCMCLI for items common to both CLIs.
VCEMCLI keywords are always preceded by a dash. This differs from VCMCLI in which whether
a dash is required depends on the specific keyword. Name Value pairs in VCEMCLI are separated
by a space whereas they are separated by an equal sign (=) in VCMCLI.

Script development considerations

7

Advertising
This manual is related to the following products: