SRM configuration

Hi All,

I am having problems with Solaris Resource Management (SRM). I have configured SRM on a Sun Fire V240 & Sun Fire V890 servers. Initially I started testing on V240. Sun Fire V240 has 2 CPU's and it's running Solaris 9 09/05. Below is the configuration I am using:

/etc/project

project1:4000:Lavastorm Admin user:lavastrm::project.cpu-shares=(privileged,10,deny)

project2:4001:Lavastorm Adhoc User:lavastra::project.cpu-shares=(privileged,90,deny)

/etc/usr_attr

lavastrm::::project=project1

lavastra::::project=project2

Enabled Fair Share Schedular

dispadmin -d

FSS (Fair Share)

I have opened 2 different terminal windows & logged on to the server using 'lavastrm' & 'lavastra' users and ran 'gzip filename'. I used the same file to gzip on both terminals.

On the 3rd terminal I ran the command 'prstat -J' to see the CPU utilisation. To my surprise both the users (projects) were using equal amount of CPU. According to my config 'lavastra' user should use 90% of CPU. I am not sure wy both users are using equal amount of CPU. I would appreciate it if someone could share their experience on this.

[1216 byte] By [rajeshreddy] at [2007-11-26 9:16:39]
# 1

Initially, you need to have rebooted after running "dispadmin -d FSS".

Assuming that you have done that, note that "deny" is not a valid action for project.cpu-shares (see page 9 of resource_controls(5)).

You will then need to enable pools and create processor sets. See http://users.tpg.com.au/bdgcvb/zones.html#resource_cpu0 for some examples within zones.

Message was edited by:

ceri_davies

ceri_davies at 2007-7-6 23:43:15 > top of Java-index,General,Talk to the Sysop...