|
Network Vdump Script : #!/bin/ksh robot load slot 31 drive 1 robot mc8; sleep 40; mt -f /dev/nrmt1h online; mt -f /dev/nrmt1h rewind; su - hrdadm -c 'rsh aihrd stopsap_aihrd_00'; sleep 100; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /usr' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/origlogA' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/origlogB' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/mirrlogA' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/mirrlogB' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/saparch' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/sapreorg' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/sapdata1' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/sapdata2' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/sapdata3' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/sapdata4' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/sapdata5' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/HRD/sapdata6' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /oracle/stage/stage_733'|dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /sapmnt/HRD' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /usr/sap/trans' | dd of=/dev/nrmt1h bs=60k; rsh aihrd '/sbin/vdump -0uC -b 60 -f - /usr/sap/HRD' | dd of=/dev/nrmt1h bs=60k; sleep 100; mt -f /dev/nrmt1h offline; sleep 100; robot unload slot 31 drive 1 robot mc8; sleep 100; su - hrdadm -c 'rsh aihrd startsap_aihrd_00'; Note : The script above is for robotic device. For autoloader device just eliminate all the command robot from the script. Important : You have to stop the R/3 instance for data consistency. Check /etc/hosts and add the host name. Local Vdump Script : #!/bin/ksh mt -f /dev/nrmt1h rewind; sleep 100; su - i11adm -c 'stopsap_asmoint_00'; sleep 100; /sbin/vdump -0uC -f /dev/nrmt1h /; /sbin/vdump -0uC -f /dev/nrmt1h /usr; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/origlogA; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/mirrlogB; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/mirrlogA; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/origlogB; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/saparch; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/sapreorg; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/sapdata1; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/sapdata2; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/sapdata3; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/sapdata4; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/sapdata5; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/I11/sapdata6; /sbin/vdump -0uC -f /dev/nrmt1h /oracle/stage/stage_733; /sbin/vdump -0uC -f /dev/nrmt1h /sapmnt/I11; /sbin/vdump -0uC -f /dev/nrmt1h /usr/sap/trans; /sbin/vdump -0uC -f /dev/nrmt1h /usr/sap/I11; mt -f /dev/nrmt1h offline; sleep 40; su - i11adm -c 'startsap_asmoint_00'; Note : Vdump log can be found in /etc/vdumpdates. |
This page was last updated on 08/23/98. |