cancel
Showing results for 
Search instead for 
Did you mean: 

Saposcol, Solaris 10 and zones

Former Member
0 Kudos

We are running a bunch of instances on Solaris 10 x86_64 in zones. Everything works great (including ZFS) but one issue is there:

saposcol always "sees" the full machine, means e. g. CPU usage is displayed not on a per-zone basis but only once for all zones.

Are there any plans on extending saposcol to support zone-specific data (such as IBM has recently done with AIX-micropartitioning and/or LPARS)? It would greatly improve resource management on those systems.

--

Markus

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Markus,

Saposcol gets its data from kstat, I haven't found futher information about Saposcol not seeing the full machine in the future. Maybe another colleague will give more details in the message you opened, if not here first.

Regards, Mark

Answers (7)

Answers (7)

Former Member
0 Kudos

Yup i do see em at unix lvl.

Filesystem size used avail capacity Mounted on

/ 20G 6.8G 13G 35% /

/archivos 1.9G 2.0M 1.9G 1% /archivos

/dev 20G 6.8G 13G 35% /dev

/dvds 39G 6.6G 32G 17% /dvds

/sapdb/PRD/db 962M 167M 737M 19% /sapdb/PRD/db

/sapdb/PRD/logbackups

4.9G 5.0M 4.9G 1% /sapdb/PRD/logbackups

/sapdb/data 1.9G 62M 1.8G 4% /sapdb/data

/sapdb/programs 962M 208M 696M 24% /sapdb/programs

/sapmnt/PRD 1.9G 686M 1.2G 36% /sapmnt/PRD

/usr/sap/PRD 7.9G 754M 7.1G 10% /usr/sap/PRD

/usr/sap/trans 1.9G 414M 1.5G 22% /usr/sap/trans

proc 0K 0K 0K 0% /proc

ctfs 0K 0K 0K 0% /system/contract

swap 31G 296K 31G 1% /etc/svc/volatile

mnttab 0K 0K 0K 0% /etc/mnttab

/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1

20G 6.8G 13G 35% /platform/sun4u-us3/lib/libc_psr.so.1

/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1

20G 6.8G 13G 35% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1

fd 0K 0K 0K 0% /dev/fd

swap 31G 0K 31G 0% /tmp

swap 31G 56K 31G 1% /var/run

and saposcol is running with root user.

Message was edited by:

Daniel Esteban Rajmanovich

markus_doehr2
Active Contributor
0 Kudos

Strange things happening...

I've seen the different filesystems (I'm using ZFS) some weeks ago but now I can also see only "/" and no time stamp.

I think this is a problem in saposcol and you/we should open an OSS call for that.

--

Markus

Former Member
0 Kudos

Maybe is the lastest kernel patch I have patch lvl 102.

I will open the call then.

Thank you again.

markus_doehr2
Active Contributor
0 Kudos

The kernel is not relevant here, the saposcol patch (which is separate from the kernel).

Mine here:

COLL 20.94 700 - V3.72 64Bit
14.09.2007                   164317

--

Markus

Former Member
0 Kudos

I ment that my version of saposcol is the one shipped in the kernel patch lvl 102.

But checking the sapsocol file there is and update from 11.09.2007.

I will update it first if it doenst work ill open the oss call.

Altough in the info provided there is nothing said about this.

Message was edited by:

Daniel Esteban Rajmanovich

Former Member
0 Kudos

Well I spoke with the Solaris Admin and he passed me the file it seems all configured but still i dont see the FileSystems in st06.

  1. zonecfg -z zona1 export

create -b

set zonepath=/zonas/zona1

set autoboot=false

add fs

set dir=/dvds

set special=/dvds

set type=lofs

add options rw

add options nodevice

end

add fs

set dir=/usr/sap/trans

set special=/mounts/usr-sap-trans

set type=lofs

add options rw

end

add fs

set dir=/sapmnt/PRD

set special=/mounts/sapmnt-PRD

set type=lofs

add options rw

end

add fs

set dir=/usr/sap/PRD

set special=/mounts/usr-sap-PRD

set type=lofs

add options rw

end

add fs

set dir=/sapdb/PRD/db

set special=/mounts/sapdb-PRD-db

set type=lofs

add options rw

end

add fs

set dir=/sapdb/data

set special=/mounts/sapdb-wrk-PRD

set type=lofs

add options rw

end

add fs

set dir=/sapdb/programs

set special=/mounts/sapdb-programs-PRD

set type=lofs

add options rw

end

add fs

