How can we add a shared zfs dataset between 2 zones on a same host. I have sun cluster 3.2 installed in a server which has 2 zones. I want to share a zfs data set between these 2 zones how can we do that ?
Just add the dataset mount directory as a lofs filesystem for both zones.
Is it possible to share a ufs file system in global zone in both the zones ?
You can indeed share ZFS, UFS or VXFS filesystems (actually directories) between zones.
But sharing that way give me another problem.I have /u01 on my global zone
/dev/dsk/c0d1s0 9.8G 6.6G 3.1G 68% /u01
which has been lofs mounted to zone node1 and zone node2. /u01
has all the oracle stuff.And if create an rg for same db in /u01 between the 2 zones i get following error in alert log
# clrg status
=== Cluster Resource Groups ===
Group Name Node Name Suspended Status
---------- --------- --------- ------
ora-rg esstll020-u614:node1 No Online
esstll020-u614:node2 No Offline
ORA-12012: error on auto execute of job 42567
ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
Is it feasible to do this just for testing purpose or not.
That is a different issue. You can share a filesystem between zones but if one application place a lock on it, it will be hopefully enforced.
So i think i cannot go any further than this .. Is is possible to share file system to zone without mounting it in global zone ?
You can use NFS but the NFS server must be external to the system.