SFTP client path map to different Pool members individual path
hi
we need to create irule for sftp. requrement is as under: 1) sftp push client will connect via sftp client to our Virtual server VS IP: port sftpclient ------sftp:path /export/home/input/---- VS:1.1.1.1:22--------sftp----(pool:server1:22 path:/export/home/user/server1/input & server1:22 path:/export/home/user/server2/input)
what we need to map the sftpclient requested path (/export/home/input/) to each pool member individual path , where one will be active and other will be standby,
if ther server 1 is active then then he can push the file to respective location on server1
2) sftp pull
client will connect via sftp client to our Virtual server VS IP: port sftpclient ------sftp:path /export/home/out/---- VS:1.1.1.1:22--------sftp----(pool:server1:22 path:/export/home/user/server1/out & server1:22 path:/export/home/user/server2/out)
need your support how this can be done