HP Insight Management-Software User Manual
Page 3
Contents
CLI use cases for administrators.............................................................................................5
Leverage the VCEM web user interface...................................................................................6
Gather VC environment information........................................................................................6
Choosing a location for the script files....................................................................................6
Initiating multiple commands.................................................................................................6
Security on the CMS............................................................................................................7
Authentication.....................................................................................................................7
Using delays in script commands...........................................................................................7
Profiles and powering off or powering on................................................................................7
Running scripts as Windows Scheduled Tasks..........................................................................7
Comparing VCMCLI scripts to VCEMCLI scripts........................................................................7
Executable...............................................................................................................................8
Environment Variable................................................................................................................8
Common options......................................................................................................................8
Using VCEMCLI in a script ........................................................................................................9
Authenticating with VCEM.......................................................................................................10
Username and Password Logon................................................................................................10
Logging on without a password................................................................................................10
Session Lifetime......................................................................................................................10
Role based Access Control (RBAC)............................................................................................11
RBAC Details.....................................................................................................................11
RBAC Best Practices...........................................................................................................12
Creating a server profile.....................................................................................................13
Deleting a server profile......................................................................................................13
Modifying a server profile...................................................................................................13
Displaying job details.........................................................................................................15
Accessing VCEMCLI help.........................................................................................................16
Error Reporting.......................................................................................................................17
3 Using VCEM commands............................................................................18
add profile............................................................................................................................18
set profile..............................................................................................................................20
assign profile.........................................................................................................................21
export profiles........................................................................................................................23
unassign profile......................................................................................................................24
add enet-connection...............................................................................................................25
set enet-connection.................................................................................................................28
remove enet-connection...........................................................................................................31
add fc-connection...................................................................................................................32
set fc-connection.....................................................................................................................34
remove fc-connection...............................................................................................................36
add fcoe-connection...............................................................................................................37
set fcoe-connection.................................................................................................................39
Contents
3