Mt Xia: Technical Consulting Group
Business Continuity / Disaster Recovery / High Availability Data Center Automation / Audit Response / Audit Compliance
This document contains a shell script, which is run on the NAS server, to export the EXE directories with their associated permissions:
---- Cut Here ---- server_export server_2 -unexport /nasexe/default_dbarchives server_export server_2 -unexport /nasexe/exe_okc server_export server_2 -unexport /nasexe/exebase server_export server_2 -unexport /nasexe/exefix server_export server_2 -unexport /nasexe/home server_export server_2 -unexport /nasexe/ibackups server_export server_2 -unexport /nasexe/informix01 server_export server_2 -unexport /nasexe/informix0102A server_export server_2 -unexport /nasexe/local server_export server_2 -unexport /nasexe server_export server_2 -all # /nasexe/default_dbarchives server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/default_dbarchives server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/default_dbarchives server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/default_dbarchives server_export server_2 -option ro=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/default_dbarchives server_export server_2 -option ro=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/default_dbarchives server_export server_2 -option ro=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/default_dbarchives # /nasexe/exe_okc server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exe_okc server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exe_okc server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exe_okc server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exe_okc server_export server_2 -option ro=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exe_okc server_export server_2 -option ro=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exe_okc # /nasexe/exebase server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exebase server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exebase server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exebase server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exebase server_export server_2 -option ro=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exebase server_export server_2 -option ro=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exebase # /nasexe/exefix server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exefix server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exefix server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exefix server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exefix server_export server_2 -option ro=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exefix server_export server_2 -option ro=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exefix # /nasexe/home server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/home server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/home server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/home server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/home server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/home server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/home # /nasexe/ibackups server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/ibackups server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/ibackups server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/ibackups server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/ibackups server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/ibackups server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/ibackups # /nasexe/informix01 server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/informix01 server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/informix01 server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/informix01 server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/informix01 server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/informix01 server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/informix01 # /nasexe/informix0102A server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/informix0102A server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/informix0102A server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/informix0102A server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/informix0102A server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/informix0102A server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/informix0102A # /nasexe/local server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/local server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/local server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/local server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/local server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/local server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/local server_export server_2 -all ---- Cut Here ----
server_export server_2 -unexport /nasexe/default_dbarchives server_export server_2 -unexport /nasexe/exe_okc server_export server_2 -unexport /nasexe/exebase server_export server_2 -unexport /nasexe/exefix server_export server_2 -unexport /nasexe/home server_export server_2 -unexport /nasexe/ibackups server_export server_2 -unexport /nasexe/informix01 server_export server_2 -unexport /nasexe/informix0102A server_export server_2 -unexport /nasexe/local server_export server_2 -unexport /nasexe server_export server_2 -all # /nasexe/default_dbarchives server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/default_dbarchives server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/default_dbarchives server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/default_dbarchives server_export server_2 -option ro=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/default_dbarchives server_export server_2 -option ro=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/default_dbarchives server_export server_2 -option ro=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/default_dbarchives # /nasexe/exe_okc server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exe_okc server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exe_okc server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exe_okc server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exe_okc server_export server_2 -option ro=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exe_okc server_export server_2 -option ro=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exe_okc # /nasexe/exebase server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exebase server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exebase server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exebase server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exebase server_export server_2 -option ro=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exebase server_export server_2 -option ro=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exebase # /nasexe/exefix server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exefix server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exefix server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exefix server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/exefix server_export server_2 -option ro=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/exefix server_export server_2 -option ro=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/exefix # /nasexe/home server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/home server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/home server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/home server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/home server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/home server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/home # /nasexe/ibackups server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/ibackups server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/ibackups server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/ibackups server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/ibackups server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/ibackups server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/ibackups # /nasexe/informix01 server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/informix01 server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/informix01 server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/informix01 server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/informix01 server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/informix01 server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/informix01 # /nasexe/informix0102A server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/informix0102A server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/informix0102A server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/informix0102A server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/informix0102A server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/informix0102A server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/informix0102A # /nasexe/local server_export server_2 -option access=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/local server_export server_2 -option access=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/local server_export server_2 -option access=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/local server_export server_2 -option rw=10.4.192.96:ftwdqa03:ftwdqa03.mtxia.com /nasexe/local server_export server_2 -option rw=10.4.133.86:ftwexe01:ftwexe01.mtxia.com /nasexe/local server_export server_2 -option rw=10.4.133.88:ftwexe02:ftwexe02.mtxia.com /nasexe/local server_export server_2 -all