Sponsored Content
Operating Systems Solaris Pooladm.conf : No such file or directory Post 302980441 by lythuongkiet on Saturday 27th of August 2016 10:29:44 PM
Old 08-27-2016
Pooladm.conf : No such file or directory

hi, i am trying to run :
Code:
# poolcfg -c 'create pset dbPset_set(uint pset.min=4;uint pset.max=4)'

and i got this error message:
poolcfg: cannot load configuration from /etc/pooladm.conf: No such file or directory

These two services are enable:
svc:/system/pools:default
svc:/system/pools/dynamic:default

Any help is truly appreciated. I am new to Linux/Unix.
Thanks in advance.

Last edited by jim mcnamara; 08-28-2016 at 12:02 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Configuring snmpd.conf and snmptrapd.conf

HI, I want a help for Configuring snmpd.conf and snmptrapd.conf (i.e Configuring SNMP) for receiving TRAPS in my networks. I am using RHEL4.0 OS. Please tell me How I can configure above two files in a proper way and at an advanced level. Especially I am getting... (2 Replies)
Discussion started by: jagdish.machhi@
2 Replies

2. UNIX for Advanced & Expert Users

Any risk in chging /etc/conf/pack.d directory symbolic link?

We are migrating off an unsupported Stratus Continuum Model 418 PA-RISC running FTX 3.3.0. We're trying to hang on as long as possible, but we're down to 2.8% free in /, so need to free up some space until we're ready to migrate our DB. Currently /etc/conf/pack.d is symbolically linked to... (0 Replies)
Discussion started by: kgert
0 Replies

3. Solaris

pooladm as different user

I want to run the following as a user other than root: pooladm -e;poolstat -r pset|grep -v "id"|wc -l|awk '{print $1}' When I run it I get: pooladm: insufficient privileges 1 How do I give the user privileges to run it without them having to type in sudo first? (0 Replies)
Discussion started by: darkoth
0 Replies

4. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

5. UNIX for Advanced & Expert Users

How can i tell which conf file it is using

i have this program running on my solaris and there are two identical config files, i am not sure which one is being used by this program but I am sure it uses one of them. I run lsof -p {pid} but it does not show which config file has been read by this program, what i am doing wrong? thanks (4 Replies)
Discussion started by: fedora
4 Replies

6. Solaris

Error: svcs: Pattern 'pooladm.conf' doesn't match any instances

Hi, I got the following errors during zfs resource pool configuration. Please help. Thanks. # svcs *pool* svcs: Pattern 'pooladm.conf' doesn't match any instances STATE STIME FMRI # svcadm enable system/pools:default # svcs *pool* svcs: Pattern 'pooladm.conf' doesn't match any... (4 Replies)
Discussion started by: aixlover
4 Replies

7. Solaris

Changing pooladm configurations

Hi All, I have 22 CPU's associated with a pool, which was created with pooladm. But by mistake somebody made it with pool name - wps-16cpu (I want to rename it to wps-22cpu). Its pset name is wps-16cpu-pset (I want to rename it to wps-22cpu-pset). How do I change it ? Also, can I associate... (3 Replies)
Discussion started by: solaris_1977
3 Replies

8. Shell Programming and Scripting

perl Compare zone files in directory with what is listed in named.conf

I would really appreciate any assistance that I can get here. I am fairly new to perl. I am trying to rewrite my shell scripts to perl. Currently I have a shell script (using sed, awk, grep, etc) that gets a list of all of the zone files in a directory and then looks in named.conf for what... (0 Replies)
Discussion started by: brianjb
0 Replies

9. Shell Programming and Scripting

Script to update rsyslog.conf and auditd.conf

Hello all, Newbie here. I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies

10. Solaris

Configure resolv.conf and nsswitch.conf

Hi, I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf. I used below to configure both settings: # svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies
poolcfg(1M)															       poolcfg(1M)

