vxodm cannot start as the Dependency svc:/system/vxfs/vxfsldlic is absent.

Article: 100024190
Last Published: 2011-07-07
Ratings: 0 0
Product(s): InfoScale & Storage Foundation

Problem

vxodm cannot start as the Dependency svc:/system/vxfs/vxfsldlic is absent.

Error Message

# 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.
 

Solution

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 <zone_name>
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/<zone_name>/dev/odm
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/<zone_name>/root/var/svc/manifest/system/vxfs
#cp /var/svc/manifest/system/vxfs/vxfsldlic.xml /zones/<zone_name>/root/var/svc/manifest/system/vxfs

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

 


Was this content helpful?