Chinaunix首页 | 论坛 | 博客
  • 博客访问: 147131
  • 博文数量: 23
  • 博客积分: 1536
  • 博客等级: 上尉
  • 技术积分: 271
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-26 20:01
文章分类

全部博文(23)

文章存档

2010年(13)

2009年(10)

我的朋友

分类: LINUX

2009-04-10 23:48:06

1.停止 NetBackup/ 介质管理器后台驻留程序
[root@mylinux ~]# /usr/openv/netbackup/bin/goodies/bp.kill_all
Looking for NetBackup processes that need to be terminated.
Stopping nbsvcmon...
Stopping nbsl...
Stopping nbpem...
Stopping nbjm...
Stopping nbproxy...
Suspending or cancelling jobs...
Stopping bprd...
Stopping bpcompatd...
Stopping bpdbm...
Looking for Media Manager processes that need to be terminated.
Stopping vmd...
Stopping nbrb...
Stopping nbemm...
Stopping nbnos...
Looking for VxDBMS processes that need to be terminated.
Stopping VxDBMS database server ...
The following processes are still active
root      2906     1  0 07:50 ?        00:00:01 /usr/openv/db//bin/NB_dbsrv
@/usr/openv/var/global/server.conf @/usr/openv/var/global/databases.conf -hn 8
Do you want this script to attempt to kill them? [y,n] (y)
Killing remaining processes...
Waiting for processes to terminate...
 
2.运行以下命令从 VxUL 主配置中注销 NetBackup,该配置存储在/etc/vx/vrtslog.conf 文件中。
/usr/openv/netbackup/bin/vxlogcfg -r -p 51216
-p 选项可指定产品 ID, NetBackup 的产品 ID 为 51216
[root@mylinux ~]# /usr/openv/netbackup/bin/vxlogcfg -r -p 51216
The configuration settings were removed successfully.
 
3.运行以下命令删除 NetBackup 数据库(即使数据库已不在默认位置,仍会删除它们):
/usr/openv/db/bin/create_nbdb -drop_only
[root@mylinux ~]# /usr/openv/netbackup/bin/vxlogcfg -r -p 51216
The configuration settings were removed successfully.
[root@mylinux ~]# /usr/openv/db/bin/create_nbdb -drop_only
Database server is VERITAS_NB_mylinux.(none)
Ping server failed -- Database server not found.
Database server [VERITAS_NB_mylinux.(none)] not available.
Dropping the NetBackup database: /usr/openv/db/data/NBDB.db
 
4.要从 /etc/services 和 [x]inetd 配置文件中删除对 NetBackup/ 介质管理器的引用,运行
edit_services 脚本:/usr/openv/netbackup/bin/goodies/edit_services.
[root@mylinux ~]# /usr/openv/netbackup/bin/goodies/edit_services
Editing services and xinetd configuration to remove
references to NetBackup and Media Manager.
Copying original /etc/services file to /etc/services.NBU_041009.07:59:59
Checking for a bprd entry in /etc/services:  Deleting bprd entry.
Checking for a bpdbm entry in /etc/services:  Deleting bpdbm entry.
Checking for a bpcd entry in /etc/services:  Deleting bpcd entry.
Checking for a vnetd entry in /etc/services:  Deleting vnetd entry.
Checking for a vopied entry in /etc/services:  Deleting vopied entry.
Checking for a bpjava-msvc entry in /etc/services:  Deleting bpjava-msvc entry.
Checking for a bpjobd entry in /etc/services:  Deleting bpjobd entry.
Checking for a nbdbd entry in /etc/services:  No nbdbd entry.
Checking for a NB_dbsrv entry in /etc/services:  Deleting NB_dbsrv entry.
Checking for a visd entry in /etc/services:  No visd entry.
Checking for a vmd entry in /etc/services:  Deleting vmd entry.
Checking for a acsd entry in /etc/services:  Deleting acsd entry.
Checking for a tl8cd entry in /etc/services:  Deleting tl8cd entry.
Checking for a odld entry in /etc/services:  Deleting odld entry.
Checking for a vtlcd entry in /etc/services:  No vtlcd entry.
Checking for a ts8d entry in /etc/services:  No ts8d entry.
Checking for a tldcd entry in /etc/services:  Deleting tldcd entry.
Checking for a tl4d entry in /etc/services:  Deleting tl4d entry.
Checking for a tsdd entry in /etc/services:  No tsdd entry.
Checking for a tshd entry in /etc/services:  Deleting tshd entry.
Checking for a tlmd entry in /etc/services:  Deleting tlmd entry.
Checking for a tlhcd entry in /etc/services:  Deleting tlhcd entry.
Checking for a lmfcd entry in /etc/services:  No lmfcd entry.
Checking for a rsmd entry in /etc/services:  Deleting rsmd entry.
Checking for a tc8d entry in /etc/services:  No tc8d entry.
Checking for a tc4d entry in /etc/services:  No tc4d entry.
Checking for a bpcd entry in /etc/xinetd.d: Found.
  Copying /etc/xinetd.d/bpcd to /etc/xinetd.NBU_041009.07:59:59/bpcd
  Deleting /etc/xinetd.d/bpcd.
Checking for a vopied entry in /etc/xinetd.d: Found.
  Copying /etc/xinetd.d/vopied to /etc/xinetd.NBU_041009.07:59:59/vopied
  Deleting /etc/xinetd.d/vopied.
Checking for a vnetd entry in /etc/xinetd.d: Found.
  Copying /etc/xinetd.d/vnetd to /etc/xinetd.NBU_041009.07:59:59/vnetd
  Deleting /etc/xinetd.d/vnetd.
Checking for a bpjava-msvc entry in /etc/xinetd.d: Found.
  Copying /etc/xinetd.d/bpjava-msvc to /etc/xinetd.NBU_041009.07:59:59/bpjava-msvc
  Deleting /etc/xinetd.d/bpjava-msvc.
Sending SIGHUP to xinetd process.
Reloading configuration: [  OK  ]
 
5.删除 /usr/openv 目录
[root@mylinux ~]# rm -rf /usr/openv
 
6.
[root@mylinux ~]# chkconfig --list netbackup
netbackup       0:off   1:off   2:on    3:on    4:off   5:on    6:off
 
7.删除以下链接和文件
[root@mylinux rc3.d]# rm /etc/rc.d/init.d/netbackup
rm: remove regular file `/etc/rc.d/init.d/netbackup'? y
[root@mylinux ~]# /sbin/chkconfig --del netbackup
 
8.root 帐户的 NetBackup-Java 应用程序状态数据
[root@mylinux rc3.d]# rm -rf /.nbjava
[root@mylinux rc3.d]# rm -rf /.java/.userPrefs/vrts
阅读(2647) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2011-04-11 13:24:12

★ 03005 Peptic ulcer ★ 03010 diagnosis and treatment of diabetes ★ 03017 diagnosis and treatment of rheumatoid arthritis ★ 03024 Chinese medicine treatment of infertility ★ 03030 abortion The treatment of bone injuries ★ 03031 ★ 03046 diagnosis and treatment of genital herpes ★ 03047 diagnosis and treatment of cervical spondylosis ★ 03048 diagnosis and treatment of psoriasis ★ 03049 diagnosis and treatment of dermatitis and eczema ★ 03050 diagnosis and treatment of

chinaunix网友2010-03-29 21:57:08

Video teaching Chinese Medicine CD-ROM Acupuncture Massage Features Therapy Chiropractic spinal ★ Chinese Medicine CD-ROM Where can I buy? Where can I buy a CD where there is traditional Chinese medicine ask Where can I buy you can download a complimentary address how to how to how cheap video discs Acupuncture Chiropractic Massage Therapy training in chiropractic spinal vertebrae bonesetting video discs ★ ★ chiropractic schools in the whole course Spinal Therapy Medical Video Disc Network