set dir=/archivos

set special=/mounts/archivos

set type=lofs

add options rw

end

add fs

set dir=/sapdb/PRD/logbackups

set special=/mounts/sapdb-PRD-logbackups

set type=lofs

add options rw

end

add net

set address=10.40.10.13/19

set physical=ce1

end

add device

set match=/dev/rmt/*

end

add device

set match=/dev/md/rdsk/d41

end

add device

set match=/dev/md/rdsk/d42

end

add device

set match=/dev/md/rdsk/d43

end

add device

set match=/dev/md/rdsk/d44

end

add device

set match=/dev/md/rdsk/d45

end

add device

set match=/dev/md/rdsk/d46

end

add device

set match=/dev/md/rdsk/d47

end

add device

set match=/dev/md/rdsk/d48

end

add device

set match=/dev/md/rdsk/d70

end

add device

set match=/dev/md/rdsk/d71

end

add device

set match=/dev/md/rdsk/d72

end

add device

set match=/dev/md/rdsk/d73

end

add device

set match=/dev/md/rdsk/d74

end

markus_doehr2
Active Contributor
0 Kudos

Do you see them using "df -h" as user <sid>adm?

--

Markus

Former Member
0 Kudos

Thank you very much Markus!!!

Danke Schön. Ich have ein bisschen deustch gelernt.

Message was edited by:

Daniel Esteban Rajmanovich

markus_doehr2
Active Contributor
0 Kudos

¡Eres agradable!

Y aprendiendo un cierto español, por lo menos, intento

--

Markus

Former Member
0 Kudos

Same problem here , have you guys managed to see the file systems?

I can only see the / filesystem no other file systems are displayed.

Any help?

markus_doehr2
Active Contributor
0 Kudos

How does your zoneconfig look like?

--

Markus

Former Member
0 Kudos

I didnt configure the zones, because the client has its own Solaria admins.

In case of cpus workload its not an issue for us yet because its only busy 10% all the time even in peaks times so we didnt even look in that.

But I wanted to configure CCMS alerts for FileSystems and the only one I see when i go to St06 Details - FileSys is / (root) , no other filesystems are displayed, maybe because this zoneconfig is not configured. Was not my task, but I need some info on it to tell the unix admin to configure it least for the file system.

Markus could you tell what should be done in this file to be able to see the file systems of each zone in their particulary sap instance?

markus_doehr2
Active Contributor
0 Kudos

If you see only "/" it´s a full root zone.

My zone look like

# zonecfg -z epjava export
create -b
set zonepath=/zone/epjava
set autoboot=false
add inherit-pkg-dir
set dir=/lib
end
add inherit-pkg-dir
set dir=/opt
end
add inherit-pkg-dir
set dir=/platform
end
add inherit-pkg-dir
set dir=/sbin
end
add inherit-pkg-dir
set dir=/usr
end
add fs
set dir=/usr/sap
set special=/usr/sap
set type=lofs
end
add fs
set dir=/dbdata/ETLDATA
set special=/dbdata/ETLDATA
set type=lofs
end
add fs
set dir=/dblog/ETLLOG
set special=/dblog/ETLLOG
set type=lofs
end
add net
set address=&#1618;X.X.X.X
set physical=bge0
end
add net
set address=Y.Y.Y.Y
set physical=bge1
end
add device
set match=/dev/sound/*
end
add rctl
set name=zone.cpu-shares
add value (priv=privileged,limit=20,action=none)
end

If you just use "/" then you will only see "/" because it´s the only filesystem the zone sees. The zone is not aware of a /var or /usr because you only inherited "/".

--

Markus

Former Member
0 Kudos

Hello Markus,

We have the same problem and we didn't find any way to correct it yet.

Regards

François

markus_doehr2
Active Contributor
0 Kudos

it´s not a problem.

To make the machine see only a few number of CPUs you need to create a pool and assign it to the zone (see pooladm)

--

Markus

Former Member
0 Kudos

Hi

following are command for checking OS col

saposcol -l: Start OS Collector

saposcol -k: Stop OS Collector

saposcol -d: OS Collector Dialog Mode

saposcol -s: OS Collector Status

-Murali

former_member190272
Active Contributor
0 Kudos

Hi

You Can check saposcole ST06 or OS06 and check this

http://help.sap.com/saphelp_erp2005vp/helpdata/en/2e/b5413d6de6a64f8355ff83c229812e/content.htm

Pls rewards pont if help full

Thanks& Regards

Pankaj Kumar