HP Virtual Connect Enterprise Manager Software User Manual

Page 3

Advertising
background image

Contents

1 Getting started...........................................................................................6

VCEMCLI prerequisites..............................................................................................................6
Installing the VCEMCLI..............................................................................................................6
Removing the VCEMCLI.............................................................................................................6
Workflow tips...........................................................................................................................6

CLI use cases for administrators.............................................................................................6
Leveraging the VCEM web user interface................................................................................7
Gathering VC environment information...................................................................................7

Script development considerations..............................................................................................7

Choosing a location for the script files....................................................................................7
Initiating multiple commands.................................................................................................7
Security on the CMS............................................................................................................8
Authentication.....................................................................................................................8
Using delays in script commands...........................................................................................8
Profiles and powering off or powering on................................................................................8
Running scripts as Windows scheduled tasks...........................................................................8
Comparing VCMCLI scripts to VCEMCLI scripts........................................................................8

2 Using the VCEMCLI....................................................................................9

Executable...............................................................................................................................9
Environment Variable................................................................................................................9
Common options......................................................................................................................9
Using the VCEMCLI in a script .................................................................................................10
Authenticating by using VCEM.................................................................................................11
User-name and password logon................................................................................................11
Logging on without a password................................................................................................11
Session lifetime.......................................................................................................................12
Role-based access control (RBAC).............................................................................................12

RBAC Details.....................................................................................................................12
RBAC best practices...........................................................................................................14

Working with server profiles.....................................................................................................15

Creating a server profile.....................................................................................................15
Deleting a server profile......................................................................................................15
Modifying a server profile...................................................................................................15
Displaying job details.........................................................................................................18

Accessing the VCEMCLI help...................................................................................................19
Error reporting.......................................................................................................................20

3 Using VCEM commands............................................................................21

add profile............................................................................................................................21
set profile..............................................................................................................................23
assign profile.........................................................................................................................24
export profiles........................................................................................................................26
move profile...........................................................................................................................27
remove profile........................................................................................................................29
unassign profile......................................................................................................................30
add enet-connection...............................................................................................................31
set enet-connection.................................................................................................................34
remove enet-connection...........................................................................................................37
add fc-connection...................................................................................................................38
set fc-connection.....................................................................................................................40
remove fc-connection...............................................................................................................42

Contents

3

Advertising
This manual is related to the following products: