您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > DPwithMC手册
贵州省交通总队DP安装与集成手册1DP安装将安装介质managementsystem放入DVD#mount/dev/dsk/c2t4d0/cdrom#cd/cdrom/LOCAL_INSTALL#./omnisetup.sh–CM–IS出现Doyouwanttocontinuetheunfinishedinstallation?(Y/n)选择Y安装结束后出现:“Installation/Upgradesessionfinished.”2DP和oralce的集成加入客户端:点击右键”addclent”输入ip或者主机名称,点击”next”:3首先在eva4000上划分2g的vgdisk,在映射到rp7420上,ioscan–fnCdisk可以看到该盘/dev/rdsk/c33t0d0,hp74-p0#[/]pvcreate/dev/rdsk/c33t0d0hp74-p0#[/]vgcreate/dev/vg_rman/dev/dsk/c33t0d0hp74-p0#[/]lvcreate-L1000-nlv_rman/dev/vg_rmanhp74-p0#[/]newfs-Fvxfs/dev/vg_rman/rlv_rmanhp74-p0#[/]mkdir/rmanhp74-p0#[/]mount/dev/vg_rman/lv_rman/rman用dbca建立rman数据库,其数据文件和参数文件均放置在存储上.4创建rman用户,并赋予相应的权限;$exportORACLE_SID=rman$sqlplus/nolog;SQL*Plus:Release9.2.0.1.0-ProductiononSatJul814:53:042006Copyright(c)1982,2002,OracleCorporation.Allrightsreserved.SQLconn/assysdba;Connected.SQLcreateuserrmanidentifiedbyrman;Usercreated.SQLgrantrecovery_catalog_ownertorman;Grantsucceeded.SQLgrantconnect,resourcetorman;Grantsucceeded.SQLgrantsysdbatorman;Grantsucceeded.5创建recoverycatalog连接到target数据库,并注册.$rmantargetrman/rman@orclcatalogrman/rman@rman;RecoveryManager:Release9.2.0.1.0-64bitProductionCopyright(c)1995,2002,OracleCorporation.Allrightsreserved.connectedtotargetdatabase:ORCL(DBID=1118971399)connectedtorecoverycatalogdatabaseRMANregisterdatabase;databaseregisteredinrecoverycatalogstartingfullresyncofrecoverycatalogfullresynccompleteRMAN6在两台机器上分别连接动态连接库(1)首先应该确认dataprotector的DiskAgent,MediaAgent,Oracle8integrationPackage已分发到需要备份的主机上。(2)关闭所有正在运行的OracleInstance.$sqlplus/nolog$sqlplusconnect/assysdba$sqlplusshutdownimmediate(3)在Oracle用户下,进入$ORACLE_HOME/lib目录。$cd$ORACLE_HOME/lib#mvlibobk.sllibobk.sl.orig$ln-s/opt/omni/lib/libob2oracle8_64bit.sllibobk.sl(4)启动所有的OracleInstance.$sqlplus/nolog$sqlplusconnect/assysdba$sqlplusstartup使用下面命令检查opt/omni/lib/libob2oracle8_64bit.sl是否和Oracle可执行文件连接起来。结果中SHLIB_PATH开头的那行应与下面相同。/usr/bin/chatr$ORACLE_HOME/bin/oracle/oracle/app/oracle/product/9.2.0.1.0/bin/oracle:64-bitELFexecutablesharedlibrarydynamicpathsearch:LD_LIBRARY_PATHenabledfirstSHLIB_PATHenabledsecondembeddedpathenabledthird/oracle/app/oracle/product/9.2.0.1.0/rdbms/lib/:/oracle/app/oracle/product/9.2.0.1.0/lib/:/usr/lib/pa20_64:/opt/langtools/lib/pa20_64:sharedlibrarylist:libodm9.sllibskgxn9.sllibjox9.sllibcl.2librt.2libpthread.1libnss_dns.1libdl.1libm.2libc.2sharedlibrarybinding:deferredglobalhashtabledisabledglobalhashtablesize1103sharedlibrarymappedprivatedisabledsharedlibrarysegmentmergingdisabledsharedvtablesupportdisabledexplicitunloadingdisabledlinkagetableprotectiondisabledsegments:indextypeaddressflagssize6text4000000000000000z-r-c-64M7data8000000100000000---m--L(largestpossible)executablefromstack:D(default)staticbranchpredictionenabledkernelassistedbranchpredictionenabledlazyswapallocationfordynamicsegmentsdisablednulptrreferencesdisabled7配置oracleserver并检查oracleserver的配置是否正确Hp74-p0#/opt/omni/lbin/util_oracle8.exe-CONFIGorcl/oracle/app/oracle/product/9.2.0.1.0sys/dba@orclrman/rman@rmanActualOracleinstancenameisORCL.However,youaretryingtoconfigureitasorcl.Pleasecorrecttheinconsistency.RMANreport(registration):RMAN-20002:targetdatabasealreadyregisteredinrecoverycatalogRMANreport(resync):RecoveryManager:Release9.2.0.1.0-64bitProductionCopyright(c)1995,2002,OracleCorporation.Allrightsreserved.RMANconnectedtotargetdatabase:ORCL(DBID=1118971399)RMANconnectedtorecoverycatalogdatabaseRMANstartingfullresyncofrecoverycatalogfullresynccompleteRMANRecoveryManagercomplete.*RETVAL*08dp和mc/sg集成:(1)创建vg、lv首先在eva4000上划分6g的vgdisk,在映射到rp7420上,ioscan–fnCdisk可以看到该盘/dev/rdsk/c33t1d0hp74-p0#[/]pvcreate/dev/rdsk/c33t1d0hp74-p0#[/]vgcreate/dev/vg_ob2cm/dev/dsk/c33t1d0hp74-p0#[/]lvcreate-L1000-nlv_ob2cm/dev/vg_ob2cmhp74-p0#[/]newfs-Fvxfs/dev/vg_ob2cm/rlv_ob2cmhp74-p0#[/]newfs-Fvxfs/dev/vg_ob2cm/rlv_ob2cmhp74-p0#[/]mkdir/omni_sharedhp74-p0#[/]mount/dev/vg_ob2cm/lv_0b2cm/omni_sharedhp74-p0#[/]mount/dev/vg_ob2cm/lv_ob2cm/omni_shared(2)编辑/etc/opt/omni/server/sg/sg/conf#SHARED_DISK_ROOT=SHARED_DISK_ROOT=/omni_shared#ThisvariableshouldbesettothehostnameofIPaddressreserved#forDataProtectorCellServerservice.#CS_SERVICE_HOSTNAME=CS_SERVICE_HOSTNAME=hp74dphp74-p1#/opt/omni/sbin/install/omniforsg.ksh-primaryhp74-p0#[/]umount/omni_sharedhp74-p0#[/]vgchange-an/dev/vg_ob2cmhp74-p0#[/]vgchange-an/dev/vg_ob2cmhp74-p0#[/]vgexport-p-m/tmp/lvm_map/dev/vg_ob2cmhp74-p0#[/]rcp/tmp/lvm_maphp74-p1:/tmp/(4)配置结点hp74-p1hp74-p1#[/]vgimport-m/tmp/lvm_map-v/dev/vg_ob2cm/dev/dsk/c30t1d0hp74-p1#[/]vgchange-cy/dev/vg_ob2cmhp74-p1#[/]vgchange-ae/dev/vg_ob2cmhp74-p1#[/]pwd/hp74-p1#[/]mkdir/omni_sharedhp74-p1#[/]mount/dev/vg_ob2cm/lv_ob2cm/omni_shared/hp74-p1#/opt/omni/sbin/install/omniforsg.ksh-secondary/omni_sharedhp74-p1#[/]vgchange-an/dev/vg_ob2cmhp74-p0#[/etc/cmcluster]cmcheckconf-C/etc/cmcluster/cluster.asciihp74-p0#[/etc/cmcluster]cmapplyconf-C/etc/cmcluster/cluster.asciihp74-p0#[/etc/cmcluster]mkdirob2clhp74-p0#[/etc/cmcluster]cdob2clhp74-p0#[/etc/cmcluster/ob2cl]cmmakepkg-p/etc/cmcluster/ob2cl/ob2cl.confhp74-p0#[/etc/cmcluster/ob2
本文标题:DPwithMC手册
链接地址:https://www.777doc.com/doc-2910267 .html