Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ././../../../../../../usr/man/man8/pooladm.8
Real path: /usr/share/man/man8/pooladm.8
Zurück
'\" te .\" Copyright (c) 2005, 2021, Oracle and/or its affiliates. .TH pooladm 8 "11 May 2021" "Oracle Solaris 11.4" "System Administration Commands" .SH NAME pooladm \- apply and un-apply a pool configuration .SH SYNOPSIS .LP .nf \fB/usr/sbin/pooladm\fR [\fB-n\fR] [\fB-s\fR] [\fB-c\fR] [\fIfilename\fR] .fi .LP .nf /usr/sbin/pooladm [-x | -d | -e] .fi .LP .nf \fB/usr/sbin/pooladm\fR .fi .SH DESCRIPTION .sp .LP The \fBpooladm\fR command reads the specified filename and attempts to create the pools and psets specified within it. It also updates the properties of all pools objects (system, pools, psets, and CPUs) to match those specified in the file. .sp .LP The default pool configuration file is \fB/etc/pooladm.conf\fR. It is used if no filename is specified. .sp .LP Any pools, psets, or properties on the running system which do not exist in the specified file will be removed when the file is applied. .sp .LP The live state of the system is referred to as the "running" configuration. Without options, \fBpooladm\fR prints out the running configuration. .sp .LP Before updating the running configuration, pooladm validates the configuration file for correctness. .sp .LP \fBpooladm\fR does not manipulate pools or psets created by the \fBpsrset\fR(8) utility, nor does it destroy psets created through the Oracle Solaris Zones dedicated-cpu resource. It also does not save such pools or psets to the configuration file when using the \fB-s\fR option. .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .mk .na \fB\fB-c\fR\fR .ad .RS 6n .rt Apply the configuration at the given location. If a filename is not specified, it defaults to \fB/etc/pooladm.conf\fR. .sp Applying a configuration removes any pools and psets that exist on the running system that are not part of the configuration. It also removes and system, pool, pset, or cpu properties which are set on the running system, but are not defined in the new configuration being applied. These pools, psets, or properties could have been created through prior invocations of \fBpooladm -c\fR or \fBpoolcfg -dc\fR. .sp Pools and psets created by \fBpsrset\fR(8) and the Oracle Solaris Zones dedicated-cpu resource are not removed, as they are not part of pool configuration files. The \fB-c\fR option may add or take away CPUs, cores, or sockets from Oracle Solaris Zones dedicated-cpu related psets if they are configured with a variable range of CPUs. .RE .sp .ne 2 .mk .na \fB\fB-d\fR\fR .ad .RS 6n .rt Disable the resource pools service. This option will disable the \fBsvc:/system/pools:default\fR, which will perform the same action as the \fB-x\fR option, and prevent the default pool configuration file from being applied at next system boot. .RE .sp .ne 2 .mk .na \fB\fB-e\fR\fR .ad .RS 6n .rt Enable the resource pools service. This will enable the \fBsvc:/system/pools:default\fR service, which will apply the default pool configuration, and continue to do so on each system boot. .RE .sp .ne 2 .mk .na \fB\fB-n\fR\fR .ad .RS 6n .rt Validate the configuration file without applying it to the running configuration. Checks that there are no syntactic errors and that the configuration can be applied on the running system. No validation of application specific properties is performed. .RE .sp .ne 2 .mk .na \fB\fB-s\fR\fR .ad .RS 6n .rt Save the configuration of the running system to the specified file. If no file is specified, the default pool configuration file \fB/etc/pooladm.conf\fR is used. .sp This option requires write permission for the specified file. .sp If this option is used with the \fB-c\fR option, the \fB-c\fR operation is performed first, then the \fB-s\fR operation. The \fB-s\fR operation will capture aspects of the running configuration to the static configuration, such as any new CPUs on the system, or read-only properties related to the runtime state. .RE .sp .ne 2 .mk .na \fB\fB-x\fR\fR .ad .RS 6n .rt Remove the running pool configuration. Destroys all pools and psets, returns all properties to their default values, and returns all CPUs to the default pset. This does not manipulate or destroy pools or psets created by the \fBpsrset\fR(8) utility or the Oracle Solaris Zones dedicated-cpu resource, or manipulate the CPUs allocated or assigned to such psets. .RE .SH OPERANDS .sp .LP The following operands are supported: .sp .ne 2 .mk .na \fB\fIfilename\fR\fR .ad .RS 12n .rt Use the configuration contained within this file. .RE .SH EXAMPLES .LP \fBExample 1\fR Creating a New Pools Configuration File .sp .LP The following commands clears the currently running pools configuration, and creates a new default pool configuration file with only the default pool, pset, and properties. .sp .in +2 .nf example# \fB/usr/sbin/pooladm -x\fR example# \fB/usr/sbin/pooladm -s\fR .fi .in -2 .sp .LP \fBExample 2\fR Applying a Configuration .sp .LP The following command applies the configuration contained at \fB/home/admin/newconfig\fR: .sp .in +2 .nf example# \fB/usr/sbin/pooladm -c /home/admin/newconfig\fR .fi .in -2 .sp .LP \fBExample 3\fR Validating a Configuration Without Applying It .sp .LP The following command attempts to apply the configuration contained at \fB/home/admin/newconfig\fR. It displays any error conditions that it encounters, but does not modify the running configuration. .sp .in +2 .nf example# \fB/usr/sbin/pooladm -n -c /home/admin/newconfig\fR .fi .in -2 .sp .LP \fBExample 4\fR Removing the Current Configuration .sp .LP The following command removes the current pool configuration: .sp .in +2 .nf example# \fB/usr/sbin/pooladm\fR\fB-x\fR .fi .in -2 .sp .LP \fBExample 5\fR Enabling the Resource Pools Service .sp .LP The following command enables the resource pools service, causing the default pool configuration to be applied on each system boot. .sp .in +2 .nf example# \fB/usr/sbin/pooladm -e\fR .fi .in -2 .sp .LP \fBExample 6\fR Enabling the Resource Pools Service Using SMF .sp .LP The following command enables the resource pools service through use of the Service Management Facility. See \fBsmf\fR(7). .sp .in +2 .nf example# \fB/usr/sbin/svcadm enable svc:/system/pools:default\fR .fi .in -2 .sp .LP \fBExample 7\fR Saving the Running Configuration to a Specified Location .sp .LP The following command saves the running configuration to \fB/tmp/state.backup\fR: .sp .in +2 .nf example# \fB/usr/sbin/pooladm -s /tmp/state.backup\fR .fi .in -2 .sp .SH FILES .sp .ne 2 .mk .na \fB\fB/etc/pooladm.conf\fR\fR .ad .RS 21n .rt Default configuration file for \fBpooladm\fR. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability system/resource-mgmt/resource-pools _ Interface Stability See below. .TE .sp .sp .LP The invocation is Committed. The output is Uncommitted. .SH SEE ALSO .sp .LP \fBpset_destroy\fR(2), \fBlibpool\fR(3LIB), \fBattributes\fR(7), \fBresource-management\fR(7), \fBsmf\fR(7), \fBpoolbind\fR(8), \fBpoolcfg\fR(8), \fBpsrset\fR(8), , \fBsvcadm\fR(8) .SH NOTES .sp .LP A process or zone assigned a specific scheduler by the \fBpool.scheduler\fR property will retain that scheduler when bound to another pool without the pool.scheduler property, including when the original pool is destroyed and the process or zone is bound automatically to the default pset. If this behavior is not desired, set the \fBpool.scheduler\fR property on all pools, including \fBpool_default\fR. .sp .LP Psets managed by pools are independently managed from psets managed by \fBpsrset\fR(8). CPUs cannot be transferred between the psets of differing subsystems. CPUs must be removed from \fBpsrset\fR(8) psets before they are available for use by the pools framework. CPUs must be in the default pset or another \fBpsrset\fR(8) pset before they can be assigned to a \fBpsrset\fR(8) pset. .sp .LP Because the resource pools service is a standard \fBsmf\fR(7) service, it can also be enabled and disabled using the standard SMF interfaces.