NAME
poolcfg - create and modify resource pool configuration files SYNOPSIS
/usr/sbin/poolcfg -c command [-d | [filename]] /usr/sbin/poolcfg -f command_file [-d | [filename]] /usr/sbin/poolcfg -h The poolcfg command provides configuration operations on pools and sets. These operations are performed upon an existing configuration and take the form of modifications to the specified configuration file. If you use the -d option, the modifications occur to the kernel state. Actual activation of the resulting configuration is achieved by way of the pooladm(1M) command. Pools configuration files are structured files that must have been constructed using poolcfg itself or libpool(3LIB) directly. The configurations which are created by this tool can be used by pooladm to instantiate the configuration upon a target host. The following options are supported: -c command Specify command as an editing command. See USAGE. -d Operate directly on the kernel state. No filename is allowed. -f command_file Take the commands from command_file. command_file consists of editing commands, one per line. -h Display extended information about the syntax of editing commands. Scripts A script consists of editing commands, one per line, of the following: info [entity-name] Display configuration (or specified portion) in human readable form to standard output. If no entity is specified, system information is displayed. Therefore, poolcfg -c 'info' afile is an equivalent invocation to poolcfg -c 'info system name' afile. create entity-name [property-list] Make an entity of the specified type and name. destroy entity-name Remove the specified entity. modify entity-name [property-list] Change the listed properties on the named entity. associate pool-name [resource-list] Connect one or more resources to a pool, or replace one or more existing connections. transfer to [resourcetype] name [component-list] Transfer one or more discrete components to a resource . transfer [quantity] from [resourcetype] [src] to [tgt] Transfer a resource quantity from src to tgt . transfer [quantity] to [resourcetype] [tgt] from [src] Transfer a resource quantity to tgt from src. discover Create a system entity, with one pool entity and resources to match current system configuration. All discovered resources of each resource type are recorded in the file, with the single pool referring to the default resource for each resource type. This command is a NO-OP when poolcfg operates directly on the kernel. See the -d option. You should avoid use of this command. The preferred method for creating a configuration is to export the dynamic configuration using pooladm(1M) with the -s option. rename entity-name to new-name Change the name of an entity on the system to its new name. Property Lists The property list is specified by: ( proptype name = value [ ; proptype name = value ]* ) where the last definition in the sequence for a given proptype, name pair is the one that holds. For property deletion, use ~ proptype name. Resource Lists A resource list is specified by: ( resourcetype name [ ; resourcetype name ]* ) where the last specification in the sequence for a resource is the one that holds. There is no deletion syntax for resource lists. Component Lists A component list is specified by: ( componenttype name [ ; componenttype name ]* ) where the last specification in the sequence for a resource is the one that holds. There is no deletion syntax for component lists. Recognized Entities system Machine level entity pool Named collection of resource associations Resource Types pset Processor set resource Property Types boolean Takes one of two values true or false. int A 64-bit signed integer value. uint A 64-bit unsigned integer value. string Strings are delimited by quotes ("), and support the character escape sequences defined in formats(5). float Scientific notation is not supported. Example 1: Writing a poolcfg Script The following poolcfg script creates a pool named Accounting, and a processor set, small-1. The processor set is created first, then the pool is created and associated with the set. create pset small-1 ( uint pset.min = 1 ; uint pset.max = 4) create pool Accounting associate pool Accounting ( pset small-1 ) Example 2: Reporting on pool_0 The following command reports on pool_0 to standard output in human readable form: # poolcfg -c 'info pool pool_0' /etc/pooladm.conf Example 3: Destroying pool_0 and Its Associations The following command destroys pool_0 and associations, but not the formerly associated resources: # poolcfg -c 'destroy pool pool_0' /etc/pooladm.conf Example 4: Displaying the Current Configuration The following command displays the current configuration: $ poolcfg -c 'info' /etc/pooladm.conf system example_system int system.version 1 boolean system.bind-default true string system.comment Discovered by libpool pool pool_default boolean pool.default true boolean pool.active true int pool.importance 5 string pool.comment string.pool.scheduler FSS pset pset_default pset pset_default int pset.sys_id -1 string pset.units population boolean pset.default true uint pset.max 4294967295 uint pset.min 1 string pset.comment boolean pset.escapable false uint pset.load 0 uint pset.size 2 cpu int cpu.sys_id 0 string cpu.comment cpu int cpu.sys_id 2 string cpu.comment Example 5: Moving cpu with ID 2 to Processor Set pset1 in the Kernel The following command moves cpu with ID 2 to processor set pset1 in the kernel: # poolcfg -dc 'transfer to pset pset1 ( cpu 2 )' Example 6: Moving 2 cpus from Processor Set pset1 to Processor Set pset2 in the Kernel The following command moves 2 cpus from processor set pset1 to processor set pset2 in the kernel: # poolcfg -dc 'transfer 2 from pset pset1 to pset2' See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpool | +-----------------------------+-----------------------------+ |Interface Stability |See below. | +-----------------------------+-----------------------------+ The invocation is Evolving. The output is Unstable. pooladm(1M), poolbind(1M), libpool(3LIB), attributes(5), formats(5) 15 Feb 2005 poolcfg(1M)
All times are GMT -4. The time now is 03:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy