# svcs -xv
svc:/system/vxodm:default (VERITAS Oracle Disk Manager)
State: offline since March 31, 2011 04:22:34 PM MEST
Reason: Dependency svc:/system/vxfs/vxfsldlic is absent.
See: http://sun.com/msg/SMF-8000-E2
See: man -M /opt/VRTS/man -s 1 mount_odm
Impact: This service is not running.
The VXFS service is not running in the local zone for ODM or the service is in a Stopped state.
The VXFS service must be started in the local zone for ODM to start automatically.
->To setup odm in Solaris local zone
1 Install VRTSodm on the Solaris global zone.
You have to perform this step once on your system. You do not have to repeat it for each local zone.
2 Install your Storage Foundation product license on the Solaris global zone.
You need to perform this step once on your system. You do not need to repeat it for each local zone.
3 Export the license from the Solaris global zone to each Solaris local zone where you plan to use Quick I/O.
To do so, enter the following sequence of commands:
zonecfg -z
For example, if the Solaris local zone name is zone2, then:
# zonecfg -z zone2
zonecfg:zone2> add fs
zonecfg:zone2:fs> set dir=/etc/vx/licenses/lic
zonecfg:zone2:fs> set special=/etc/vx/licenses/lic
zonecfg:zone2:fs> set type=lofs
zonecfg:zone2:fs> end
zonecfg:zone2> verify
zonecfg:zone2> commit
zonecfg:zone2> exit
4 In each local zone, mount the odm device to /dev/odm
To do so, use the following command in the Solaris global zone:
# mkdir /zones/
Then use the following command in the Solaris local zone:
# mount -F odm /dev/odm /dev/odm
For example, if the Solaris local zone name is zone2, you must use the following commands:
# mkdir /zones/zone2/dev/odm
# mount -F odm /dev/odm /dev/odm
5 Enable vxfsldlic service.
To do so, use the following commands in the Solaris global zone:
#mkdir /zones/
#cp /var/svc/manifest/system/vxfs/vxfsldlic.xml /zones/
Then use the following commands in the Solaris local zone:
#svccfg import /var/svc/manifest/system/vxfs/vxfsldlic.xml
#svcadm enable vxfsldlic
6 Enable vxodm service.
# svcadm enable vxodm