Step1 copy from (file=/home/user/testunix This process copies a file from Unix to Vms, then pulls a file from Vms to Unix and executes a run task to delete the VMS file: Sysopts="RMVM FILE(LIB/FILE) MBR(TESTUNIX)" This process executes a run task on OS/400 to delete a member of a file: This process executes a run task on OS/400 to call a program: Step1 copy from (file = /home/user/testunix pnode) This process copies a file from Unix to OS/400: This process submit a process on OS390 passing two symbolic parameters: This process executes a run task that invokes DMRTSUB program to submit a job on OS/390 passing a parameter: Sysopts=":xlate.tbl=/home/user/testtrans.xlt:") Step1 copy from (file=/home/user/testunix pnode This process copies a file from Unix to OS/390 specifying a translation table different from the default one: Sysopts="C'ALLOC DSN=TEST.FILE,DISP=(OLD,DELETE)', This process pulls a file from OS/390 to Unix then executes a run task to delete the OS/390 file: This process copies a file from Unix to OS/390:ĭcb=(dsorg=ps,lrecl=30,recfm=fb,blksize=3000)) bat file on Windows using UNC name for the network drive: This process copies a file from Unix to Windows then executes a run task to submit a. Sysopts="/home/user/cdunix/ndm/src/failed" This process copies a file from Unix to Windows then executes a run task To (file=datei_`date %y%m%d`.txt snode disp=rpl) This process copies a file from Unix to Windows and includes the current date within the destination file name: To (file=c:\temp\testfile.txt disp=rpl snode) This process copies a file from Unix to Windows the executes a run task to delete a Windows file: This process copies a file from Unix to Unix using symbolic variables to build the destination file name: Sysopts="cp /home/user/testcp /home/usernew/testcp" Step1 copy from (file=/home/user/testunix pnode) This process copies a file from Unix to Unix then submits a run task on snode to execute the Unix command cp: Markieren des Knoten und Update vornehmen.Ĭonnect:Direct UNIX Examples From UNIX to UNIX Der netmap.cfg file wird ausgewählt und die neu hinzugekommenen Knoten eingebunden.Īnschließend werden die Knoten den Anforderungen angepasst. cdunix/ndm/bin/spadmin.shĭie Knoten müssen auf allen Knoten auf denen Secure installiert ist, dort auch bekannt gegeben werden. Knoten müssen mit der netmap.cfg synchronisiert werden: anschließend beide ))ConnectDirect(( instancen neu gestartet werden. entpacken des tar Archives unter /opt/cdirect/cdunix/ndm/secure /nodes auf dem server node02.sichern des Verzeichnisses /opt/cdirect/cdunix/ndm/secure /nodes auf dem server node02.tar des Verzeichnisses /opt/cdirect/cdunix/ndm/secure /nodes des node1.einrichten auf von ))ConnectDirect(( und Secure auf node01.Beide nodes benötigen die gleichen Einträge in der netmap.cfg, userfile.cfg und die gleichen keys für Secure . cdunix/ndm/cfg/cliapi/ndmapi.cfgīei deser Konfiguration werden z.B node01/node02 von außen über einen Loadbalancer angesprochen (). Umbenennen oder neuanlegen des Verzeichnissesĭer neue nodename muß in den folgenden files angepaßt werden: komlettes C:D von anderer Maschine übernehmen)įolgende files/directories müssen angepasst werden. Hier werden die Knoten eingetragen mit denen eine Verbindung aufgebaut werden umbenennen (bzw. Ndmmsg -f /opt/cdunix/ndm/cfg/msgfile.cfg ĭie Verzeichnis liegen unter /cdunix/ndm/cfg/ĭie Log files sind unter /cdunix/work/ zu finden. eines ausgegebenen Fehlercodes auszugeben.Īlternativ kann der originale Befehl benutzt werden: cdtools ein shell script:ĭer Befehl /usr//local//bin/msg ist ein shell script weches das ConnectDirect commando ndmmsg (siehe manual pages) benutzt um weitergehende Informationen bzgl. Status eines Prozesses ändern change proc pnum=? release Ĭ:D / Prozesse stoppen Killen von Prozessen flush process pnum=$1 pname=$2 force=yes įür das starten des ConnectDirect liegt unter dem script directory. Prozeß Status Status von gelaufenen Prozessen listen: sel stat pnum=? detail=yes Starten des Client Interface ( cli) über PIPE echo ”sel stat pnum=? det ” | ndmcliĭetailierte Infos für speziellen Prozess sel proc pnumber=? detail=yes Starten des Client Interface ( cli) mittels Dateien ndmcli < Starten des Client Interface ( cli) aus Scripten ndmcli -x << EOF
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |