Question:
Here, i used /appdata. You may get /webdata, or /opt. You should use what you will get.
Solution:
Login to storage server
Enable nfs-server and rpcbind. Then check
Start nfs server and rpcbind and check status
Now edit exports file
Press i button and write
/appdata 172.16.238.10(rw,sync,no_root_squash)
/appdata 172.16.238.11(rw,sync,no_root_squash)
/appdata 172.16.238.12(rw,sync,no_root_squash)
Press ESC button and then type :wq!
Now type this command
Then run show mount command to check the listed servers
Open 3 new terminals for 3 appservers and do the followings in every app server
Repeat enable, check config and start, status commands for nfs-server and rpcbind like you did in storage server
Next, mount and check nfs
Do this in all app servers and make sure that you have found nfs on mount with rw, realtime finally.
Here, i used /appdata. You may get /webdata, or /opt. You should use what you will get.
Solution:
Login to storage server
Enable nfs-server and rpcbind. Then check
Start nfs server and rpcbind and check status
Now edit exports file
Press i button and write
/appdata 172.16.238.10(rw,sync,no_root_squash)
/appdata 172.16.238.11(rw,sync,no_root_squash)
/appdata 172.16.238.12(rw,sync,no_root_squash)
Press ESC button and then type :wq!
Now type this command
Then run show mount command to check the listed servers
Open 3 new terminals for 3 appservers and do the followings in every app server
Repeat enable, check config and start, status commands for nfs-server and rpcbind like you did in storage server
Next, mount and check nfs
Do this in all app servers and make sure that you have found nfs on mount with rw, realtime finally.
0 comments:
Post a Comment