HP Virtual Connect Enterprise Manager 6.3 CLI Guide

3 Using VCEM commands
This chapter describes VCEMCLI commands .
add profile
The -add profile command creates a profile from the supplied server profile description.
Syntax
-add profile <profileName>
-vcdomaingroup <vcDomainGroupName>
[-mactypeoverride <true|false>]
[-wwntypeoverride <true|false>]
[-sntypeoverride <true|false>]
Parameters
Table 3 Parameter descriptions for -add profile
OptionalRequiredDescriptionParameter
xUnique name of a newly
created server profile.
-profilename
xName of the VC Domain
Group to which the profile
is added.
-vcdomaingroup
xUses factory default MAC
addresses instead of
VCEM-provided settings for
Ethernet network connections
when creating the server
profile. Defaults to false.
-mactypeoverride
xUses factory default WWNs
instead of VCEM-provided
settings for FC SAN
connections when creating
the server profile. Defaults to
false.
-wwntypeoverride
xUses factory default serial
numbers instead of
VCEM-provided settings
when creating the server
profile. Defaults to false.
-sntypeoverride
Examples
Create a new profile and add it to the domain, using default connections and Virtual Connect
default serial numbers:
vcemcli -add profile -profilename MyNewProfile vcdomaingroup Group1
Create a new profile and use factory-default MACs for Ethernet connections:
vcemcli -add profile -profilename MyNewProfile2 mactypeoverride true vcdomaingroup Group1
Output
The function returns the result of the add operation or a jobid if nb is specified.
18 Using VCEM commands