I created a 2 nodes NFS cluster with ZFS+NFS. I used resource type SUNW.HAStoragePlus for Zpool. During failover, the zpool needs to be imported in 2nd node. Unfortunately, the "zpool import" is very slow (need about 2.5 minutes in my system). This caused the whole NFS service failover very slowly. I searched the ZFS document, there is a work acround can make the "zpool import" very fast: Set cache file for the pool, then use "zpool import -d FILE_NAME" to import from cache file. But I don't know how to add this kind of specail command line to HA cluster configuration so that the agent can call it when failover happens. Could anybody help on this?
Regards, Autumn Wang. -- This message posted from opensolaris.org