Previous Topic: dpmzone-createpool Command--Create a Resource Pool (Funclet)Next Topic: dpmzone-createzone Command--Create a Zone (Funclet)


dpmzone-createproject Command--Create a Project (Funclet)

The dpmzone-createproject command creates a project in a zone.

This command has the following format:

dpmzone-createproject 
-host hostname -name zonename 
-user_id uid 
[-project_id pid] 
-proj_name pname
-host hostname

Specifies the Solaris Zones server. This parameter is case-sensitive.

-name zonename

Specifies the zone name.

-user_id uid

Specifies one of the users of the zone.

Example: root

-project_id pid

(Optional) Defines the project ID. You can assign the ID or let the system automatically generate one.

-proj_name pname

Defines the name of the new project.

Example

Create a project in a zone:

dpmzone-createproject -host SolarisServer2 -name myzone1 -user_id root 
-proj_name myProject