Resynchronization and resilience

The RESILIENT and FULLRESILIENT options are supported only on 64-bit Windows and UNIX. FULLRESILIENT is the same as RESILIENT, except that for all writes (STORE, WRITE, or DELETE), the data partition (.is1) data is written directly to disk using the file open flags FILE_FLAG_WRITE_THROUGH on Windows and O_DSYNC on UNIX. FULLRESILIENT will slow down disk access but with improved recoverability.

A RESILIENT or FULLRESILIENT file that is out of sync must be resynchronized before it can be opened. This happens automatically for remote files when they are opened or updated via 64-bit xfServer. You can also manually check and resynchronize files with isutl -s.

You can enable automatic resynchronization of resilient files that are accessed locally (that is, not accessed with xfServer) by installing 64-bit xfServer on the local system. In this configuration, xfServer is not being used for file access, but only to resynchronize resilient files. To enable this feature, xfServer (rsynd) must be running on the default port (2330) and in a mode that permits users of the machine to access it, and an xfServer license must be available. To avoid having to set up RUSER authentication, we recommend running xfServer in restricted (a.k.a. Windows authentication) or run-as-user mode on Windows and in effective user mode on UNIX. If you choose run-as-user or effective user mode, only the account created to run xfServer will need to have access. (See Understanding xfServer security on Windows and Understanding security modes on UNIX for details.) Once you have this set up, rsynd will automatically attempt to resynchronize a local out-of-sync RESILIENT or FULLRESILIENT file when it is opened or updated, before issuing an $ERR_FILSYNC error. If you don’t have enough xfServer licenses (and would get a MAXUSER error if you tried OPENing a file to that server via normal xfServer access), an $ERR_FILSYNC error will occur if RESILIENT or FULLRESILIENT attempts to open a file to the server.

Another way to handle resynchronization of RESILIENT or FULLRESILIENT files is by configuring xfServer to resynchronize files on start-up. For more information, see Automating file maintenance with xfServer (Windows and UNIX). Depending on the number and size of files, you may want to set up multiple xfServer processes to parallelize any automatic file maintenance, taking into account no more than two xfServer processes per physical disk LUN and using the separate temporary drive locations.