2015年8月14日 星期五

oracle 8i rman

rman target / nocatalog;
change Archivelog All Crosscheck;


In Oracle 10g you can run the following command to crosscheck and expire any expired archive logs:
RMAN> crosscheck archivelog all;
RMAN> delete expired archivelog all;

However in Oracle 8 and 9 you need to do the following

Example for Oracle 8 use:
RMAN> Change Archivelog All Validate;

Example for Oracle 8i use:
RMAN> change Archivelog All Crosscheck;

Example for Oracle 9i:
RMAN> crosscheck archivelog all;

2015年8月4日 星期二

dns primary /secondary 更新方式


在 pimary

nsupdate
server 172.22.253.1
update add {$FQDN} 38400 in a {$IP}
send
update delete  {$FQDN}
send

rndc freeze {$dn  ***.***.tw }
rndc unfreeze {$dn  ***.***.tw }


rndc querylog
dnstop eth0

rndc status


在secondary

rndc reload {$dn  ***.***.tw }