Configuration example of Oracle ASM in Solaris Container.
In this post I will give you a tip on how to setup Oracle ASM in Solaris Container. The main point of container's configuration is to set proper privileges. Your container should have proc_priocntl (must) and proc_lock_memory (highly recommended) privileges in order to function properly with ASM in it. Use the following as an configuration example when creating container and adjust it for your needs. Please read comments inlined:
# container will be named zone1
# make sure that directory /zones exist and have permissions 700
# use ip-type exclusive at your wish, non-exclusive is also possible
# make sure /opt/zone1/local exist
# mount /distro from global zone into container.
# I have Oracle distribution files there
add options [ro]
# this device will be used for ASM inside container
# permit to use 16 cpu within container
Put this confing into zone1.txt and edit this file to adjust your configuration. Then create, install and boot container.
# zonecfg -z zone1 -f zone1.txt
# zoneadm -z zone1 install
# zoneadm -z zone1 boot
When you are done login to newly created container and proceed with installing Oracle and configuring ASM.
Since I have dual-FC connected 6140 array I have it configured with Solaris I/O multipathing feature enabled
# stmsboot -D fp -e
I really like to use VNC to access my lab remotely