08-13-2010
How to Destroy a processor set i.e pset
First of all I'm new to solaris. Today is the first day i'm practicing zones.
In global zone i have created a two separate pools of 2CPU's and created a email-zone and a web-zone as given in a PDF. I deleted the 2 zones in the processor sets. How can i destroy the processor set and i want my system to be exactly like how it was before i installed zones.
When i type in
command # poolcfg -c info (it displays like below)
I want to delete "pset email-pset" and "pset web1-pset"
Please help. Thnxs in advance
Last edited by breaker64; 08-13-2010 at 07:51 PM..
10 More Discussions You Might Find Interesting
1. AIX
Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities.
Environment is a 8-way p570 with 4 LPARs.
lparVIO1 and lparVIO2:
AIX 5300-04-01
Mode/Type= Shared-SMT/Capped
Minimum Processors= 0.10
Desired Processors= 0.50
Maximum... (1 Reply)
Discussion started by: guttew
1 Replies
2. AIX
Guys...
Hows it going???
I have been going through the hardware spec of IBM system p systems.. and here i am confused
for IBM Power 520 Express it says
Processor cores:
One, two or four 64-bit 4.2 GHz POWER6 with AltiVec™ SIMD and Hardware Decimal Floating-Point acceleration
... (1 Reply)
Discussion started by: balaji_prk
1 Replies
3. Solaris
I 'm unable to modify pset size configuration.
# poolcfg -c 'modify pset pset-app (uint pset.size = 16 )'
poolcfg: put property pset.size failed: Bad parameter supplied (2 Replies)
Discussion started by: fugitive
2 Replies
4. Shell Programming and Scripting
After a few hours of frustration because I didn't understand why my symlinks are destroyed i just found out that sed -i will destroy symlinks.
I searched but i didn't found any good solution for this.
Is there any way to overcome this ? On my ubuntu server sed version is 4.1.5
edit: Sorry... (0 Replies)
Discussion started by: ktm
0 Replies
5. Shell Programming and Scripting
Inspite of my best efforts, eclipse 3.5 seems to continue to misbehave and insert tab characters in my source code.
How do I write a script execute from emacs to search all my files for tab characters and conveniently position me on the line of code that has the offending tab?
Here are my... (7 Replies)
Discussion started by: siegfried
7 Replies
6. Solaris
bash-3.00# poolcfg -d -c 'transfer 8 from pset pset_default to pset-app'
poolcfg: cannot transfer 8 from pset_default to pset-app: Invalid configuration
bash-3.00#
why i 'm getting this error ? (2 Replies)
Discussion started by: fugitive
2 Replies
7. Solaris
I configured the the pset1 with 2 different ways
1. poolcfg -c 'create pset pset1 (uint pset.min = 5; uint pset.max = 5)'
pset pset1
int pset.sys_id 1
boolean pset.default false
uint pset.min 5
uint pset.max 5
string pset.units population
uint pset.load 7
uint pset.size 5
string... (0 Replies)
Discussion started by: fugitive
0 Replies
8. Programming
Hi
on multi-core system - I know I can set each process to run on specific core (Processor Affinity).
If I want to set process (which contains several threads) to run on group of core, how can I do it ?
For example:
If we have 8 core,
and two process each process contain 4 threads.
And I... (2 Replies)
Discussion started by: laro1983
2 Replies
9. What is on Your Mind?
I don't know enough about this subject but this is for the big guns...
Yesterday:-
Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent (5 Replies)
Discussion started by: wisecracker
5 Replies
10. Solaris
Hi
I have a pool name yuk-pool and its associated pset is yuk-pset. It has a min value is 20 and max value is 56. But size field has 48 value . This same pool is assign to 4 local zones. Whenever Cpu usage is high on one local zone it impact the cpu usage at other local zone as well during high... (1 Reply)
Discussion started by: sb200
1 Replies
LEARN ABOUT PHP
pset_setattr
pset_setattr(2) System Calls pset_setattr(2)
NAME
pset_setattr, pset_getattr - set or get processor set attributes
SYNOPSIS
#include <sys/pset.h>
int pset_setattr(psetid_t pset, uint_t attr);
int pset_getattr(psetid_t pset, uint_t *attr);
DESCRIPTION
The pset_setattr() function sets attributes of the processor set specified by pset. The bitmask of attributes to be set or cleared is
specified by attr.
The pset_getattr function returns attributes of the processor set specified by pset. On successful return, attr will contain the bitmask of
attributes for the specified processor set.
The value of the attr argument is the bitwise inclusive-OR of these attributes, defined in <sys/pset.h>:
PSET_NOESCAPE Unbinding of LWPs from the processor set with this attribute requires the {PRIV_SYS_RES_CONFIG} privilege to be asserted in
the effective set of the calling process.
The binding of LWPs and processes to processor sets is controlled by pset_bind(2). When the PSET_NOESCAPE attribute is cleared, a process
calling pset_bind() can clear the processor set binding of any LWP whose real or effective user ID matches its own real of effective user
ID. Setting PSET_NOESCAPE attribute forces pset_bind() to requires the {PRIV_SYS_RES_CONFIG} privilege to be asserted in the effective set
of the calling process.
RETURN VALUES
Upon successful completion, these functions return 0. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
These function will fail if:
EFAULT The location pointed to by attr was not writable by the user.
EINVAL An invalid processor set ID was specified.
The caller is in a non-global zone, the pools facility is active, and the processor is not a member of the zone's pool's
processor set.
ENOTSUP The pools facility is active. See pooladm(1M) and pool_set_status(3POOL) for information about enabling and disabling the
pools facility.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |Async-Signal-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
pooladm(1M), pooladm(1M), psrset(1M), zoneadm(1M), pset_bind(2), pool_set_status(3POOL), attributes(5)
SunOS 5.10 28 Jun 2004 pset_setattr(2)