15 installadm help [\fIsubcommand\fR] |
14 installadm help [\fIsubcommand\fR] |
16 .fi |
15 .fi |
17 |
16 |
18 .LP |
17 .LP |
19 .nf |
18 .nf |
20 installadm create-service |
19 installadm create-service [-n|--service \fIsvcname\fR] |
21 [-n|--service \fIsvcname\fR] |
20 [-s|--source \fIsource\fR] |
22 [-t|--aliasof \fIexisting_service\fR] |
21 [-p|--publisher \fIpublisher\fR=\fIorigin\fR] |
23 [-p|--publisher \fIprefix\fR=\fIorigin\fR] |
|
24 [-a|--arch \fIarchitecture\fR] |
22 [-a|--arch \fIarchitecture\fR] |
25 [-s|--source \fIFMRI_or_ISO\fR] |
23 [-d|--imagepath \fIimagepath\fR] [-y|--noprompt] |
26 [-b|--boot-args \fIboot_property\fR=\fIvalue\fR,...] |
24 [-t|--aliasof \fIaliasof\fR] |
27 [-i|--ip-start \fIdhcp_ip_start\fR] |
25 [-i|--ip-start \fIstart\fR] [-c|--ip-count \fIcount\fR] |
28 [-c|--ip-count \fIcount_of_ipaddr\fR] |
26 [-b|--boot-args \fIproperty\fR=\fIvalue\fR,...] |
29 [-B|--bootfile-server \fIserver_ipaddr\fR] |
27 [-B|--bootfile-server \fIserver\fR] |
30 [-d|--imagepath \fIimagepath\fR] |
28 .fi |
31 [-y|--noprompt] |
29 |
32 .fi |
30 .LP |
33 |
31 .nf |
34 .LP |
32 installadm set-service -o|--option \fIproperty\fR=\fIvalue\fR \fIsvcname\fR |
35 .nf |
33 .fi |
36 installadm set-service |
34 |
37 -o|--option \fIprop\fR=\fIvalue\fR \fIsvcname\fR |
35 .LP |
|
36 .nf |
|
37 installadm update-service [-p|--publisher \fIpublisher\fR=\fIorigin\fR] |
|
38 [-s|--source \fIFMRI\fR] \fIsvcname\fR |
38 .fi |
39 .fi |
39 |
40 |
40 .LP |
41 .LP |
41 .nf |
42 .nf |
42 installadm rename-service \fIsvcname\fR \fInewsvcname\fR |
43 installadm rename-service \fIsvcname\fR \fInewsvcname\fR |
52 installadm disable \fIsvcname\fR |
53 installadm disable \fIsvcname\fR |
53 .fi |
54 .fi |
54 |
55 |
55 .LP |
56 .LP |
56 .nf |
57 .nf |
57 installadm delete-service |
58 installadm delete-service [-r|--autoremove] [-y|--noprompt] |
58 [-r|--autoremove] [-y|--noprompt] \fIsvcname\fR |
59 \fIsvcname\fR |
59 .fi |
60 .fi |
60 |
61 |
61 .LP |
62 .LP |
62 .nf |
63 .nf |
63 installadm list |
64 installadm list [-n|--service \fIsvcname\fR] [-c|--client] |
64 [-n|--service \fIsvcname\fR] |
65 [-m|--manifest] [-p|--profile] |
65 [-c|--client] [-m|--manifest] [-p|--profile] |
|
66 .fi |
66 .fi |
67 |
67 |
68 .LP |
68 .LP |
69 .nf |
69 .nf |
70 installadm create-manifest -n|--service \fIsvcname\fR |
70 installadm create-manifest -n|--service \fIsvcname\fR |
71 -f|--file \fImanifest_or_script_filename\fR |
71 -f|--file \fIfilename\fR [-m|--manifest \fImanifest\fR] |
72 [-m|--manifest \fImanifest_name\fR] |
72 [-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... | |
|
73 -C|--criteria-file \fIcriteriafile\fR] [-d|--default] |
|
74 .fi |
|
75 |
|
76 .LP |
|
77 .nf |
|
78 installadm update-manifest -n|--service \fIsvcname\fR |
|
79 -f|--file \fIfilename\fR [-m|--manifest \fImanifest\fR] |
|
80 .fi |
|
81 |
|
82 .LP |
|
83 .nf |
|
84 installadm delete-manifest -n|--service \fIsvcname\fR |
|
85 -m|--manifest \fImanifest\fR |
|
86 .fi |
|
87 |
|
88 .LP |
|
89 .nf |
|
90 installadm create-profile -n|--service \fIsvcname\fR |
|
91 -f|--file \fIfilename\fR... [-p|--profile \fIprofile\fR] |
73 [-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... | |
92 [-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... | |
74 -C|--criteria-file \fIcriteriafile\fR] |
93 -C|--criteria-file \fIcriteriafile\fR] |
75 [-d|--default] |
|
76 .fi |
|
77 |
|
78 .LP |
|
79 .nf |
|
80 installadm update-manifest -n|--service \fIsvcname\fR |
|
81 -f|--file \fImanifest_or_script_filename\fR |
|
82 [-m|--manifest \fImanifest_name\fR] |
|
83 .fi |
|
84 |
|
85 .LP |
|
86 .nf |
|
87 installadm delete-manifest |
|
88 -m|--manifest \fImanifest_name\fR |
|
89 -n|--service \fIsvcname\fR |
|
90 .fi |
|
91 |
|
92 .LP |
|
93 .nf |
|
94 installadm create-profile -n|--service \fIsvcname\fR |
|
95 -f|--file \fIprofile_filename\fR... |
|
96 [-p|--profile \fIprofile_name\fR] |
|
97 [-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... | |
|
98 -C|--criteria-file \fIcriteriafile\fR] |
|
99 .fi |
94 .fi |
100 |
95 |
101 .LP |
96 .LP |
102 .nf |
97 .nf |
103 installadm update-profile -n|--service \fIsvcname\fR |
98 installadm update-profile -n|--service \fIsvcname\fR |
104 -f|--file \fIprofile_filename\fR |
99 -f|--file \fIfilename\fR [-p|--profile \fIprofile\fR] |
105 [-p|--profile \fIprofile_name\fR] |
100 .fi |
106 .fi |
101 |
107 |
102 .LP |
108 .LP |
103 .nf |
109 .nf |
104 installadm delete-profile -n|--service \fIsvcname\fR |
110 installadm delete-profile -p|--profile \fIprofile_name\fR... |
105 -p|--profile \fIprofile\fR... |
111 -n|--service \fIsvcname\fR |
|
112 .fi |
106 .fi |
113 |
107 |
114 .LP |
108 .LP |
115 .nf |
109 .nf |
116 installadm export -n|--service \fIsvcname\fR |
110 installadm export -n|--service \fIsvcname\fR |
117 -m|--manifest \fImanifest_name\fR... |
111 -m|--manifest \fImanifest\fR... -p|--profile \fIprofile\fR... |
118 -p|--profile \fIprofile_name\fR... |
|
119 [-o|--output \fIpathname\fR] |
112 [-o|--output \fIpathname\fR] |
120 .fi |
113 .fi |
121 |
114 |
122 .LP |
115 .LP |
123 .nf |
116 .nf |
124 installadm validate -n|--service \fIsvcname\fR |
117 installadm validate -n|--service \fIsvcname\fR |
125 -P|--profile-file \fIprofile_filename\fR... | |
118 -P|--profile-file \fIfilename\fR... | -p|--profile \fIprofile\fR... |
126 -p|--profile \fIprofile_name\fR... |
119 .fi |
127 .fi |
120 |
128 |
121 .LP |
129 .LP |
122 .nf |
130 .nf |
123 installadm set-criteria -n|--service \fIsvcname\fR |
131 installadm set-criteria |
124 -m|--manifest \fImanifest\fR -p|--profile \fIprofile\fR... |
132 -m|--manifest \fImanifest_name\fR |
|
133 -p|--profile \fIprofile_name\fR... |
|
134 -n|--service \fIsvcname\fR |
|
135 -c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... | |
125 -c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... | |
136 -C|--criteria-file \fIcriteriafile\fR | |
126 -C|--criteria-file \fIcriteriafile\fR | |
137 -a|--append-criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... |
127 -a|--append-criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... |
138 .fi |
128 .fi |
139 |
129 |
140 .LP |
130 .LP |
141 .nf |
131 .nf |
142 installadm create-client |
132 installadm create-client -n|--service \fIsvcname\fR |
143 [-b|--boot-args \fIproperty\fR=\fIvalue\fR,...] |
133 [-b|--boot-args \fIproperty\fR=\fIvalue\fR,...] -e|--macaddr \fImacaddr\fR |
144 -e|--macaddr \fImacaddr\fR -n|--service \fIsvcname\fR |
|
145 .fi |
134 .fi |
146 |
135 |
147 .LP |
136 .LP |
148 .nf |
137 .nf |
149 installadm delete-client \fImacaddr\fR |
138 installadm delete-client \fImacaddr\fR |
412 .RE |
450 .RE |
413 .sp |
451 .sp |
414 .ne 2 |
452 .ne 2 |
415 .mk |
453 .mk |
416 .na |
454 .na |
417 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
455 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
418 .ad |
456 .ad |
419 .sp .6 |
457 .sp .6 |
420 .RS 4n |
458 .RS 4n |
421 Optional: Uses this install service name instead of a system-generated service name. The \fIsvcname\fR can consist of alphanumeric characters, underscores (\fB_\fR), and hyphens (\fB-\fR). The first character of \fIsvcname\fR cannot be a hyphen. |
459 Optional: Uses this install service name instead of a system-generated service name. The \fIsvcname\fR can consist of alphanumeric characters, underscores (\fB_\fR), and hyphens (\fB-\fR). The first character of \fIsvcname\fR cannot be a hyphen. The length of the \fIsvcname\fR cannot exceed 63 characters. |
422 .sp |
460 .sp |
423 If the \fB-n\fR option is not specified, a service name is generated automatically. |
461 If the \fB-n\fR option is not specified, a service name is generated automatically. The default name includes architecture and OS version information. |
424 .RE |
462 .RE |
425 |
463 |
426 .sp |
464 .sp |
427 .ne 2 |
465 .ne 2 |
428 .mk |
466 .mk |
429 .na |
467 .na |
430 \fB\fB\fB-t\fR|\fB--aliasof\fR \fIexisting_service\fR\fR\fR |
468 \fB\fB-s|--source \fIsource\fR\fR\fR |
431 .ad |
|
432 .sp .6 |
|
433 .RS 4n |
|
434 Optional: This new service is an alternate name for \fIexisting_service\fR. |
|
435 .RE |
|
436 |
|
437 .sp |
|
438 .ne 2 |
|
439 .mk |
|
440 .na |
|
441 \fB\fB\fB-a\fR|\fB--arch\fR \fIarchitecture\fR\fR\fR |
|
442 .ad |
|
443 .sp .6 |
|
444 .RS 4n |
|
445 Optional: Selects a specific variant architecture. Legal values are \fBi386\fR or \fBsparc\fR. If not specified, the variant corresponding to the server's architecture is selected. |
|
446 .sp |
|
447 The \fB-a\fR option only applies when the \fB-s\fR argument is a \fBpkg\fR(5) package. |
|
448 .RE |
|
449 |
|
450 .sp |
|
451 .ne 2 |
|
452 .mk |
|
453 .na |
|
454 \fB\fB\fB-p\fR|\fB--publisher\fR \fIprefix\fR=\fIorigin\fR\fR\fR |
|
455 .ad |
|
456 .sp .6 |
|
457 .RS 4n |
|
458 Optional: A \fBpkg\fR(5) publisher, in the form \fIprefix\fR=\fIorigin\fR, from which to install the client image. |
|
459 .sp |
|
460 If the \fB-p\fR option is not specified, then the first publisher in the system's publisher preference list that provides an instance of the package is used. |
|
461 .RE |
|
462 |
|
463 .sp |
|
464 .ne 2 |
|
465 .mk |
|
466 .na |
|
467 \fB\fB\fB-s\fR|\fB--source\fR \fIFMRI_or_ISO\fR\fR\fR |
|
468 .ad |
469 .ad |
469 .sp .6 |
470 .sp .6 |
470 .RS 4n |
471 .RS 4n |
471 Optional: Specifies the data source for the net image. This can be either of: |
472 Optional: Specifies the data source for the net image. This can be either of: |
472 .RS +4 |
473 .RS +4 |
473 .TP |
474 .TP |
474 .ie t \(bu |
475 .ie t \(bu |
475 .el o |
476 .el o |
476 The full FMRI of a \fBpkg\fR(5) package. |
477 The FMRI of an IPS AI net image package. This is the default. If the \fB-s\fR option is not specified, the newest available version of the \fBinstall-image/solaris-auto-install\fR package is used. The package is retrieved from the publisher specified by the \fB-p\fR option or from the first publisher in the install server's publisher preference list that provides an instance of the package. |
477 .RE |
478 .RE |
478 .RS +4 |
479 .RS +4 |
479 .TP |
480 .TP |
480 .ie t \(bu |
481 .ie t \(bu |
481 .el o |
482 .el o |
482 The path to an AI ISO image. |
483 The path to an AI ISO image. |
483 .RE |
484 .RE |
484 .sp |
485 .RE |
485 .LP |
486 |
486 If \fB-s\fR is not specified, the \fBinstall-image/solaris-auto-install\fR package used is from either of: |
487 .sp |
487 .RS +4 |
488 .ne 2 |
488 .TP |
489 .mk |
489 .ie t \(bu |
490 .na |
490 .el o |
491 \fB\fB-p|--publisher \fIpublisher\fR=\fIorigin\fR\fR\fR |
491 The publisher specified with the \fB-p\fR parameter. |
492 .ad |
492 .RE |
493 .sp .6 |
493 .RS +4 |
494 .RS 4n |
494 .TP |
495 Optional: Only applies when the service is being created from an IPS package. Specifies the IPS package repository from where you want to retrieve the \fBinstall-image/solaris-auto-install\fR package. An example is \fBsolaris=http://pkg.oracle.com/solaris/release/\fR. |
495 .ie t \(bu |
496 .sp |
496 .el o |
497 If the \fB-p\fR option is not specified, the publisher used is the first publisher in the install server's publisher preference list that provides an instance of the package. |
497 The first publisher in the system's publisher preference list that provides an instance of that package. |
498 .RE |
498 .RE |
499 |
499 .RE |
500 .sp |
500 |
501 .ne 2 |
501 .sp |
502 .mk |
502 .ne 2 |
503 .na |
503 .mk |
504 \fB\fB-a|--arch \fIarchitecture\fR\fR\fR |
504 .na |
505 .ad |
505 \fB\fB\fB-b\fR|\fB--boot-args\fR \fIboot_property\fR=\fIvalue\fR,...\fR\fR |
506 .sp .6 |
506 .ad |
507 .RS 4n |
507 .sp .6 |
508 Optional: Only applies when the service is being created from an IPS package. Specifies the architecture of the clients to be installed with this service. The value can be either \fBi386\fR or \fBsparc\fR. The default is the architecture of the install server. |
508 .RS 4n |
509 .RE |
509 Optional: For x86 clients only. Sets a property value in the service-specific \fBmenu.lst\fR file in the service image. Use this option to set boot properties that are specific to this service. This option can accept multiple comma-separated \fIboot_property\fR=\fIvalue\fR pairs. |
510 |
510 .RE |
511 .sp |
511 |
512 .ne 2 |
512 .sp |
513 .mk |
513 .ne 2 |
514 .na |
514 .mk |
515 \fB\fB-d|--imagepath \fIimagepath\fR\fR\fR |
515 .na |
516 .ad |
516 \fB\fB\fB-i\fR|\fB--ip-start\fR \fIdhcp_ip_start\fR\fR\fR |
517 .sp .6 |
517 .ad |
518 .RS 4n |
518 .sp .6 |
519 Optional: Specifies the path at which to create the net image. If not specified, the image is created in a \fIsvcname\fR directory at the location defined by the value of the \fBall_services/default_imagepath_basedir\fR property. For the default value of this property, see "Install Server Configuration Properties." A confirmation prompt is displayed unless \fB-y\fR is also specified. |
519 .RS 4n |
520 .RE |
520 Optional: Specifies the starting IP address in a range to be added to the local DHCP configuration. The number of IP addresses is provided by the \fB-c\fR option. If a local ISC DHCP configuration does not exist, an ISC DHCP server is started. |
521 |
521 .RE |
522 .sp |
522 |
523 .ne 2 |
523 .sp |
524 .mk |
524 .ne 2 |
525 .na |
525 .mk |
526 \fB\fB-y|--noprompt\fR\fR |
526 .na |
527 .ad |
527 \fB\fB\fB-c\fR|\fB--ip-count\fR \fIcount_of_ipaddr\fR\fR\fR |
528 .sp .6 |
528 .ad |
529 .RS 4n |
529 .sp .6 |
530 Optional: Suppresses any confirmation prompts and proceeds with service creation using the supplied options and any default values (see \fB-d\fR). |
530 .RS 4n |
531 .RE |
531 Optional: Sets up a total number of IP addresses in the DHCP configuration equal to the value of the \fIcount_of_ipaddr\fR. The first IP address is the value of \fIdhcp_ip_start\fR that is provided by the \fB-i\fR option. |
532 |
532 .RE |
533 .sp |
533 |
534 .ne 2 |
534 .sp |
535 .mk |
535 .ne 2 |
536 .na |
536 .mk |
537 \fB\fB-t|--aliasof \fIaliasof\fR\fR\fR |
537 .na |
538 .ad |
538 \fB\fB\fB-B\fR|\fB--bootfile-server\fR \fIserver_ipaddr\fR\fR\fR |
539 .sp .6 |
|
540 .RS 4n |
|
541 Optional: This new service is an alternate name for the \fIaliasof\fR install service. |
|
542 .RE |
|
543 |
|
544 .sp |
|
545 .ne 2 |
|
546 .mk |
|
547 .na |
|
548 \fB\fB-i|--ip-start \fIstart\fR\fR\fR |
|
549 .ad |
|
550 .sp .6 |
|
551 .RS 4n |
|
552 Optional: Specifies the starting IP address in a range to be added to the local DHCP configuration. The number of IP addresses is provided by the \fB-c\fR option. If a local ISC DHCP configuration does not exist, an ISC DHCP server is started if the value of \fBall_services/manage_dhcp\fR is \fBtrue\fR. |
|
553 .RE |
|
554 |
|
555 .sp |
|
556 .ne 2 |
|
557 .mk |
|
558 .na |
|
559 \fB\fB-c|--ip-count \fIcount\fR\fR\fR |
|
560 .ad |
|
561 .sp .6 |
|
562 .RS 4n |
|
563 Optional: Sets up a total number of IP addresses in the DHCP configuration equal to the value of the \fIcount\fR. The first IP address is the value of \fIstart\fR that is provided by the \fB-i\fR option. |
|
564 .RE |
|
565 |
|
566 .sp |
|
567 .ne 2 |
|
568 .mk |
|
569 .na |
|
570 \fB\fB-b|--boot-args \fIproperty\fR=\fIvalue\fR,...\fR\fR |
|
571 .ad |
|
572 .sp .6 |
|
573 .RS 4n |
|
574 Optional: For x86 clients only. Sets a property value in the service-specific boot configuration file in the service image. Use this option to set boot properties that are specific to this service. This option can accept multiple comma-separated \fIproperty\fR=\fIvalue\fR pairs. |
|
575 .RE |
|
576 |
|
577 .sp |
|
578 .ne 2 |
|
579 .mk |
|
580 .na |
|
581 \fB\fB-B|--bootfile-server \fIserver\fR\fR\fR |
539 .ad |
582 .ad |
540 .sp .6 |
583 .sp .6 |
541 .RS 4n |
584 .RS 4n |
542 Optional: Used to provide the IP address of the boot server from which clients should request bootfiles. Only required if this IP address cannot be determined by other means. |
585 Optional: Used to provide the IP address of the boot server from which clients should request bootfiles. Only required if this IP address cannot be determined by other means. |
543 .RE |
586 .RE |
544 |
587 |
545 .sp |
588 .RE |
546 .ne 2 |
589 |
547 .mk |
590 .sp |
548 .na |
591 .ne 2 |
549 \fB\fB\fB-d\fR|\fB--imagepath\fR \fIimagepath\fR\fR\fR |
592 .mk |
550 .ad |
593 .na |
551 .sp .6 |
594 \fB\fBinstalladm set-service -o|--option \fIproperty\fR=\fIvalue\fR \fIsvcname\fR\fR\fR |
552 .RS 4n |
595 .ad |
553 Optional: Specifies the path at which to create the net image. If not specified, the image is created in a \fIsvcname\fR directory at the location defined by the value of the \fBall_services/default_imagepath_basedir\fR property. For the default value of this property, see "Install Server Configuration Properties." A confirmation prompt is displayed unless \fB-y\fR is also specified. |
596 .sp .6 |
554 .RE |
597 .RS 4n |
555 |
598 .sp |
556 .sp |
599 .ne 2 |
557 .ne 2 |
600 .mk |
558 .mk |
601 .na |
559 .na |
602 \fB\fB-o|--option \fIproperty\fR=\fIvalue\fR\fR\fR |
560 \fB\fB\fB-y\fR|\fB--noprompt\fR\fR\fR |
|
561 .ad |
|
562 .sp .6 |
|
563 .RS 4n |
|
564 Optional: Suppresses any confirmation prompts and proceeds with service creation using the supplied options and any default values (see \fB-d\fR). |
|
565 .RE |
|
566 |
|
567 .RE |
|
568 |
|
569 .sp |
|
570 .ne 2 |
|
571 .mk |
|
572 .na |
|
573 \fB\fBset-service \fB-o\fR|\fB--option\fR \fIprop\fR=\fIvalue\fR \fIsvcname\fR\fR\fR |
|
574 .ad |
|
575 .sp .6 |
|
576 .RS 4n |
|
577 .sp |
|
578 .ne 2 |
|
579 .mk |
|
580 .na |
|
581 \fB\fB\fB-o\fR|\fB--option\fR \fIprop\fR=\fIvalue\fR\fR\fR |
|
582 .ad |
603 .ad |
583 .sp .6 |
604 .sp .6 |
584 .RS 4n |
605 .RS 4n |
585 Specifies the property and value to set. |
606 Specifies the property and value to set. |
586 .sp |
607 .sp |
587 .LP |
608 .LP |
588 \fB\fIprop\fR=\fIvalue\fR\fR can be: |
609 \fB\fIproperty\fR=\fIvalue\fR\fR can be: |
589 .RS +4 |
610 .RS +4 |
590 .TP |
611 .TP |
591 .ie t \(bu |
612 .ie t \(bu |
592 .el o |
613 .el o |
593 \fBaliasof=\fIexisting_service\fR\fR |
614 \fBaliasof=\fIaliasof\fR\fR |
594 .sp |
615 .sp |
595 Makes \fIsvcname\fR an alias of \fIexisting_service\fR. |
616 Makes \fIsvcname\fR an alias of the \fIaliasof\fR install service. |
596 .RE |
617 .RE |
597 .RS +4 |
618 .RS +4 |
598 .TP |
619 .TP |
599 .ie t \(bu |
620 .ie t \(bu |
600 .el o |
621 .el o |
601 \fBimagepath=\fInewpath\fR\fR |
622 \fBimagepath=\fInewpath\fR\fR |
602 .sp |
623 .sp |
603 Relocates the service's imagepath after the service has been created. |
624 Relocates the \fBimagepath\fR of an existing service. |
604 .RE |
625 .RE |
605 .RS +4 |
626 .RS +4 |
606 .TP |
627 .TP |
607 .ie t \(bu |
628 .ie t \(bu |
608 .el o |
629 .el o |
609 \fBdefault-manifest=\fImanifest_name\fR\fR |
630 \fBdefault-manifest=\fImanifest\fR\fR |
610 .sp |
631 .sp |
611 Designates a particular manifest or script that is already registered with a given service to be the default manifest or script for that service. Use the following command to show a list of manifests and scripts registered with this service. |
632 Designates a particular manifest or derived manifests script that is already registered with the specified service to be the default manifest or script for that service. Use the \fBinstalladm list\fR command to show a list of manifests and scripts registered with this service. |
612 .sp |
633 .sp |
613 .in +2 |
634 .in +2 |
614 .nf |
635 .nf |
615 $ \fBinstalladm list -n \fIsvcname\fR -m\fR |
636 $ \fBinstalladm list -n \fIsvcname\fR -m\fR |
616 .fi |
637 .fi |
635 |
656 |
636 .sp |
657 .sp |
637 .ne 2 |
658 .ne 2 |
638 .mk |
659 .mk |
639 .na |
660 .na |
640 \fB\fBrename-service \fIsvcname\fR \fInewsvcname\fR\fR\fR |
661 \fB\fBinstalladm update-service [-p|--publisher \fIpublisher\fR=\fIorigin\fR]\fR\fR |
641 .ad |
662 .ad |
642 .sp .6 |
663 .br |
643 .RS 4n |
664 .na |
644 Renames the install service \fIsvcname\fR to \fInewsvcname\fR. The \fInewsvcname\fR can consist of alphanumeric characters, underscores (\fB_\fR), and hyphens (\fB-\fR). The first character of \fInewsvcname\fR cannot be a hyphen. |
665 \fB\fB[-s|--source \fIFMRI\fR] \fIsvcname\fR\fR\fR |
645 .RE |
666 .ad |
646 |
667 .sp .6 |
647 .sp |
668 .RS 4n |
648 .ne 2 |
669 Updates the image associated with \fIsvcname\fR, where \fIsvcname\fR is an alias of a service that was created using an IPS AI net image package. A new service is created with the updated image, and \fIsvcname\fR is aliased to the new service. |
649 .mk |
670 .sp |
650 .na |
671 .ne 2 |
651 \fB\fBenable \fIsvcname\fR\fR\fR |
672 .mk |
|
673 .na |
|
674 \fB\fB-p|--publisher \fIpublisher\fR=\fIorigin\fR\fR\fR |
|
675 .ad |
|
676 .sp .6 |
|
677 .RS 4n |
|
678 The IPS package repository from which to update the \fIsvcname\fR image. An example value is \fBsolaris=http://pkg.oracle.com/solaris/release/\fR. |
|
679 .sp |
|
680 If the \fB-p\fR option is not specified, the publisher used is the publisher that was used to create the image of the service for which \fIsvcname\fR is an alias. The following \fBpkg publisher\fR command shows how to display the \fIsvcname\fR publisher: |
|
681 .sp |
|
682 .in +2 |
|
683 .nf |
|
684 $ \fBinstalladm list\fR |
|
685 Service Name Alias Of Status Arch Image Path |
|
686 ------------ -------- ------ ---- ---------- |
|
687 default-i386 solaris11_1-i386 on i386 /export/auto_install/solaris11_1-i386 |
|
688 solaris11_1-i386 - on i386 /export/auto_install/solaris11_1-i386 |
|
689 $ \fBpkg -R /export/auto_install/solaris11_1-i386 publisher\fR |
|
690 PUBLISHER TYPE STATUS URI |
|
691 solaris origin online http://pkg.oracle.com/solaris/release/ |
|
692 .fi |
|
693 .in -2 |
|
694 .sp |
|
695 |
|
696 .RE |
|
697 |
|
698 .sp |
|
699 .ne 2 |
|
700 .mk |
|
701 .na |
|
702 \fB\fB-s|--source \fIFMRI\fR\fR\fR |
|
703 .ad |
|
704 .sp .6 |
|
705 .RS 4n |
|
706 The FMRI of the net image package for the update. |
|
707 .sp |
|
708 If the \fB-s\fR option is not specified, the newest available version of the \fBinstall-image/solaris-auto-install\fR package is used from the publisher specified in the description of the \fB-p\fR option. |
|
709 .RE |
|
710 |
|
711 .sp |
|
712 .ne 2 |
|
713 .mk |
|
714 .na |
|
715 \fB\fB\fIsvcname\fR\fR\fR |
|
716 .ad |
|
717 .sp .6 |
|
718 .RS 4n |
|
719 Required: Specifies the name of the install service being updated, which must be an alias of a service that was created using an IPS net image package. |
|
720 .RE |
|
721 |
|
722 .RE |
|
723 |
|
724 .sp |
|
725 .ne 2 |
|
726 .mk |
|
727 .na |
|
728 \fB\fBinstalladm rename-service \fIsvcname\fR \fInewsvcname\fR\fR\fR |
|
729 .ad |
|
730 .sp .6 |
|
731 .RS 4n |
|
732 Renames the install service \fIsvcname\fR to \fInewsvcname\fR. The \fInewsvcname\fR can consist of alphanumeric characters, underscores (\fB_\fR), and hyphens (\fB-\fR). The first character of \fInewsvcname\fR cannot be a hyphen. The length of the \fInewsvcname\fR cannot exceed 63 characters. |
|
733 .RE |
|
734 |
|
735 .sp |
|
736 .ne 2 |
|
737 .mk |
|
738 .na |
|
739 \fB\fBinstalladm enable \fIsvcname\fR\fR\fR |
652 .ad |
740 .ad |
653 .sp .6 |
741 .sp .6 |
654 .RS 4n |
742 .RS 4n |
655 Enables the \fIsvcname\fR install service. |
743 Enables the \fIsvcname\fR install service. |
656 .RE |
744 .RE |
657 |
745 |
658 .sp |
746 .sp |
659 .ne 2 |
747 .ne 2 |
660 .mk |
748 .mk |
661 .na |
749 .na |
662 \fB\fBdisable \fIsvcname\fR\fR\fR |
750 \fB\fBinstalladm disable \fIsvcname\fR\fR\fR |
663 .ad |
751 .ad |
664 .sp .6 |
752 .sp .6 |
665 .RS 4n |
753 .RS 4n |
666 Disables the \fIsvcname\fR install service. |
754 Disables the \fIsvcname\fR install service. |
667 .RE |
755 .RE |
668 |
756 |
669 .sp |
757 .sp |
670 .ne 2 |
758 .ne 2 |
671 .mk |
759 .mk |
672 .na |
760 .na |
673 \fB\fBdelete-service [\fB-r\fR|\fB--autoremove\fR] [\fB-y\fR|\fB--noprompt\fR] \fIsvcname\fR\fR\fR |
761 \fB\fBinstalladm delete-service [-r|--autoremove] [-y|--noprompt]\fR\fR |
674 .ad |
762 .ad |
675 .sp .6 |
763 .br |
676 .RS 4n |
764 .na |
677 Deletes an install service. Accomplishes the following: |
765 \fB\fB\fIsvcname\fR\fR\fR |
|
766 .ad |
|
767 .sp .6 |
|
768 .RS 4n |
|
769 Deletes an install service. |
678 .RS +4 |
770 .RS +4 |
679 .TP |
771 .TP |
680 .ie t \(bu |
772 .ie t \(bu |
681 .el o |
773 .el o |
682 Deletes the manifests, profiles, client configuration files, and web server configuration for this install service. |
774 Deletes the manifests, profiles, client configuration files, and web server configuration for this install service. |
811 |
925 |
812 .sp |
926 .sp |
813 .ne 2 |
927 .ne 2 |
814 .mk |
928 .mk |
815 .na |
929 .na |
816 \fB\fBcreate-manifest \fB-n\fR|\fB--service\fR \fIsvcname\fR \fB-f\fR|\fB--file\fR \fImanifest_or_script_filename\fR [\fB-m\fR|\fB--manifest\fR \fImanifest_name\fR] [\fB-c\fR|\fB--criteria\fR \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... | \fB-C\fR|\fB--criteria-file\fR \fIcriteriafile\fR] [\fB-d\fR|\fB--default\fR]\fR\fR |
930 \fB\fBinstalladm create-manifest -n|--service \fIsvcname\fR\fR\fR |
817 .ad |
931 .ad |
818 .sp .6 |
932 .br |
819 .RS 4n |
933 .na |
820 Creates a manifest or script for a specific install service, thus making the manifest or script available on the network, independently from creating a service. A non-default manifest or script can be used (can be active) only when criteria are associated with it. Criteria can be entered on the command line (\fB-c\fR) or via a criteria XML file (\fB-C\fR). Any criteria specified along with the \fB-d\fR option are temporarily ignored until the manifest or script is no longer designated as the default. |
934 \fB\fB-f|--file \fIfilename\fR [-m|--manifest \fImanifest\fR]\fR\fR |
|
935 .ad |
|
936 .br |
|
937 .na |
|
938 \fB\fB[-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... |\fR\fR |
|
939 .ad |
|
940 .br |
|
941 .na |
|
942 \fB\fB-C|--criteria-file \fIcriteriafile\fR] [-d|--default]\fR\fR |
|
943 .ad |
|
944 .sp .6 |
|
945 .RS 4n |
|
946 Creates a manifest or derived manifests script for a specific install service, thus making the manifest or script available on the network, independently from creating a service. A non-default manifest or script can be used (can be active) only when criteria are associated with it. Criteria can be entered on the command line (\fB-c\fR) or in a criteria XML file (\fB-C\fR). Any criteria specified along with the \fB-d\fR option are temporarily ignored until the manifest or script is no longer designated as the default. |
821 .sp |
947 .sp |
822 .LP |
948 .LP |
823 The name of the manifest is determined in the following order: |
949 The name of the manifest is determined in the following order: |
824 .RS +4 |
950 .RS +4 |
825 .TP |
951 .TP |
826 1. |
952 1. |
827 The \fImanifest_name\fR specified by the \fB-m\fR option, if present. |
953 The \fImanifest\fR name specified by the \fB-m\fR option, if present. |
828 .RE |
954 .RE |
829 .RS +4 |
955 .RS +4 |
830 .TP |
956 .TP |
831 2. |
957 2. |
832 The value of the \fBai_instance\fR \fBname\fR attribute, if present in the manifest. |
958 The value of the \fBai_instance\fR \fBname\fR attribute, if present in the manifest. |
833 .RE |
959 .RE |
834 .RS +4 |
960 .RS +4 |
835 .TP |
961 .TP |
836 3. |
962 3. |
837 The base name of the manifest or script file name. |
963 The base name of the \fIfilename\fR. |
838 .RE |
964 .RE |
839 .sp |
965 .sp |
840 .ne 2 |
966 .ne 2 |
841 .mk |
967 .mk |
842 .na |
968 .na |
843 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
969 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
844 .ad |
970 .ad |
845 .sp .6 |
971 .sp .6 |
846 .RS 4n |
972 .RS 4n |
847 Required: Specifies the name of the install service this manifest or script is to be associated with. |
973 Required: Specifies the name of the install service this manifest or script is to be associated with. |
848 .RE |
974 .RE |
849 |
975 |
850 .sp |
976 .sp |
851 .ne 2 |
977 .ne 2 |
852 .mk |
978 .mk |
853 .na |
979 .na |
854 \fB\fB\fB-f\fR|\fB--file\fR \fImanifest_or_script_filename\fR\fR\fR |
980 \fB\fB-f|--file \fIfilename\fR\fR\fR |
855 .ad |
981 .ad |
856 .sp .6 |
982 .sp .6 |
857 .RS 4n |
983 .RS 4n |
858 Required: Specifies the path name of the manifest or script to add. |
984 Required: Specifies the path name of the manifest or derived manifests script to add. |
859 .RE |
985 .RE |
860 |
986 |
861 .sp |
987 .sp |
862 .ne 2 |
988 .ne 2 |
863 .mk |
989 .mk |
864 .na |
990 .na |
865 \fB\fB\fB-m\fR|\fB--manifest\fR \fImanifest_name\fR\fR\fR |
991 \fB\fB-m|--manifest \fImanifest\fR\fR\fR |
866 .ad |
992 .ad |
867 .sp .6 |
993 .sp .6 |
868 .RS 4n |
994 .RS 4n |
869 Optional: Specifies the AI instance name of the manifest or script. Sets the \fBname\fR attribute of the \fBai_instance\fR element of the manifest to \fImanifest_name\fR. The manifest or script is referred to by \fImanifest_name\fR in subsequent \fBinstalladm\fR commands and \fBinstalladm list\fR output. |
995 Optional: Specifies the AI instance name of the manifest or derived manifests script. Sets the \fBname\fR attribute of the \fBai_instance\fR element of the manifest to \fImanifest\fR. The manifest or script is referred to as \fImanifest\fR in subsequent \fBinstalladm\fR commands and \fBinstalladm list\fR output. |
870 .RE |
996 .RE |
871 |
997 |
872 .sp |
998 .sp |
873 .ne 2 |
999 .ne 2 |
874 .mk |
1000 .mk |
875 .na |
1001 .na |
876 \fB\fB\fB-c\fR|\fB--criteria\fR \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
1002 \fB\fB-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
877 .ad |
1003 .ad |
878 .sp .6 |
1004 .sp .6 |
879 .RS 4n |
1005 .RS 4n |
880 Optional: Specifies criteria to be associated with the added manifest or script. See the "Criteria" section below. When publishing a default manifest, criteria are registered but kept inactive until the manifest or script is no longer designated the default. The \fB-c\fR option can be specified multiple times. |
1006 Optional: Specifies criteria to be associated with the added manifest or script. See the "Criteria" section below. When publishing a default manifest, criteria are registered but kept inactive until the manifest or script is no longer designated the default. The \fB-c\fR option can be specified multiple times. |
881 .RE |
1007 .RE |
882 |
1008 |
883 .sp |
1009 .sp |
884 .ne 2 |
1010 .ne 2 |
885 .mk |
1011 .mk |
886 .na |
1012 .na |
887 \fB\fB\fB-C\fR|\fB--criteria-file\fR \fIcriteriafile\fR\fR\fR |
1013 \fB\fB-C|--criteria-file \fIcriteriafile\fR\fR\fR |
888 .ad |
1014 .ad |
889 .sp .6 |
1015 .sp .6 |
890 .RS 4n |
1016 .RS 4n |
891 Optional: Specifies the path name of a criteria XML file containing criteria to be associated with the added manifest or script. When publishing a default manifest or script, criteria are registered but kept inactive until the manifest or script is no longer designated the default. |
1017 Optional: Specifies the path name of a criteria XML file containing criteria to be associated with the added manifest or script. When publishing a default manifest or script, criteria are registered but kept inactive until the manifest or script is no longer designated the default. |
892 .RE |
1018 .RE |
893 |
1019 |
894 .sp |
1020 .sp |
895 .ne 2 |
1021 .ne 2 |
896 .mk |
1022 .mk |
897 .na |
1023 .na |
898 \fB\fB\fB-d\fR|\fB--default\fR\fR\fR |
1024 \fB\fB-d|--default\fR\fR |
899 .ad |
1025 .ad |
900 .sp .6 |
1026 .sp .6 |
901 .RS 4n |
1027 .RS 4n |
902 Optional: Specifies that this manifest or script is the new default manifest or script for the service. Any criteria specified are stored, but these criteria are ignored until a different manifest or script is made the default. |
1028 Optional: Specifies that this manifest or script is the new default manifest or script for the service. Any criteria specified are stored, but these criteria are ignored until a different manifest or script is made the default. |
903 .RE |
1029 .RE |
906 |
1032 |
907 .sp |
1033 .sp |
908 .ne 2 |
1034 .ne 2 |
909 .mk |
1035 .mk |
910 .na |
1036 .na |
911 \fB\fBupdate-manifest \fB-n\fR|\fB--service\fR \fIsvcname\fR \fB-f\fR|\fB--file\fR \fImanifest_or_script_filename\fR [\fB-m\fR|\fB--manifest\fR \fImanifest_name\fR]\fR\fR |
1037 \fB\fBinstalladm update-manifest -n|--service \fIsvcname\fR\fR\fR |
912 .ad |
1038 .ad |
913 .sp .6 |
1039 .br |
914 .RS 4n |
1040 .na |
915 Updates the specific manifest or script from the \fIsvcname\fR install service. Replaces the specified manifest or script with the contents of \fImanifest_or_script_filename\fR. Any criteria or default status remain with the manifest or script following the update. |
1041 \fB\fB-f|--file \fIfilename\fR [-m|--manifest \fImanifest\fR]\fR\fR |
|
1042 .ad |
|
1043 .sp .6 |
|
1044 .RS 4n |
|
1045 Updates the specific manifest or derived manifests script from the \fIsvcname\fR install service. Replaces the specified manifest or script with the contents of \fIfilename\fR. Any criteria or default status remain with the manifest or script following the update. |
916 .sp |
1046 .sp |
917 .LP |
1047 .LP |
918 The name of the manifest is determined in the following order: |
1048 The name of the manifest is determined in the following order: |
919 .RS +4 |
1049 .RS +4 |
920 .TP |
1050 .TP |
921 1. |
1051 1. |
922 The \fImanifest_name\fR specified by the \fB-m\fR option, if present. |
1052 The \fImanifest\fR specified by the \fB-m\fR option, if present. |
923 .RE |
1053 .RE |
924 .RS +4 |
1054 .RS +4 |
925 .TP |
1055 .TP |
926 2. |
1056 2. |
927 The value of the \fBai_instance\fR \fBname\fR attribute, if present in the changed manifest and if it matches the \fBai_instance\fR \fBname\fR value of an existing manifest. |
1057 The value of the \fBai_instance\fR \fBname\fR attribute, if present in the changed manifest and if it matches the \fBai_instance\fR \fBname\fR value of an existing manifest. |
928 .RE |
1058 .RE |
929 .RS +4 |
1059 .RS +4 |
930 .TP |
1060 .TP |
931 3. |
1061 3. |
932 The base name of the manifest or script file name, if it matches the \fBai_instance\fR \fBname\fR attribute value in an existing manifest, or the name given by \fBinstalladm list\fR if it matches the name of an existing script. |
1062 The base name of the \fIfilename\fR, if it matches the \fBai_instance\fR \fBname\fR attribute value in an existing manifest, or the name given by \fBinstalladm list\fR if it matches the name of an existing script. |
933 .RE |
1063 .RE |
934 .sp |
1064 .sp |
935 .ne 2 |
1065 .ne 2 |
936 .mk |
1066 .mk |
937 .na |
1067 .na |
938 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1068 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
939 .ad |
1069 .ad |
940 .sp .6 |
1070 .sp .6 |
941 .RS 4n |
1071 .RS 4n |
942 Required: Specifies the name of the install service this manifest or script is to be associated with. |
1072 Required: Specifies the name of the install service of the manifest or script being updated. |
943 .RE |
1073 .RE |
944 |
1074 |
945 .sp |
1075 .sp |
946 .ne 2 |
1076 .ne 2 |
947 .mk |
1077 .mk |
948 .na |
1078 .na |
949 \fB\fB\fB-f\fR|\fB--file\fR \fImanifest_or_script_filename\fR\fR\fR |
1079 \fB\fB-f|--file \fIfilename\fR\fR\fR |
950 .ad |
1080 .ad |
951 .sp .6 |
1081 .sp .6 |
952 .RS 4n |
1082 .RS 4n |
953 Required: Specifies the path name of the replacement manifest or script. |
1083 Required: Specifies the path name of the replacement manifest or derived manifests script. |
954 .RE |
1084 .RE |
955 |
1085 |
956 .sp |
1086 .sp |
957 .ne 2 |
1087 .ne 2 |
958 .mk |
1088 .mk |
959 .na |
1089 .na |
960 \fB\fB\fB-m\fR|\fB--manifest\fR \fImanifest_name\fR\fR\fR |
1090 \fB\fB-m|--manifest \fImanifest\fR\fR\fR |
961 .ad |
1091 .ad |
962 .sp .6 |
1092 .sp .6 |
963 .RS 4n |
1093 .RS 4n |
964 Optional: Specifies the AI instance name of the replacement manifest or script. |
1094 Optional: Specifies the AI instance name of the replacement manifest or script. |
965 .RE |
1095 .RE |
968 |
1098 |
969 .sp |
1099 .sp |
970 .ne 2 |
1100 .ne 2 |
971 .mk |
1101 .mk |
972 .na |
1102 .na |
973 \fB\fBdelete-manifest \fB-m\fR|\fB--manifest\fR \fImanifest_name\fR \fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1103 \fB\fBinstalladm delete-manifest -n|--service \fIsvcname\fR\fR\fR |
974 .ad |
1104 .ad |
975 .sp .6 |
1105 .br |
976 .RS 4n |
1106 .na |
977 Deletes a manifest or script that was published with a specific install service. A default manifest or script cannot be deleted. |
1107 \fB\fB-m|--manifest \fImanifest\fR\fR\fR |
978 .sp |
1108 .ad |
979 .ne 2 |
1109 .sp .6 |
980 .mk |
1110 .RS 4n |
981 .na |
1111 Deletes a manifest or derived manifests script that was published with a specific install service. A default manifest or script cannot be deleted. |
982 \fB\fB\fB-m\fR|\fB--manifest\fR \fImanifest_name\fR\fR\fR |
1112 .sp |
983 .ad |
1113 .ne 2 |
984 .sp .6 |
1114 .mk |
985 .RS 4n |
1115 .na |
986 Required: Specifies the AI instance name of a manifest or script as output by \fBinstalladm list\fR with the \fB-n\fR option. |
1116 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
987 .RE |
1117 .ad |
988 |
1118 .sp .6 |
989 .sp |
1119 .RS 4n |
990 .ne 2 |
1120 Required: Specifies the name of the install service of the manifest or script being deleted. |
991 .mk |
1121 .RE |
992 .na |
1122 |
993 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1123 .sp |
994 .ad |
1124 .ne 2 |
995 .sp .6 |
1125 .mk |
996 .RS 4n |
1126 .na |
997 Required: Specifies the name of the install service this manifest is associated with. |
1127 \fB\fB-m|--manifest \fImanifest\fR\fR\fR |
998 .RE |
1128 .ad |
999 |
1129 .sp .6 |
1000 .RE |
1130 .RS 4n |
1001 |
1131 Required: Specifies the AI instance name of a manifest or derived manifests script as output by \fBinstalladm list\fR with the \fB-n\fR option. |
1002 .sp |
1132 .RE |
1003 .ne 2 |
1133 |
1004 .mk |
1134 .RE |
1005 .na |
1135 |
1006 \fB\fBcreate-profile \fB-n\fR|\fB--service\fR \fIsvcname\fR \fB-f\fR|\fB--file\fR \fIprofile_filename\fR... [\fB-p\fR|\fB--profile\fR \fIprofile_name\fR] [\fB-c\fR|\fB--criteria\fR \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... | \fB-C\fR|\fB--criteria-file\fR \fIcriteriafile\fR]\fR\fR |
1136 .sp |
1007 .ad |
1137 .ne 2 |
1008 .sp .6 |
1138 .mk |
1009 .RS 4n |
1139 .na |
1010 Creates profiles for a specific install service. Criteria can optionally be associated with a profile by either entering them on the command line (\fB-c\fR) or via a criteria XML file (\fB-C\fR). Profiles created without criteria are associated with all clients of the service. |
1140 \fB\fBinstalladm create-profile -n|--service \fIsvcname\fR\fR\fR |
|
1141 .ad |
|
1142 .br |
|
1143 .na |
|
1144 \fB\fB-f|--file \fIfilename\fR... [-p|--profile \fIprofile\fR]\fR\fR |
|
1145 .ad |
|
1146 .br |
|
1147 .na |
|
1148 \fB\fB[-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... |\fR\fR |
|
1149 .ad |
|
1150 .br |
|
1151 .na |
|
1152 \fB\fB-C|--criteria-file \fIcriteriafile\fR]\fR\fR |
|
1153 .ad |
|
1154 .sp .6 |
|
1155 .RS 4n |
|
1156 Creates profiles for a specific install service. Criteria can optionally be associated with a profile by either entering them on the command line (\fB-c\fR) or in a criteria XML file (\fB-C\fR). Profiles created without criteria are associated with all clients of the service. |
1011 .sp |
1157 .sp |
1012 .LP |
1158 .LP |
1013 The name of the profile is determined in the following order: |
1159 The name of the profile is determined in the following order: |
1014 .RS +4 |
1160 .RS +4 |
1015 .TP |
1161 .TP |
1016 1. |
1162 1. |
1017 The \fIprofile_name\fR specified by the \fB-p\fR option, if present. |
1163 The \fIprofile\fR specified by the \fB-p\fR option, if present. |
1018 .RE |
1164 .RE |
1019 .RS +4 |
1165 .RS +4 |
1020 .TP |
1166 .TP |
1021 2. |
1167 2. |
1022 The base name of the profile file name. |
1168 The base name of the \fIfilename\fR. |
1023 .RE |
1169 .RE |
1024 Profile names must be unique for an AI service. If multiple \fB-f\fR options are used to create more than one profile with the same criteria, then the \fB-p\fR option is invalid and the names of the profiles are derived from their file names. |
1170 Profile names must be unique for an AI service. If multiple \fB-f\fR options are used to create more than one profile with the same criteria, then the \fB-p\fR option is invalid and the names of the profiles are derived from their file names. |
1025 .sp |
1171 .sp |
1026 .ne 2 |
1172 .ne 2 |
1027 .mk |
1173 .mk |
1028 .na |
1174 .na |
1029 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1175 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
1030 .ad |
1176 .ad |
1031 .sp .6 |
1177 .sp .6 |
1032 .RS 4n |
1178 .RS 4n |
1033 Required: Specifies the name of the install service of the profile being created. |
1179 Required: Specifies the name of the install service of the profile being created. |
1034 .RE |
1180 .RE |
1035 |
1181 |
1036 .sp |
1182 .sp |
1037 .ne 2 |
1183 .ne 2 |
1038 .mk |
1184 .mk |
1039 .na |
1185 .na |
1040 \fB\fB\fB-f\fR|\fB--file\fR \fIprofile_filename\fR...\fR\fR |
1186 \fB\fB-f|--file \fIfilename\fR...\fR\fR |
1041 .ad |
1187 .ad |
1042 .sp .6 |
1188 .sp .6 |
1043 .RS 4n |
1189 .RS 4n |
1044 Required: Specifies the path name of the file with which to add the profile. Multiple profiles can be specified. |
1190 Required: Specifies the path name of the file with which to add the profile. Multiple profiles can be specified. |
1045 .RE |
1191 .RE |
1046 |
1192 |
1047 .sp |
1193 .sp |
1048 .ne 2 |
1194 .ne 2 |
1049 .mk |
1195 .mk |
1050 .na |
1196 .na |
1051 \fB\fB\fB-p\fR|\fB--profile\fR \fIprofile_name\fR\fR\fR |
1197 \fB\fB-p|--profile \fIprofile\fR\fR\fR |
1052 .ad |
1198 .ad |
1053 .sp .6 |
1199 .sp .6 |
1054 .RS 4n |
1200 .RS 4n |
1055 Optional: Specifies the name of the profile being created. Valid only for single profile creation. |
1201 Optional: Specifies the name of the profile being created. Valid only for single profile creation. |
1056 .RE |
1202 .RE |
1057 |
1203 |
1058 .sp |
1204 .sp |
1059 .ne 2 |
1205 .ne 2 |
1060 .mk |
1206 .mk |
1061 .na |
1207 .na |
1062 \fB\fB\fB-c\fR|\fB--criteria\fR \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
1208 \fB\fB-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
1063 .ad |
1209 .ad |
1064 .sp .6 |
1210 .sp .6 |
1065 .RS 4n |
1211 .RS 4n |
1066 Optional: Specifies criteria to be associated with the profiles. See the "Criteria" section below. Multiple \fB-c\fR options can be specified. |
1212 Optional: Specifies criteria to be associated with the profiles. See the "Criteria" section below. Multiple \fB-c\fR options can be specified. |
1067 .RE |
1213 .RE |
1068 |
1214 |
1069 .sp |
1215 .sp |
1070 .ne 2 |
1216 .ne 2 |
1071 .mk |
1217 .mk |
1072 .na |
1218 .na |
1073 \fB\fB\fB-C\fR|\fB--criteria-file\fR \fIcriteriafile\fR\fR\fR |
1219 \fB\fB-C|--criteria-file \fIcriteriafile\fR\fR\fR |
1074 .ad |
1220 .ad |
1075 .sp .6 |
1221 .sp .6 |
1076 .RS 4n |
1222 .RS 4n |
1077 Optional: Specifies the path name of a criteria XML file containing criteria to be associated with the specified profiles. |
1223 Optional: Specifies the path name of a criteria XML file containing criteria to be associated with the specified profiles. |
1078 .RE |
1224 .RE |
1081 |
1227 |
1082 .sp |
1228 .sp |
1083 .ne 2 |
1229 .ne 2 |
1084 .mk |
1230 .mk |
1085 .na |
1231 .na |
1086 \fB\fBupdate-profile -n|--service \fIsvcname\fR -f|--file \fIprofile_filename\fR [-p|--profile \fIprofile_name\fR]\fR\fR |
1232 \fB\fBinstalladm update-profile -n|--service \fIsvcname\fR\fR\fR |
1087 .ad |
1233 .ad |
1088 .sp .6 |
1234 .br |
1089 .RS 4n |
1235 .na |
1090 Updates the specified profile from the \fIsvcname\fR install service. Replaces the specified profile with the contents of \fIprofile_filename\fR. Any criteria remain with the profile following the update. |
1236 \fB\fB-f|--file \fIfilename\fR [-p|--profile \fIprofile\fR]\fR\fR |
|
1237 .ad |
|
1238 .sp .6 |
|
1239 .RS 4n |
|
1240 Updates the specified profile from the \fIsvcname\fR install service. Replaces the specified profile with the contents of \fIfilename\fR. Any criteria remain with the profile following the update. |
1091 .sp |
1241 .sp |
1092 .LP |
1242 .LP |
1093 The profile to be updated is determined in the following order: |
1243 The profile to be updated is determined in the following order: |
1094 .RS +4 |
1244 .RS +4 |
1095 .TP |
1245 .TP |
1096 1. |
1246 1. |
1097 The \fIprofile_name\fR specified by the \fB-p\fR option, if present. |
1247 The \fIprofile\fR specified by the \fB-p\fR option, if present. |
1098 .RE |
1248 .RE |
1099 .RS +4 |
1249 .RS +4 |
1100 .TP |
1250 .TP |
1101 2. |
1251 2. |
1102 The base name of \fIprofile_filename\fR. |
1252 The base name of the \fIfilename\fR. |
1103 .RE |
1253 .RE |
1104 .sp |
1254 .sp |
1105 .ne 2 |
1255 .ne 2 |
1106 .mk |
1256 .mk |
1107 .na |
1257 .na |
1108 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1258 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
1109 .ad |
1259 .ad |
1110 .sp .6 |
1260 .sp .6 |
1111 .RS 4n |
1261 .RS 4n |
1112 Required: Specifies the name of the install service of the profile being updated. |
1262 Required: Specifies the name of the install service of the profile being updated. |
1113 .RE |
1263 .RE |
1114 |
1264 |
1115 .sp |
1265 .sp |
1116 .ne 2 |
1266 .ne 2 |
1117 .mk |
1267 .mk |
1118 .na |
1268 .na |
1119 \fB\fB\fB-f\fR|\fB--file\fR \fIprofile_filename\fR\fR\fR |
1269 \fB\fB-f|--file \fIfilename\fR\fR\fR |
1120 .ad |
1270 .ad |
1121 .sp .6 |
1271 .sp .6 |
1122 .RS 4n |
1272 .RS 4n |
1123 Required: Specifies the path name of the file to use to update the profile. |
1273 Required: Specifies the path name of the file to use to update the profile. |
1124 .RE |
1274 .RE |
1125 |
1275 |
1126 .sp |
1276 .sp |
1127 .ne 2 |
1277 .ne 2 |
1128 .mk |
1278 .mk |
1129 .na |
1279 .na |
1130 \fB\fB\fB-p\fR|\fB--profile\fR \fIprofile_name\fR\fR\fR |
1280 \fB\fB-p|--profile \fIprofile\fR\fR\fR |
1131 .ad |
1281 .ad |
1132 .sp .6 |
1282 .sp .6 |
1133 .RS 4n |
1283 .RS 4n |
1134 Optional: Specifies the name of the profile being updated. Use this option if the name of the profile to update is different from the base name of \fIprofile_filename\fR. |
1284 Optional: Specifies the name of the profile being updated. Use this option if the name of the profile to update is different from the base name of the \fIfilename\fR. |
1135 .RE |
1285 .RE |
1136 |
1286 |
1137 .RE |
1287 .RE |
1138 |
1288 |
1139 .sp |
1289 .sp |
1140 .ne 2 |
1290 .ne 2 |
1141 .mk |
1291 .mk |
1142 .na |
1292 .na |
1143 \fB\fBdelete-profile \fB-p\fR|\fB--profile\fR \fIprofile_name\fR... \fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1293 \fB\fBinstalladm delete-profile -n|--service \fIsvcname\fR\fR\fR |
1144 .ad |
1294 .ad |
1145 .sp .6 |
1295 .br |
1146 .RS 4n |
1296 .na |
1147 Deletes the \fIprofile_name\fR profile from the \fIsvcname\fR install service. |
1297 \fB\fB-p|--profile \fIprofile\fR...\fR\fR |
1148 .sp |
1298 .ad |
1149 .ne 2 |
1299 .sp .6 |
1150 .mk |
1300 .RS 4n |
1151 .na |
1301 Deletes the \fIprofile\fR profile from the \fIsvcname\fR install service. |
1152 \fB\fB\fB-p\fR|\fB--profile\fR \fIprofile_name\fR...\fR\fR |
1302 .sp |
|
1303 .ne 2 |
|
1304 .mk |
|
1305 .na |
|
1306 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
|
1307 .ad |
|
1308 .sp .6 |
|
1309 .RS 4n |
|
1310 Required: Specifies the name of the install service of the profile being deleted. |
|
1311 .RE |
|
1312 |
|
1313 .sp |
|
1314 .ne 2 |
|
1315 .mk |
|
1316 .na |
|
1317 \fB\fB-p|--profile \fIprofile\fR...\fR\fR |
1153 .ad |
1318 .ad |
1154 .sp .6 |
1319 .sp .6 |
1155 .RS 4n |
1320 .RS 4n |
1156 Required: Specifies the name of the profile to delete. Multiple \fB-p\fR options can be specified. |
1321 Required: Specifies the name of the profile to delete. Multiple \fB-p\fR options can be specified. |
1157 .RE |
1322 .RE |
1158 |
1323 |
1159 .sp |
1324 .RE |
1160 .ne 2 |
1325 |
1161 .mk |
1326 .sp |
1162 .na |
1327 .ne 2 |
1163 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1328 .mk |
1164 .ad |
1329 .na |
1165 .sp .6 |
1330 \fB\fBinstalladm export -n|--service \fIsvcname\fR\fR\fR |
1166 .RS 4n |
1331 .ad |
1167 Required: Specifies the name of the install service of the profile being deleted. |
1332 .br |
1168 .RE |
1333 .na |
1169 |
1334 \fB\fB-m|--manifest \fImanifest\fR... -p|--profile \fIprofile\fR...\fR\fR |
1170 .RE |
1335 .ad |
1171 |
1336 .br |
1172 .sp |
1337 .na |
1173 .ne 2 |
1338 \fB\fB[-o|--output \fIpathname\fR]\fR\fR |
1174 .mk |
1339 .ad |
1175 .na |
1340 .sp .6 |
1176 \fB\fBexport \fB-n\fR|\fB--service\fR \fIsvcname\fR \fB-m\fR|\fB--manifest\fR \fImanifest_name\fR... \fB-p\fR|\fB--profile\fR \fIprofile_name\fR... [\fB-o\fR|\fB--output\fR \fIpathname\fR]\fR\fR |
1341 .RS 4n |
1177 .ad |
1342 Displays (exports) the specified manifests, derived manifests scripts, and profiles belonging to a specified service. At least one manifest, script, or profile must be specified. Display goes to \fBstdout\fR unless the \fB-o\fR option redirects to a file or directory. |
1178 .sp .6 |
1343 .sp |
1179 .RS 4n |
1344 .ne 2 |
1180 Displays (exports) the specified manifest/scripts and/or profiles belonging to a service. At least one manifest/script or profile must be specified. Display goes to \fBstdout\fR unless the \fB-o\fR option redirects to a file or directory. |
1345 .mk |
1181 .sp |
1346 .na |
1182 .ne 2 |
1347 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
1183 .mk |
1348 .ad |
1184 .na |
1349 .sp .6 |
1185 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1350 .RS 4n |
1186 .ad |
1351 Required: Specifies the install service associated with the manifest, script, or profile to export. |
1187 .sp .6 |
1352 .RE |
1188 .RS 4n |
1353 |
1189 Required: Specifies the install service associated with the manifest or profile to export. |
1354 .sp |
1190 .RE |
1355 .ne 2 |
1191 |
1356 .mk |
1192 .sp |
1357 .na |
1193 .ne 2 |
1358 \fB\fB-m|--manifest \fImanifest\fR...\fR\fR |
1194 .mk |
1359 .ad |
1195 .na |
1360 .sp .6 |
1196 \fB\fB\fB-m\fR|\fB--manifest\fR \fImanifest_name\fR...\fR\fR |
1361 .RS 4n |
1197 .ad |
1362 Specifies the AI instance name of a manifest or derived manifests script to export. Multiple \fB-m\fR options can be specified. |
1198 .sp .6 |
1363 .RE |
1199 .RS 4n |
1364 |
1200 Specifies the AI instance name of a manifest or script to export. Multiple \fB-m\fR options can be specified. |
1365 .sp |
1201 .RE |
1366 .ne 2 |
1202 |
1367 .mk |
1203 .sp |
1368 .na |
1204 .ne 2 |
1369 \fB\fB-p|--profile \fIprofile\fR...\fR\fR |
1205 .mk |
|
1206 .na |
|
1207 \fB\fB\fB-p\fR|\fB--profile\fR \fIprofile_name\fR...\fR\fR |
|
1208 .ad |
1370 .ad |
1209 .sp .6 |
1371 .sp .6 |
1210 .RS 4n |
1372 .RS 4n |
1211 Specifies the name of a profile to export. Multiple \fB-p\fR options can be specified. |
1373 Specifies the name of a profile to export. Multiple \fB-p\fR options can be specified. |
1212 .RE |
1374 .RE |
1213 |
1375 |
1214 .sp |
1376 .sp |
1215 .ne 2 |
1377 .ne 2 |
1216 .mk |
1378 .mk |
1217 .na |
1379 .na |
1218 \fB\fB\fB-o\fR|\fB--output\fR \fIpathname\fR\fR\fR |
1380 \fB\fB-o|--output \fIpathname\fR\fR\fR |
1219 .ad |
1381 .ad |
1220 .sp .6 |
1382 .sp .6 |
1221 .RS 4n |
1383 .RS 4n |
1222 Optional: Redirect output. The \fIpathname\fR must be a directory if multiple manifests, scripts and/or profiles are requested. The \fIpathname\fR can be a file if only one manifest, script, or profile is requested. |
1384 Optional: Redirect output. The \fIpathname\fR must be a directory if multiple manifests, scripts, or profiles are requested. The \fIpathname\fR can be a file if only one manifest, script, or profile is requested. |
1223 .RE |
1385 .RE |
1224 |
1386 |
1225 .RE |
1387 .RE |
1226 |
1388 |
1227 .sp |
1389 .sp |
1228 .ne 2 |
1390 .ne 2 |
1229 .mk |
1391 .mk |
1230 .na |
1392 .na |
1231 \fB\fBvalidate \fB-n\fR|\fB--service\fR \fIsvcname\fR \fB-P\fR|\fB--profile-file\fR \fIprofile_filename\fR... | \fB-p\fR|\fB--profile\fR \fIprofile_name\fR...\fR\fR |
1393 \fB\fBinstalladm validate -n|--service \fIsvcname\fR\fR\fR |
|
1394 .ad |
|
1395 .br |
|
1396 .na |
|
1397 \fB\fB-P|--profile-file \fIfilename\fR... | -p|--profile \fIprofile\fR...\fR\fR |
1232 .ad |
1398 .ad |
1233 .sp .6 |
1399 .sp .6 |
1234 .RS 4n |
1400 .RS 4n |
1235 Validates specified profiles. The \fBvalidate\fR subcommand can be used to either validate profiles in the database (\fB-p\fR) or to validate profiles while they are being developed before their entry into the database (\fB-P\fR). |
1401 Validates specified profiles. The \fBvalidate\fR subcommand can be used to either validate profiles in the database (\fB-p\fR) or to validate profiles while they are being developed before their entry into the database (\fB-P\fR). |
1236 .sp |
1402 .sp |
1237 .ne 2 |
1403 .ne 2 |
1238 .mk |
1404 .mk |
1239 .na |
1405 .na |
1240 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1406 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
1241 .ad |
1407 .ad |
1242 .sp .6 |
1408 .sp .6 |
1243 .RS 4n |
1409 .RS 4n |
1244 Required: Specifies the service with which the profiles are associated. |
1410 Required: Specifies the service with which the profiles are associated. |
1245 .RE |
1411 .RE |
1246 |
1412 |
1247 .sp |
1413 .sp |
1248 .ne 2 |
1414 .ne 2 |
1249 .mk |
1415 .mk |
1250 .na |
1416 .na |
1251 \fB\fB\fB-P\fR|\fB--profile-file\fR \fIprofile_filename\fR...\fR\fR |
1417 \fB\fB-P|--profile-file \fIfilename\fR...\fR\fR |
1252 .ad |
1418 .ad |
1253 .sp .6 |
1419 .sp .6 |
1254 .RS 4n |
1420 .RS 4n |
1255 Specifies an external profile file to validate. |
1421 Specifies an external profile file to validate. |
1256 .RE |
1422 .RE |
1257 |
1423 |
1258 .sp |
1424 .sp |
1259 .ne 2 |
1425 .ne 2 |
1260 .mk |
1426 .mk |
1261 .na |
1427 .na |
1262 \fB\fB\fB-p\fR|\fB--profile\fR \fIprofile_name\fR...\fR\fR |
1428 \fB\fB-p|--profile \fIprofile\fR...\fR\fR |
1263 .ad |
1429 .ad |
1264 .sp .6 |
1430 .sp .6 |
1265 .RS 4n |
1431 .RS 4n |
1266 Specifies the name of the profile to validate. |
1432 Specifies the name of the profile to validate. |
1267 .RE |
1433 .RE |
1270 |
1436 |
1271 .sp |
1437 .sp |
1272 .ne 2 |
1438 .ne 2 |
1273 .mk |
1439 .mk |
1274 .na |
1440 .na |
1275 \fB\fBset-criteria \fB-m\fR|\fB--manifest\fR \fImanifest_name\fR \fB-p\fR|\fB--profile\fR \fIprofile_name\fR... \fB-n\fR|\fB--service\fR \fIsvcname\fR \fB-c\fR|\fB--criteria\fR \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... | \fB-C\fR|\fB--criteria-file\fR \fIcriteriafile\fR | \fB-a\fR|\fB--append-criteria\fR \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
1441 \fB\fBinstalladm set-criteria -n|--service \fIsvcname\fR\fR\fR |
1276 .ad |
1442 .ad |
1277 .sp .6 |
1443 .br |
1278 .RS 4n |
1444 .na |
1279 Updates criteria of an already published manifest/script, profile, or both. Criteria can be specified via the command line or or via a criteria XML file. Criteria must be specified with one of the mutually exclusive options, \fB-a\fR, \fB-c\fR, or \fB-C\fR. |
1445 \fB\fB-m|--manifest \fImanifest\fR -p|--profile \fIprofile\fR...\fR\fR |
|
1446 .ad |
|
1447 .br |
|
1448 .na |
|
1449 \fB\fB-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR... |\fR\fR |
|
1450 .ad |
|
1451 .br |
|
1452 .na |
|
1453 \fB\fB-C|--criteria-file \fIcriteriafile\fR |\fR\fR |
|
1454 .ad |
|
1455 .br |
|
1456 .na |
|
1457 \fB\fB-a|--append-criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
|
1458 .ad |
|
1459 .sp .6 |
|
1460 .RS 4n |
|
1461 Updates criteria of an already published manifest or derived manifests script, profile, or both. Criteria can be specified on the command line or in a criteria XML file. Criteria must be specified with one of the mutually exclusive options, \fB-a\fR, \fB-c\fR, or \fB-C\fR. |
1280 .sp |
1462 .sp |
1281 Valid criteria are described under the \fBcreate-manifest\fR subcommand. |
1463 Valid criteria are described under the \fBcreate-manifest\fR subcommand. |
1282 .sp |
1464 .sp |
1283 .ne 2 |
1465 .ne 2 |
1284 .mk |
1466 .mk |
1285 .na |
1467 .na |
1286 \fB\fB\fB-m\fR|\fB--manifest\fR \fImanifest_name\fR\fR\fR |
1468 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
1287 .ad |
1469 .ad |
1288 .sp .6 |
1470 .sp .6 |
1289 .RS 4n |
1471 .RS 4n |
1290 Specifies the AI instance name of a manifest or script. |
1472 Required: Specifies the name of the install service associated with this manifest, script, or profile. |
1291 .RE |
1473 .RE |
1292 |
1474 |
1293 .sp |
1475 .sp |
1294 .ne 2 |
1476 .ne 2 |
1295 .mk |
1477 .mk |
1296 .na |
1478 .na |
1297 \fB\fB\fB-p\fR|\fB--profile\fR \fIprofile_name\fR...\fR\fR |
1479 \fB\fB-m|--manifest \fImanifest\fR\fR\fR |
|
1480 .ad |
|
1481 .sp .6 |
|
1482 .RS 4n |
|
1483 Specifies the AI instance name of a manifest or derived manifests script. |
|
1484 .RE |
|
1485 |
|
1486 .sp |
|
1487 .ne 2 |
|
1488 .mk |
|
1489 .na |
|
1490 \fB\fB-p|--profile \fIprofile\fR...\fR\fR |
1298 .ad |
1491 .ad |
1299 .sp .6 |
1492 .sp .6 |
1300 .RS 4n |
1493 .RS 4n |
1301 Specifies the name of a profile. Any number of profiles can be specified. |
1494 Specifies the name of a profile. Any number of profiles can be specified. |
1302 .RE |
1495 .RE |
1303 |
1496 |
1304 .sp |
1497 .sp |
1305 .ne 2 |
1498 .ne 2 |
1306 .mk |
1499 .mk |
1307 .na |
1500 .na |
1308 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1501 \fB\fB-c|--criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
1309 .ad |
1502 .ad |
1310 .sp .6 |
1503 .sp .6 |
1311 .RS 4n |
1504 .RS 4n |
1312 Required: Specifies the name of the install service associated with this manifest/script or profile. |
1505 Specifies criteria to replace all existing criteria for the manifest, script, or profile. See the "Criteria" section below. |
1313 .RE |
1506 .RE |
1314 |
1507 |
1315 .sp |
1508 .sp |
1316 .ne 2 |
1509 .ne 2 |
1317 .mk |
1510 .mk |
1318 .na |
1511 .na |
1319 \fB\fB\fB-c\fR|\fB--criteria\fR \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
1512 \fB\fB-C|--criteria-file \fIcriteriafile\fR\fR\fR |
1320 .ad |
1513 .ad |
1321 .sp .6 |
1514 .sp .6 |
1322 .RS 4n |
1515 .RS 4n |
1323 Specifies criteria to replace all existing criteria for the manifest/script or profile. See the "Criteria" section below. |
1516 Specifies the path name of a criteria XML file containing criteria to replace all existing criteria for the manifest, script, or profile. |
1324 .RE |
1517 .RE |
1325 |
1518 |
1326 .sp |
1519 .sp |
1327 .ne 2 |
1520 .ne 2 |
1328 .mk |
1521 .mk |
1329 .na |
1522 .na |
1330 \fB\fB\fB-C\fR|\fB--criteria-file\fR \fIcriteriafile\fR\fR\fR |
1523 \fB\fB-a|--append-criteria \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
1331 .ad |
1524 .ad |
1332 .sp .6 |
1525 .sp .6 |
1333 .RS 4n |
1526 .RS 4n |
1334 Specifies the path name of a criteria XML file containing criteria to replace all existing criteria for the manifest/script or profile. |
1527 Specifies criteria to be appended to the existing criteria for the manifest, script, or profile. See the "Criteria" section below. If the \fIcriteria\fR specified already exists, the \fIvalue\fR|\fIlist\fR|\fIrange\fR of that criteria is replaced by the specified \fIvalue\fR|\fIlist\fR|\fIrange\fR. |
1335 .RE |
1528 .RE |
1336 |
1529 |
1337 .sp |
1530 .RE |
1338 .ne 2 |
1531 |
1339 .mk |
1532 .sp |
1340 .na |
1533 .ne 2 |
1341 \fB\fB\fB-a\fR|\fB--append-criteria\fR \fIcriteria\fR=\fIvalue\fR|\fIlist\fR|\fIrange\fR...\fR\fR |
1534 .mk |
1342 .ad |
1535 .na |
1343 .sp .6 |
1536 \fB\fBinstalladm create-client -n|--service \fIsvcname\fR\fR\fR |
1344 .RS 4n |
1537 .ad |
1345 Specifies criteria to be appended to the existing criteria for the manifest/script or profile. See the "Criteria" section below. If the \fIcriteria\fR specified already exists, the \fIvalue\fR|\fIlist\fR|\fIrange\fR of that criteria is replaced by the specified \fIvalue\fR|\fIlist\fR|\fIrange\fR. |
1538 .br |
1346 .RE |
1539 .na |
1347 |
1540 \fB\fB[-b|--boot-args \fIproperty\fR=\fIvalue\fR,...] -e|--macaddr \fImacaddr\fR\fR\fR |
1348 .RE |
|
1349 |
|
1350 .sp |
|
1351 .ne 2 |
|
1352 .mk |
|
1353 .na |
|
1354 \fB\fBcreate-client [\fB-b\fR|\fB--boot-args\fR \fIproperty\fR=\fIvalue\fR,...] \fB-e\fR|\fB--macaddr\fR \fImacaddr\fR \fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
|
1355 .ad |
1541 .ad |
1356 .sp .6 |
1542 .sp .6 |
1357 .RS 4n |
1543 .RS 4n |
1358 Accomplishes optional setup tasks for a specified client, in order to provide custom client settings that vary from the default settings used by the \fBcreate-service\fR subcommand. Enables the user to specify a non-default service name and boot arguments for a client. Can also be used to modify an existing client. |
1544 Accomplishes optional setup tasks for a specified client, in order to provide custom client settings that vary from the default settings used by the \fBcreate-service\fR subcommand. Enables the user to specify a non-default service name and boot arguments for a client. Can also be used to modify an existing client. |
1359 .sp |
1545 .sp |
1360 If the client is an x86 system and a local ISC DHCP configuration exists, the client is configured in the ISC DHCP configuration. |
1546 .LP |
1361 .sp |
1547 If the following conditions exist, the client is configured in the ISC DHCP configuration: |
1362 .ne 2 |
1548 .RS +4 |
1363 .mk |
1549 .TP |
1364 .na |
1550 .ie t \(bu |
1365 \fB\fB\fB-b\fR|\fB--boot-args\fR \fIproperty\fR=\fIvalue\fR,...\fR\fR |
1551 .el o |
1366 .ad |
1552 The client is an x86 system. |
1367 .sp .6 |
1553 .RE |
1368 .RS 4n |
1554 .RS +4 |
1369 Optional: For x86 clients only. Sets a property value in the client-specific \fBmenu.lst\fR file in \fB/etc/netboot\fR. Use this option to set boot properties that are specific to this client. This option can accept multiple \fIproperty\fR=\fIvalue\fR pairs. |
1555 .TP |
1370 .RE |
1556 .ie t \(bu |
1371 |
1557 .el o |
1372 .sp |
1558 A local ISC DHCP configuration exists. |
1373 .ne 2 |
1559 .RE |
1374 .mk |
1560 .RS +4 |
1375 .na |
1561 .TP |
1376 \fB\fB\fB-e\fR|\fB--macaddr\fR \fImacaddr\fR\fR\fR |
1562 .ie t \(bu |
|
1563 .el o |
|
1564 The \fBall_services/manage_dhcp\fR property value is \fBtrue\fR. |
|
1565 .RE |
|
1566 .sp |
|
1567 .ne 2 |
|
1568 .mk |
|
1569 .na |
|
1570 \fB\fB-n|--service \fIsvcname\fR\fR\fR |
|
1571 .ad |
|
1572 .sp .6 |
|
1573 .RS 4n |
|
1574 Required: Specifies the install service for client installation. |
|
1575 .RE |
|
1576 |
|
1577 .sp |
|
1578 .ne 2 |
|
1579 .mk |
|
1580 .na |
|
1581 \fB\fB-b|--boot-args \fIproperty\fR=\fIvalue\fR,...\fR\fR |
|
1582 .ad |
|
1583 .sp .6 |
|
1584 .RS 4n |
|
1585 Optional: For x86 clients only. Sets a property value in the client-specific boot configuration file in \fB/etc/netboot\fR. Use this option to set boot properties that are specific to this client. This option can accept multiple \fIproperty\fR=\fIvalue\fR pairs. |
|
1586 .RE |
|
1587 |
|
1588 .sp |
|
1589 .ne 2 |
|
1590 .mk |
|
1591 .na |
|
1592 \fB\fB-e|--macaddr \fImacaddr\fR\fR\fR |
1377 .ad |
1593 .ad |
1378 .sp .6 |
1594 .sp .6 |
1379 .RS 4n |
1595 .RS 4n |
1380 Required: Specifies a MAC address for the client. |
1596 Required: Specifies a MAC address for the client. |
1381 .RE |
1597 .RE |
1382 |
1598 |
1383 .sp |
1599 .RE |
1384 .ne 2 |
1600 |
1385 .mk |
1601 .sp |
1386 .na |
1602 .ne 2 |
1387 \fB\fB\fB-n\fR|\fB--service\fR \fIsvcname\fR\fR\fR |
1603 .mk |
1388 .ad |
1604 .na |
1389 .sp .6 |
1605 \fB\fBinstalladm delete-client \fImacaddr\fR\fR\fR |
1390 .RS 4n |
|
1391 Required: Specifies the install service for client installation. |
|
1392 .RE |
|
1393 |
|
1394 .RE |
|
1395 |
|
1396 .sp |
|
1397 .ne 2 |
|
1398 .mk |
|
1399 .na |
|
1400 \fB\fBdelete-client \fImacaddr\fR\fR\fR |
|
1401 .ad |
1606 .ad |
1402 .sp .6 |
1607 .sp .6 |
1403 .RS 4n |
1608 .RS 4n |
1404 Deletes an existing client's specific service information that was previously set up using the \fBcreate-client\fR subcommand. |
1609 Deletes an existing client's specific service information that was previously set up using the \fBcreate-client\fR subcommand. |
1405 .sp |
1610 .sp |
1406 If the client is an x86 system and a local ISC DHCP configuration exists, the client is unconfigured in the ISC DHCP configuration. |
1611 .LP |
|
1612 If the following conditions exist, the client is unconfigured in the ISC DHCP configuration: |
|
1613 .RS +4 |
|
1614 .TP |
|
1615 .ie t \(bu |
|
1616 .el o |
|
1617 The client is an x86 system. |
|
1618 .RE |
|
1619 .RS +4 |
|
1620 .TP |
|
1621 .ie t \(bu |
|
1622 .el o |
|
1623 A local ISC DHCP configuration exists. |
|
1624 .RE |
|
1625 .RS +4 |
|
1626 .TP |
|
1627 .ie t \(bu |
|
1628 .el o |
|
1629 The \fBall_services/manage_dhcp\fR property value is \fBtrue\fR. |
|
1630 .RE |
1407 .sp |
1631 .sp |
1408 .ne 2 |
1632 .ne 2 |
1409 .mk |
1633 .mk |
1410 .na |
1634 .na |
1411 \fB\fB\fImacaddr\fR\fR\fR |
1635 \fB\fB\fImacaddr\fR\fR\fR |
1446 \fBmac\fRT{ |
1667 \fBmac\fRT{ |
1447 Hexadecimal MAC address with colon (:) separators. |
1668 Hexadecimal MAC address with colon (:) separators. |
1448 T} |
1669 T} |
1449 \fBmem\fRMemory size in MB per \fBprtconf\fR(1M). |
1670 \fBmem\fRMemory size in MB per \fBprtconf\fR(1M). |
1450 \fBnetwork\fRIP version 4 network number. |
1671 \fBnetwork\fRIP version 4 network number. |
1451 \fBplatform\fRPlatform name per \fBuname -i\fR. |
1672 \fBplatform\fRT{ |
|
1673 Platform name returned by \fBuname -i\fR for x86 systems and \fBprtconf -b\fR for SPARC systems. |
|
1674 T} |
1452 \fBzonename\fRName of a zone per \fBzones\fR(5). |
1675 \fBzonename\fRName of a zone per \fBzones\fR(5). |
1453 .TE |
1676 .TE |
1454 |
1677 |
1455 .sp |
1678 .sp |
1456 .LP |
1679 .LP |
1457 The \fBipv4\fR, \fBmac\fR, \fBmem\fR, and \fBnetwork\fR specifications can be expressed as ranged values separated by a hyphen (\fB-\fR). To specify no limit to one end of a range, use \fBunbounded\fR. |
1680 The \fBipv4\fR, \fBmac\fR, \fBmem\fR, and \fBnetwork\fR specifications can be expressed as ranged values separated by a hyphen (\fB-\fR). To specify no limit to one end of a range, use \fBunbounded\fR. |
1458 .sp |
1681 .sp |
1459 .LP |
1682 .LP |
1460 Any criteria that are not specifiable as a range can be specified as list of values separated by white space. |
1683 The \fBarch\fR, \fBcpu\fR, \fBhostname\fR, \fBplatform\fR, and \fBzonename\fR specifications can be expressed as a quoted list of values separated by white space. |
1461 .SH EXAMPLES |
1684 .SH EXAMPLES |
1462 .LP |
1685 .LP |
1463 \fBExample 1 \fRSet Up a New x86 Install Service From an ISO File |
1686 \fBExample 1 \fRSet Up a New x86 Install Service From an ISO File |
1464 .sp |
1687 .sp |
1465 .LP |
1688 .LP |
1466 Set up an install server and an x86 install service for the first time. The command includes a starting IP address and total count of IP addresses, in order to configure the DHCP server. |
1689 Set up an install server and an x86 install service for the first time. The command includes a starting IP address and total count of IP addresses, in order to configure the DHCP server. |
1467 |
1690 |
1468 .sp |
1691 .sp |
1469 .in +2 |
1692 .in +2 |
1470 .nf |
1693 .nf |
1471 # \fBinstalladm create-service -n sol-11-i386-svc \e\fR |
1694 $ \fBpfexec installadm create-service -n sol-11_1-i386 \e\fR |
1472 \fB-s /export/isos/sol-11-i386.iso \e\fR |
1695 \fB-s /export/isos/sol-11_1-ai-x86.iso \e\fR |
1473 \fB-i 172.0.0.10 -c 10 -d /export/images/soli386\fR |
1696 \fB-i 172.0.0.10 -c 10 -d /export/images/sol-11_1-i386\fR |
1474 .fi |
1697 .fi |
1475 .in -2 |
1698 .in -2 |
1476 .sp |
1699 .sp |
1477 |
1700 |
1478 .sp |
1701 .sp |
1479 .LP |
1702 .LP |
1480 The AI ISO image is at \fB/export/isos/sol-11-i386.iso\fR. The command sets up a net image and an install service at \fB/export/images/soli386\fR that is based on the AI ISO image. This net image enables client installations. |
1703 The AI ISO image is at \fB/export/isos/sol-11_1-ai-x86.iso\fR. The command sets up a net image and an install service at \fB/export/images/sol-11_1-i386\fR that is based on the AI ISO image. This net image enables client installations. |
1481 |
1704 |
1482 .sp |
1705 .sp |
1483 .LP |
1706 .LP |
1484 The starting IP address of 172.0.0.10 and ten IP addresses are added to the local ISC DHCP configuration. If a local ISC DHCP configuration does not exist, an ISC DHCP server is started. |
1707 The starting IP address of 172.0.0.10 and ten IP addresses are added to the local ISC DHCP configuration. If a local ISC DHCP configuration does not exist, an ISC DHCP server is started. |
1485 |
1708 |
1486 .sp |
1709 .sp |
1487 .LP |
1710 .LP |
1488 Because this is the first \fBi386\fR service created, the \fBdefault-i386\fR service is automatically created and aliased to this service. The \fBdefault-i386\fR alias is operational, and a client booted via PXE will boot and install from the \fBdefault-i386\fR service. |
1711 Because this is the first x86 service created, the \fBdefault-i386\fR service is automatically created and aliased to this service. The \fBdefault-i386\fR alias is operational, and a client booted via PXE will boot and install from the \fBdefault-i386\fR service. |
1489 |
1712 |
1490 .LP |
1713 .LP |
1491 \fBExample 2 \fRSet Up a New SPARC Install Service From an ISO File |
1714 \fBExample 2 \fRSet Up a New SPARC Install Service From an ISO File |
1492 .sp |
1715 .sp |
1493 .LP |
1716 .LP |
1494 Set up a SPARC install service for the first time. |
1717 Set up a SPARC install service for the first time. |
1495 |
1718 |
1496 .sp |
1719 .sp |
1497 .in +2 |
1720 .in +2 |
1498 .nf |
1721 .nf |
1499 # \fBinstalladm create-service -n sol-11-sparc-svc \e\fR |
1722 $ \fBpfexec installadm create-service -n sol-11_1-sparc \e\fR |
1500 \fB-s /export/isos/sol-11-sparc.iso \e\fR |
1723 \fB-s /export/isos/sol-11_1-ai-sparc.iso \e\fR |
1501 \fB-d /export/images/solsparc\fR |
1724 \fB-d /export/images/sol-11_1-sparc\fR |
1502 .fi |
1725 .fi |
1503 .in -2 |
1726 .in -2 |
1504 .sp |
1727 .sp |
1505 |
1728 |
1506 .sp |
1729 .sp |
1507 .LP |
1730 .LP |
1508 The AI ISO image is at \fB/export/isos/sol-11-sparc.iso\fR. The command sets up a net image and an install service at \fB/export/images/solsparc\fR that is based on the AI ISO image. This net image enables client installations. |
1731 The AI ISO image is at \fB/export/isos/sol-11_1-ai-sparc.iso\fR. The command sets up a net image and an install service at \fB/export/images/sol-11_1-sparc\fR that is based on the AI ISO image. This net image enables client installations. |
1509 |
1732 |
1510 .sp |
1733 .sp |
1511 .LP |
1734 .LP |
1512 Because this is the first SPARC service created, the \fBdefault-sparc\fR service is automatically created and aliased to this service. The \fBdefault-sparc\fR alias is operational, and a SPARC client will boot and install from the \fBdefault-sparc\fR service. |
1735 Because this is the first SPARC service created, the \fBdefault-sparc\fR service is automatically created and aliased to this service. The \fBdefault-sparc\fR alias is operational, and a SPARC client will boot and install from the \fBdefault-sparc\fR service. |
1513 |
1736 |
1514 .LP |
1737 .LP |
1515 \fBExample 3 \fRSet Up an i386 Install Service From a Package Repository |
1738 \fBExample 3 \fRSet Up an x86 Install Service From a Package Repository |
1516 .sp |
1739 .sp |
1517 .in +2 |
1740 .LP |
1518 .nf |
1741 If you do not specify a source for the net image, an IPS package is used. |
1519 # \fBinstalladm create-service -y -n mysvc\fR |
1742 |
1520 .fi |
1743 .sp |
1521 .in -2 |
1744 .in +2 |
1522 .sp |
1745 .nf |
1523 |
1746 $ \fBpfexec installadm create-service -y\fR |
1524 .sp |
1747 .fi |
1525 .LP |
1748 .in -2 |
1526 On an i386 install server, this command sets up an i386 net image and install service named \fBmysvc\fR in a directory named \fBmysvc\fR at the image location specified by the value of the \fBall_services/default_imagepath_basedir\fR property. For the default value of this property, see "Install Server Configuration Properties." The \fB-y\fR option provides confirmation that the default location is acceptable. Since the architecture is not specified, the service created is of the same architecture as the install server. This command assumes that a package repository on the \fBpkg publisher\fR list for the install server contains the \fBinstall-image/solaris-auto-install\fR package. |
1749 .sp |
|
1750 |
|
1751 .sp |
|
1752 .LP |
|
1753 On an x86 install server, this command sets up an x86 net image and install service with a default name in a directory at the image location specified by the value of the \fBall_services/default_imagepath_basedir\fR property. For the default value of this property, see "Install Server Configuration Properties." The \fB-y\fR option confirms that the default location is acceptable. Since the architecture is not specified, the service created is of the same architecture as the install server. This command assumes that a package repository on the \fBpkg publisher\fR list for the install server contains the \fBinstall-image/solaris-auto-install\fR package. |
1527 |
1754 |
1528 .sp |
1755 .sp |
1529 .LP |
1756 .LP |
1530 To specify the creation of a SPARC service on this server, use the \fB-a\fR option. |
1757 To specify the creation of a SPARC service on this server, use the \fB-a\fR option. |
1531 |
1758 |
1532 .sp |
1759 .sp |
1533 .LP |
1760 .LP |
1534 To specify the publisher of the \fBsolaris-auto-install\fR package, use the \fB-p\fR option. For example, use the following command to specify the \fBai-image\fR repository located at \fBhttp://example.company.com:4281\fR as the publisher of the \fBsolaris-auto-install\fR package: |
1761 To specify the publisher of the \fBsolaris-auto-install\fR package, use the \fB-p\fR option. For example, use the following command to specify the \fBai-image\fR publisher located at \fBhttp://example.company.com:4281\fR as the publisher of the \fBsolaris-auto-install\fR package: |
1535 |
1762 |
1536 .sp |
1763 .sp |
1537 .in +2 |
1764 .in +2 |
1538 .nf |
1765 .nf |
1539 # \fBinstalladm create-service -y -n mysvc \e\fR |
1766 $ \fBpfexec installadm create-service -y \e\fR |
1540 \fB-p ai-image=http://example.company.com:4281\fR |
1767 \fB-p ai-image=http://example.company.com:4281\fR |
1541 .fi |
1768 .fi |
1542 .in -2 |
1769 .in -2 |
1543 .sp |
1770 .sp |
1544 |
1771 |
1549 Use the following sample command to associate a client with a specific install service. The install service must already exist. |
1776 Use the following sample command to associate a client with a specific install service. The install service must already exist. |
1550 |
1777 |
1551 .sp |
1778 .sp |
1552 .in +2 |
1779 .in +2 |
1553 .nf |
1780 .nf |
1554 # \fBinstalladm create-client -b "console=ttya" \e\fR |
1781 $ \fBpfexec installadm create-client -b "console=ttya" \e\fR |
1555 \fB-e 0:e0:81:5d:bf:e0 -n my-i386-service\fR |
1782 \fB-e 0:e0:81:5d:bf:e0 -n sol-11_1-i386\fR |
1556 .fi |
1783 .fi |
1557 .in -2 |
1784 .in -2 |
1558 .sp |
1785 .sp |
1559 |
1786 |
1560 .sp |
1787 .sp |
1561 .LP |
1788 .LP |
1562 In this example, the command creates a client-specific setup for the system with MAC address \fB0:e0:81:5d:bf:e0\fR. This client will use the install service previously set up, named \fBmy-i386-service\fR, and that service's associated net image. The command sets the boot property \fBconsole=ttya\fR in the client-specific \fBmenu.lst\fR file in \fB/etc/netboot\fR. |
1789 In this example, the command creates a client-specific setup for the system with MAC address \fB0:e0:81:5d:bf:e0\fR. This client will use the install service previously set up, named \fBsol-11_1-i386\fR, and that service's associated net image. The command sets the boot property \fBconsole=ttya\fR in the client-specific boot configuration file in \fB/etc/netboot\fR. |
1563 |
1790 |
1564 .LP |
1791 .LP |
1565 \fBExample 5 \fRAdd a New Install Service Without Modifying the Default Service |
1792 \fBExample 5 \fRAdd a New Install Service Without Modifying the Default Service |
1566 .sp |
1793 .sp |
1567 .LP |
1794 .LP |
1568 Use the following sample command to add a new service named \fBmy-sparc-service\fR, retaining existing services, and leaving the existing default unchanged. |
1795 Use the following sample command to add a new service named \fBsol-11-sparc\fR, retaining existing services, and leaving the existing default unchanged. |
1569 |
1796 |
1570 .sp |
1797 .sp |
1571 .in +2 |
1798 .in +2 |
1572 .nf |
1799 .nf |
1573 # \fBinstalladm create-service -n my-sparc-service \e\fR |
1800 $ \fBpfexec installadm create-service -n sol-11-sparc \e\fR |
1574 \fB-s /export/isos/mysparc.iso \e\fR |
1801 \fB-s /export/isos/sol-11-1111-ai-sparc.iso \e\fR |
1575 \fB-d /export/ai/mysparc-image\fR |
1802 \fB-d /export/ai/sol-11-sparc\fR |
1576 .fi |
1803 .fi |
1577 .in -2 |
1804 .in -2 |
1578 .sp |
1805 .sp |
1579 |
1806 |
1580 .LP |
1807 .LP |
1581 \fBExample 6 \fRAdd a New Install Service and Update the Default Service |
1808 \fBExample 6 \fRUpdate the \fBdefault-i386\fR Service |
|
1809 .sp |
|
1810 .LP |
|
1811 Use the following sample command to update the \fBdefault-i386\fR alias service to be associated with the latest available image. The \fBinstalladm list\fR command shows the service before and after the command. The example assumes that an updated net image package is available from the publisher that was originally used to create the \fBdefault-i386\fR service alias. |
|
1812 |
|
1813 .sp |
|
1814 .in +2 |
|
1815 .nf |
|
1816 $ \fBinstalladm list\fR |
|
1817 Service Name Alias Of Status Arch Image Path |
|
1818 ------------ -------- ------ ---- ---------- |
|
1819 default-i386 solaris11-i386 on i386 /export/images/solaris11-i386 |
|
1820 solaris11-i386 - on i386 /export/images/solaris11-i386 |
|
1821 $ \fBpfexec installadm update-service default-i386\fR |
|
1822 \&... |
|
1823 Creating new i386 service: solaris11_1-i386 |
|
1824 Aliasing default-i386 to solaris11_1-i386 ... |
|
1825 \&... |
|
1826 $ \fBinstalladm list\fR |
|
1827 Service Name Alias Of Status Arch Image Path |
|
1828 ------------ -------- ------ ---- ---------- |
|
1829 default-i386 solaris11_1-i386 on i386 /export/images/solaris11_1-i386 |
|
1830 solaris11-i386 - on i386 /export/images/solaris11-i386 |
|
1831 solaris11_1-i386 - on i386 /export/images/solaris11_1-i386 |
|
1832 .fi |
|
1833 .in -2 |
|
1834 .sp |
|
1835 |
|
1836 .LP |
|
1837 \fBExample 7 \fRAdd a New Install Service and Update the \fBdefault-sparc\fR Service |
1582 .sp |
1838 .sp |
1583 .LP |
1839 .LP |
1584 Use the following two sample commands to add a new service named \fBmy-sparc-service\fR, retaining existing services, and making the new service the default for SPARC clients. |
1840 Use the following two sample commands to add a new service named \fBmy-sparc-service\fR, retaining existing services, and making the new service the default for SPARC clients. |
1585 |
1841 |
1586 .sp |
1842 .sp |
1587 .in +2 |
1843 .in +2 |
1588 .nf |
1844 .nf |
1589 # \fBinstalladm create-service -n my-sparc-service \e\fR |
1845 $ \fBpfexec installadm create-service -n solaris11_1-sparc \e\fR |
1590 \fB-s /export/isos/mysparc.iso \e\fR |
1846 \fB-s /export/isos/sol-11_1-ai-sparc.iso \e\fR |
1591 \fB-d /export/ai/mysparc-image\fR |
1847 \fB-d /export/ai/solaris11_1-sparc\fR |
1592 # \fBinstalladm set-service \e\fR |
1848 $ \fBpfexec installadm set-service \e\fR |
1593 \fB-o aliasof=my-sparc-service default-sparc\fR |
1849 \fB-o aliasof=solaris11_1-sparc default-sparc\fR |
1594 .fi |
1850 .fi |
1595 .in -2 |
1851 .in -2 |
1596 .sp |
1852 .sp |
1597 |
1853 |
1598 .LP |
1854 .LP |
1599 \fBExample 7 \fRAdd a Custom Default AI Manifest to an Install Service |
1855 \fBExample 8 \fRAdd a Custom Default AI Manifest to an Install Service |
1600 .sp |
1856 .sp |
1601 .LP |
1857 .LP |
1602 Use the following sample command to add a new manifest to the \fBservice_092910\fR install service, and make it the service's default manifest. The manifest data is in \fBmy_manifest.xml\fR. Future \fBinstalladm\fR commands will refer to this manifest as \fBmy_manifest\fR. |
1858 Use the following sample command to add a new manifest to the \fBsol-11_1-i386\fR install service, and make it the service's default manifest. The manifest data is in \fBmy_default.xml\fR. Future \fBinstalladm\fR commands will refer to this manifest as \fBmy_default\fR. |
1603 |
1859 |
1604 .sp |
1860 .sp |
1605 .in +2 |
1861 .in +2 |
1606 .nf |
1862 .nf |
1607 # \fBinstalladm create-manifest -d -f my_manifest.xml \e\fR |
1863 $ \fBpfexec installadm create-manifest -d -f my_default.xml \e\fR |
1608 \fB-m my_manifest -n service_092910\fR |
1864 \fB-m my_default -n sol-11_1-i386\fR |
1609 .fi |
1865 .fi |
1610 .in -2 |
1866 .in -2 |
1611 .sp |
1867 .sp |
1612 |
1868 |
1613 .LP |
1869 .LP |
1614 \fBExample 8 \fRAdd a Derived Manifests Script to an Install Service |
1870 \fBExample 9 \fRAdd a Derived Manifests Script to an Install Service |
1615 .sp |
1871 .sp |
1616 .LP |
1872 .LP |
1617 Use the following sample command to add a derived manifests script named \fBmy_script\fR to an existing install service named \fBservice_092910\fR. Scripts are added the same way as manifests. |
1873 Use the following sample command to add a derived manifests script named \fBmy_script\fR to an existing install service named \fBsolaris11_1-i386\fR. Scripts are added in the same way that manifests are added. |
1618 |
1874 |
1619 .sp |
1875 .sp |
1620 .in +2 |
1876 .in +2 |
1621 .nf |
1877 .nf |
1622 # \fBinstalladm create-manifest -f my_script.py \e\fR |
1878 $ \fBpfexec installadm create-manifest -f my_script.py \e\fR |
1623 \fB-m my_script -n service_092910\fR |
1879 \fB-m my_script -n solaris11_1-i386\fR |
1624 .fi |
1880 .fi |
1625 .in -2 |
1881 .in -2 |
1626 .sp |
1882 .sp |
1627 |
1883 |
1628 .sp |
1884 .sp |
1629 .LP |
1885 .LP |
1630 See \fIInstalling Oracle Solaris 11 Systems\fR for information about how to create derived manifests scripts. |
1886 See \fIInstalling Oracle Solaris 11 Systems\fR for information about how to create derived manifests scripts. |
1631 |
1887 |
1632 .LP |
1888 .LP |
1633 \fBExample 9 \fRReplace the Default AI Manifest for an Install Service |
1889 \fBExample 10 \fRReplace the Default AI Manifest for an Install Service |
1634 .sp |
1890 .sp |
1635 .LP |
1891 .LP |
1636 Use the following sample command to replace the default manifest for an existing install service, \fBservice_092910\fR, with a custom manifest that has already been added to the service as \fBmy_manifest\fR. The manifest was added to the service by specifying \fB-m my_manifest\fR to the \fBcreate-manifest\fR subcommand. |
1892 Use the following sample command to replace the default manifest for an existing install service, \fBsol-11_1-sparc\fR, with a custom manifest that has already been added to the service as \fBcustom_manifest\fR. The manifest was added to the service by specifying \fB-m custom_manifest\fR to the \fBcreate-manifest\fR subcommand. |
1637 |
1893 |
1638 .sp |
1894 .sp |
1639 .in +2 |
1895 .in +2 |
1640 .nf |
1896 .nf |
1641 # \fBinstalladm set-service -o default-manifest=my_manifest \e\fR |
1897 $ \fBpfexec installadm set-service \e\fR |
1642 \fBservice_092910\fR |
1898 \fB-o default-manifest=custom_manifest sol-11_1-sparc\fR |
1643 .fi |
1899 .fi |
1644 .in -2 |
1900 .in -2 |
1645 .sp |
1901 .sp |
1646 |
1902 |
1647 .LP |
1903 .LP |
1648 \fBExample 10 \fRList Install Services |
1904 \fBExample 11 \fRList Install Services |
1649 .sp |
1905 .sp |
1650 .LP |
1906 .LP |
1651 Use the following sample command to list the install services on a local server. |
1907 Use the following sample command to list the install services on a local server. |
1652 |
1908 |
1653 .sp |
1909 .sp |
1654 .in +2 |
1910 .in +2 |
1655 .nf |
1911 .nf |
1656 $ \fBinstalladm list\fR |
1912 $ \fBinstalladm list\fR |
1657 Service Name Alias Of Status Arch Image Path |
1913 Service Name Alias Of Status Arch Image Path |
1658 ------------ -------- ------ ---- ---------- |
1914 ------------ -------- ------ ---- ---------- |
1659 default-i386 sol-11-i386-svc on i386 /export/images/soli386 |
1915 default-i386 sol-11_1-i386 on i386 /export/images/sol-11_1-i386 |
1660 default-sparc sol-11-sparc-svc on sparc /export/images/solsparc |
1916 default-sparc sol-11_1-sparc on sparc /export/images/sol-11_1-sparc |
1661 sol-11-i386-svc - on i386 /export/images/soli386 |
1917 sol-11_1-i386 - on i386 /export/images/sol-11_1-i386 |
1662 sol-11-sparc-svc - on sparc /export/images/solsparc |
1918 sol-11_1-sparc - on sparc /export/images/sol-11_1-sparc |
1663 .fi |
1919 .fi |
1664 .in -2 |
1920 .in -2 |
1665 .sp |
1921 .sp |
1666 |
1922 |
1667 .LP |
1923 .LP |
1668 \fBExample 11 \fRList Clients Associated With an Install Service |
1924 \fBExample 12 \fRList Clients Associated With an Install Service |
1669 .sp |
1925 .sp |
1670 .LP |
1926 .LP |
1671 Use the following sample command to list the clients of a specific install service on a local server. |
1927 Use the following sample command to list the clients of a specific install service on a local server. |
1672 |
1928 |
1673 .sp |
1929 .sp |
1674 .in +2 |
1930 .in +2 |
1675 .nf |
1931 .nf |
1676 $ \fBinstalladm list -c -n my-x86-service\fR |
1932 $ \fBinstalladm list -c -n sol-11_1-i386\fR |
1677 Service Name Client Address Arch Image Path |
1933 Service Name Client Address Arch Image Path |
1678 ------------ -------------- ---- ---------- |
1934 ------------ -------------- ---- ---------- |
1679 my-x86-service 01:C2:52:E6:4B:E1 i386 /export/images/myimage |
1935 sol-11_1-i386 01:C2:52:E6:4B:E1 i386 /export/images/sol-11_1-i386 |
1680 .fi |
1936 .fi |
1681 .in -2 |
1937 .in -2 |
1682 .sp |
1938 .sp |
1683 |
1939 |
1684 .LP |
1940 .LP |
1685 \fBExample 12 \fRList Manifests Associated With an Install Service |
1941 \fBExample 13 \fRList Manifests Associated With an Install Service |
1686 .sp |
1942 .sp |
1687 .LP |
1943 .LP |
1688 Use the following sample command to list the manifests and scripts associated with a specific install service on a local server. |
1944 Use the following sample command to list the manifests and derived manifests scripts associated with a specific install service on a local server. |
1689 |
1945 |
1690 .sp |
1946 .sp |
1691 .in +2 |
1947 .in +2 |
1692 .nf |
1948 .nf |
1693 $ \fBinstalladm list -m -n my-x86-service\fR |
1949 $ \fBinstalladm list -m -n sol-11_1-sparc\fR |
1694 Manifest Status Criteria |
1950 Service/Manifest Name Status Criteria |
1695 -------- ------ -------- |
1951 --------------------- ------ -------- |
1696 manifest2 arch = i86pc |
1952 sol-11_1-sparc |
1697 mem = 4096 MB - unbounded |
1953 mem mem = 4096 MB - unbounded |
1698 |
1954 custom_manifest Default (Ignored: |
1699 sparc_setup arch = sun4v |
1955 mem = 2048 MB - 4095 MB) |
1700 |
1956 orig_default Inactive None |
1701 new_default Default (Ignored: mem = 2048 MB - 4095 MB) |
|
1702 |
|
1703 orig_default Inactive None |
|
1704 .fi |
1957 .fi |
1705 .in -2 |
1958 .in -2 |
1706 .sp |
1959 .sp |
1707 |
1960 |
1708 .sp |
1961 .sp |
1710 This example shows the following output: |
1963 This example shows the following output: |
1711 .RS +4 |
1964 .RS +4 |
1712 .TP |
1965 .TP |
1713 .ie t \(bu |
1966 .ie t \(bu |
1714 .el o |
1967 .el o |
1715 A non-default manifest with criteria (\fBmanifest2\fR) |
1968 A non-default manifest with criteria (\fBmem\fR) |
1716 .RE |
1969 .RE |
1717 .RS +4 |
1970 .RS +4 |
1718 .TP |
1971 .TP |
1719 .ie t \(bu |
1972 .ie t \(bu |
1720 .el o |
1973 .el o |
1721 A non-default script with criteria (\fBsparc_setup\fR) |
1974 A default manifest with criteria that are ignored (\fBcustom_manifest\fR) |
1722 .RE |
|
1723 .RS +4 |
|
1724 .TP |
|
1725 .ie t \(bu |
|
1726 .el o |
|
1727 A default manifest with criteria that are ignored (\fBnew_default\fR) |
|
1728 .RE |
1975 .RE |
1729 .RS +4 |
1976 .RS +4 |
1730 .TP |
1977 .TP |
1731 .ie t \(bu |
1978 .ie t \(bu |
1732 .el o |
1979 .el o |
1733 A non-default manifest (\fBorig_default\fR) that is marked inactive because it has no criteria |
1980 A non-default manifest (\fBorig_default\fR) that is marked inactive because it has no criteria |
1734 .RE |
1981 .RE |
1735 .LP |
1982 .LP |
1736 \fBExample 13 \fRList Profiles |
1983 \fBExample 14 \fRList Profiles |
1737 .sp |
1984 .sp |
1738 .LP |
1985 .LP |
1739 Use the following sample command to list the profiles on a local server. |
1986 Use the following sample command to list the system configuration profiles for all install services on a local server. |
1740 |
1987 |
1741 .sp |
1988 .sp |
1742 .in +2 |
1989 .in +2 |
1743 .nf |
1990 .nf |
1744 $ \fBinstalladm list -p\fR |
1991 $ \fBinstalladm list -p\fR |
1745 Service/Profile Name Criteria |
1992 Service/Profile Name Criteria |
1746 -------------------- -------- |
1993 -------------------- -------- |
1747 default-i386 |
1994 sol-11_1-i386 |
1748 sc_sample.xml None |
1995 sc_all-x86.xml None |
1749 |
1996 |
1750 default-sparc |
1997 sol-11_1-sparc |
1751 newprofile-1 ipv4 = 10.0.2.100 - 10.0.2.199 |
1998 sc_all-sparc.xml None |
1752 mem = 1024 MB - unbounded |
1999 sc_network.xml network = 10.0.0.0 |
1753 network = 10.0.0.0 |
2000 ipv4 = 10.0.2.100 - 10.0.2.199 |
1754 newprofile-2 None |
2001 .fi |
1755 .fi |
2002 .in -2 |
1756 .in -2 |
2003 .sp |
1757 .sp |
2004 |
1758 |
2005 .LP |
1759 .LP |
2006 \fBExample 15 \fRAdd a Custom AI Manifest With No Name to an Install Service |
1760 \fBExample 14 \fRAdd a Custom AI Manifest With No Name to an Install Service |
2007 .sp |
1761 .sp |
2008 .LP |
1762 .LP |
2009 Use the following sample command to add the manifest in \fB/export/my_manifest.xml\fR to \fBsol-11_1-i386\fR with a criterion of MAC address equaling \fBaa:bb:cc:dd:ee:ff\fR. |
1763 Use the following sample command to add the manifest in \fB/export/my_manifest.xml\fR to \fBsvc1\fR with a criterion of MAC address equaling \fBaa:bb:cc:dd:ee:ff\fR. |
2010 |
1764 |
2011 .sp |
1765 .sp |
2012 .in +2 |
1766 .in +2 |
2013 .nf |
1767 .nf |
2014 $ \fBpfexec installadm create-manifest \e\fR |
1768 # \fBinstalladm create-manifest -f /export/my_manifest.xml \e\fR |
2015 \fB-f /export/my_manifest.xml -n sol-11_1-i386 \e\fR |
1769 \fB-n svc1 -c MAC="aa:bb:cc:dd:ee:ff"\fR |
2016 \fB-c mac="aa:bb:cc:dd:ee:ff"\fR |
1770 .fi |
2017 .fi |
1771 .in -2 |
2018 .in -2 |
1772 .sp |
2019 .sp |
1773 |
2020 |
1774 .sp |
2021 .sp |
1846 .in -2 |
2099 .in -2 |
1847 |
2100 |
1848 .sp |
2101 .sp |
1849 .in +2 |
2102 .in +2 |
1850 .nf |
2103 .nf |
1851 # \fBinstalladm list -m -n svc1\fR |
2104 $ \fBinstalladm list -m -n sol-11_1-i386\fR |
1852 Manifest Status Criteria |
2105 Service/Manifest Name Status Criteria |
1853 -------- ------ -------- |
2106 --------------------- ------ -------- |
1854 my_name arch = i86pc |
2107 sol-11_1-i386 |
1855 mem = 2048 MB - unbounded |
2108 my_name arch = i86pc |
1856 .fi |
2109 mem = 2048 MB - unbounded |
1857 .in -2 |
2110 orig_default Default None |
1858 .sp |
2111 .fi |
1859 |
2112 .in -2 |
1860 .LP |
2113 .sp |
1861 \fBExample 17 \fRAdd a System Configuration Profile To an Install Service |
2114 |
1862 .sp |
2115 .LP |
1863 .LP |
2116 \fBExample 18 \fRAdd a System Configuration Profile To an Install Service |
1864 Use the following sample command to add the profile in \fB/export/profile4.xml\fR to \fBsvc1\fR with criteria of any of the host names \fBmyhost1\fR, \fBhost3\fR, or \fBhost6\fR. |
2117 .sp |
1865 |
2118 .LP |
1866 .sp |
2119 Use the following sample command to add the profile in \fB/export/profile4.xml\fR to \fBsol-11_1-i386\fR with criteria of any of the host names \fBmyhost1\fR, \fBhost3\fR, or \fBhost6\fR. |
1867 .in +2 |
2120 |
1868 .nf |
2121 .sp |
1869 # \fBinstalladm create-profile -f /export/profile4.xml \e\fR |
2122 .in +2 |
1870 \fB-n svc1 -p profile4 -c hostname="myhost1 host3 host6"\fR |
2123 .nf |
1871 # \fBinstalladm list -p -n svc1\fR |
2124 $ \fBpfexec installadm create-profile \e\fR |
1872 Profile Criteria |
2125 \fB-f /export/profile4.xml -n sol-11_1-i386 -p profile4 \e\fR |
1873 ------- -------- |
2126 \fB-c hostname="myhost1 host3 host6"\fR |
1874 profile4.xml hostname = myhost1 host3 host6 |
2127 $ \fBinstalladm list -p -n sol-11_1-i386\fR |
1875 .fi |
2128 Service/Profile Name Criteria |
1876 .in -2 |
2129 -------------------- -------- |
1877 .sp |
2130 sol-11_1-i386 |
1878 |
2131 profile4 hostname = myhost1 host3 host6 |
1879 .LP |
2132 .fi |
1880 \fBExample 18 \fRAdd a System Configuration Profile For All Clients |
2133 .in -2 |
1881 .sp |
2134 .sp |
1882 .LP |
2135 |
1883 If you do not specify criteria, then the profile is used by all clients that use the specified install service. In the following example, the created profile is used by all clients that use the \fBsvc1\fR service. |
2136 .LP |
1884 |
2137 \fBExample 19 \fRAdd a System Configuration Profile For All Clients |
1885 .sp |
2138 .sp |
1886 .in +2 |
2139 .LP |
1887 .nf |
2140 If you do not specify criteria, then the profile is used by all clients that use the specified install service. In the following example, the created profile is used by all clients that use the \fBsol-11_1-i386\fR service. |
1888 # \fBinstalladm create-profile -f /export/locale.xml -n svc1\fR |
2141 |
1889 # \fBinstalladm list -p -n svc1\fR |
2142 .sp |
1890 Profile Criteria |
2143 .in +2 |
1891 ------- -------- |
2144 .nf |
1892 profile4.xml hostname = myhost1 host3 host6 |
2145 $ \fBpfexec installadm create-profile -f /export/locale.xml \e\fR |
1893 locale.xml |
2146 \fB-n sol-11_1-i386\fR |
1894 .fi |
2147 $ \fBinstalladm list -p -n sol-11_1-i386\fR |
1895 .in -2 |
2148 Service/Profile Name Criteria |
1896 .sp |
2149 -------------------- -------- |
1897 |
2150 sol-11_1-i386 |
1898 .LP |
2151 profile4.xml hostname = myhost1 host3 host6 |
1899 \fBExample 19 \fRAdd a System Configuration Profile With Variables |
2152 locale.xml |
|
2153 .fi |
|
2154 .in -2 |
|
2155 .sp |
|
2156 |
|
2157 .LP |
|
2158 \fBExample 20 \fRAdd a System Configuration Profile With Variables |
1900 .sp |
2159 .sp |
1901 .LP |
2160 .LP |
1902 A profile can use variables that are replaced with custom client configuration information at client installation time. Using such variables, a profile file can be reused for any number of different systems. |
2161 A profile can use variables that are replaced with custom client configuration information at client installation time. Using such variables, a profile file can be reused for any number of different systems. |
1903 |
2162 |
1904 .sp |
2163 .sp |
1926 .sp |
2185 .sp |
1927 .LP |
2186 .LP |
1928 For more information about using replacement tags with profiles, see \fIUsing System Configuration Profile Templates\fR in \fIInstalling Oracle Solaris 11 Systems\fR. |
2187 For more information about using replacement tags with profiles, see \fIUsing System Configuration Profile Templates\fR in \fIInstalling Oracle Solaris 11 Systems\fR. |
1929 |
2188 |
1930 .LP |
2189 .LP |
1931 \fBExample 20 \fRAdd Criteria To an Existing Manifest |
2190 \fBExample 21 \fRAdd Criteria To an Existing Manifest |
1932 .sp |
2191 .sp |
1933 .LP |
2192 .LP |
1934 Use the following sample command to append the criterion of 4096 MB memory or greater to the criteria of \fBmanifest2\fR of \fBsvc1\fR. |
2193 Use the following sample command to append the criterion of 4096 MB memory or greater to the criteria of \fBmanifest2\fR of \fBsol-11_1-i386\fR. |
1935 |
2194 |
1936 .sp |
2195 .sp |
1937 .in +2 |
2196 .in +2 |
1938 .nf |
2197 .nf |
1939 # \fBinstalladm set-criteria -m manifest2 -n svc1 \e\fR |
2198 $ \fBpfexec installadm set-criteria -m manifest2 \e\fR |
1940 \fB-a MEM="4096-unbounded"\fR |
2199 \fB-n sol-11_1-i386 -a mem="4096-unbounded"\fR |
1941 .fi |
2200 .fi |
1942 .in -2 |
2201 .in -2 |
1943 .sp |
2202 .sp |
1944 |
2203 |
1945 .LP |
2204 .LP |
1946 \fBExample 21 \fRReplace the Criteria for an Existing Manifest |
2205 \fBExample 22 \fRReplace the Criteria for an Existing Manifest |
1947 .sp |
2206 .sp |
1948 .LP |
2207 .LP |
1949 Use the following sample command to replace the criteria of \fBmanifest2\fR of \fBsvc1\fR with the criteria specified in the file \fB/tmp/criteria.xml\fR. |
2208 Use the following sample command to replace the criteria of \fBmanifest2\fR of \fBsol-11_1-i386\fR with the criteria specified in the file \fB/tmp/criteria.xml\fR. |
1950 |
2209 |
1951 .sp |
2210 .sp |
1952 .in +2 |
2211 .in +2 |
1953 .nf |
2212 .nf |
1954 # \fBinstalladm set-criteria -m manifest2 -n svc1 \e\fR |
2213 $ \fBpfexec installadm set-criteria -m manifest2 \e\fR |
1955 \fB-C /tmp/criteria.xml\fR |
2214 \fB-n sol-11_1-i386 -C /tmp/criteria.xml\fR |
1956 .fi |
2215 .fi |
1957 .in -2 |
2216 .in -2 |
1958 .sp |
2217 .sp |
1959 |
2218 |
1960 .sp |
2219 .sp |
1961 .LP |
2220 .LP |
1962 See \fIInstalling Oracle Solaris 11 Systems\fR for information about the contents of the criteria XML file. |
2221 See \fIInstalling Oracle Solaris 11 Systems\fR for information about the contents of the criteria XML file. |
1963 |
2222 |
1964 .LP |
2223 .LP |
1965 \fBExample 22 \fRValidate Profile Files Under Development |
2224 \fBExample 23 \fRValidate Profile Files Under Development |
1966 .sp |
2225 .sp |
1967 .LP |
2226 .LP |
1968 Use the following sample command to validate the profiles stored in the files \fBmyprofdir/myprofile.xml\fR and \fBherprofdir/herprofile.xml\fR during their development. |
2227 Use the following sample command to validate the profiles stored in the files \fBmyprofdir/myprofile.xml\fR and \fByourprofdir/yourprofile.xml\fR during their development. |
1969 |
2228 |
1970 .sp |
2229 .sp |
1971 .in +2 |
2230 .in +2 |
1972 .nf |
2231 .nf |
1973 # \fBinstalladm validate -P myprofdir/myprofile.xml \e\fR |
2232 $ \fBpfexec installadm validate -P myprofdir/myprofile.xml \e\fR |
1974 \fB-P herprofdir/herprofile.xml -n svc1\fR |
2233 \fB-P yourprofdir/yourprofile.xml -n sol-11_1-i386\fR |
1975 .fi |
2234 .fi |
1976 .in -2 |
2235 .in -2 |
1977 .sp |
2236 .sp |
1978 |
2237 |
1979 .LP |
2238 .LP |
1980 \fBExample 23 \fRExport Profile Contents |
2239 \fBExample 24 \fRExport Profile Contents |
1981 .sp |
2240 .sp |
1982 .LP |
2241 .LP |
1983 Use the following sample command to export the profile \fBmyprofile.xml\fR in the service \fBsvc1\fR. |
2242 Use the following sample command to export the profile \fBmyprofile.xml\fR in the service \fBsol-11_1-i386\fR. |
1984 |
2243 |
1985 .sp |
2244 .sp |
1986 .in +2 |
2245 .in +2 |
1987 .nf |
2246 .nf |
1988 # \fBinstalladm export -p myprofile -n svc1\fR |
2247 $ \fBinstalladm export -p myprofile -n sol-11_1-i386\fR |
1989 .fi |
2248 .fi |
1990 .in -2 |
2249 .in -2 |
1991 .sp |
2250 .sp |
1992 |
2251 |
1993 .LP |
2252 .LP |
1994 \fBExample 24 \fRReplace the Contents of an Existing AI Manifest |
2253 \fBExample 25 \fRReplace the Contents of an Existing AI Manifest |
1995 .sp |
2254 .sp |
1996 .LP |
2255 .LP |
1997 Use the following sample command to update the manifest in service \fBsvc2\fR that has the manifest name, or AI instance name, \fBspec\fR with the contents of the manifest in the file \fB/home/admin/new_spec.xml\fR. |
2256 Use the following sample command to update the manifest in service \fBsol-11_1-i386\fR that has the manifest name, or AI instance name, \fBspec\fR with the contents of the manifest in the file \fB/home/admin/new_spec.xml\fR. |
1998 |
2257 |
1999 .sp |
2258 .sp |
2000 .in +2 |
2259 .in +2 |
2001 .nf |
2260 .nf |
2002 # \fBinstalladm update-manifest -n svc2 \e\fR |
2261 $ \fBpfexec installadm update-manifest -n sol-11_1-i386 \e\fR |
2003 \fB-f /home/admin/new_spec.xml -m spec\fR |
2262 \fB-f /home/admin/new_spec.xml -m spec\fR |
2004 .fi |
2263 .fi |
2005 .in -2 |
2264 .in -2 |
2006 .sp |
2265 .sp |
2007 |
2266 |
2008 .LP |
2267 .LP |
2009 \fBExample 25 \fRExport and Update an Existing AI Manifest |
2268 \fBExample 26 \fRExport and Update an Existing AI Manifest |
2010 .sp |
2269 .sp |
2011 .LP |
2270 .LP |
2012 Use the following sample commands to export the data of an existing manifest named \fBspec\fR in service \fBsvc2\fR, and then update the manifest with modified content. |
2271 Use the following sample commands to export the data of an existing manifest named \fBspec\fR in service \fBsol-11_1-i386\fR, and then update the manifest with modified content. |
2013 |
2272 |
2014 .sp |
2273 .sp |
2015 .in +2 |
2274 .in +2 |
2016 .nf |
2275 .nf |
2017 # \fBinstalladm export -n svc2 -m spec -o /home/admin/spec.xml\fR |
2276 $ \fBpfexec installadm export -n sol-11_1-i386 -m spec \e\fR |
|
2277 \fB-o /home/admin/spec.xml\fR |
2018 .fi |
2278 .fi |
2019 .in -2 |
2279 .in -2 |
2020 .sp |
2280 .sp |
2021 |
2281 |
2022 .sp |
2282 .sp |