Node Searching in QNX4 like QNX2???

We have a project that is being converted from QNX2 to QNX4. In QNX2
there is a search order that will check node in a set order for files.
For example, we have duplicate copies of the data stored on two
different node. Half the users use one node as their primary data
source and half the other. The search command allows this. If the
first node goes down all the remaining node will access the remain data
store for their information.

Is there a way to do this in QNX4???

Larry

Not directly, but the use of symlinks may allow you to approach this
behaviour
You would also have to change the client programs to try to get a second
datastore if the primary one is missing

e.g.

Node 1 - datastore

Node 2 - datastore

User programs look for datastore.primary and datastore.secondary

On client node 3 (who wants 1 as primary), you would have the symlinks
datastore.primary->(node 1)datastore
datastore.secondary->(node 2)datastore

On client node 4 ( who wants 2 as primary), you would have the symlinks:
datastore.primary->(node 2)datastore
datastore.secondary->(node 1)datastore

Note that the client programs need code changes to go to datastore.secondary
if access to datastore.primary fails, but you can manipulate the symlinks on
the client machines to indicate which is their primary and which is their
secondary datastore without additional changes to the program.

Other people may have better (cleaner, more elegant, etc.,) solutions.




Dixie Sams <dixie@imaginei.com> wrote in message
news:3AA948E0.93E5D255@imaginei.com

We have a project that is being converted from QNX2 to QNX4. In QNX2
there is a search order that will check node in a set order for files.
For example, we have duplicate copies of the data stored on two
different node. Half the users use one node as their primary data
source and half the other. The search command allows this. If the
first node goes down all the remaining node will access the remain data
store for their information.

Is there a way to do this in QNX4???

Larry