您的位置:首页 > 运维架构

Tiptop ERP GP 5.25 删除营运中心&新建营运中心说明

2015-05-29 10:30 1526 查看
GP 5.25 删除营运中心&新建营运中心说明

一、删除营运中心(demo:删除jbjmt营运中心)

1.以DBA的权限连入Oracle数据库,注意选择的数据库SID

登入DB服务期,用sysdba登陆DB:

</u2/oracle/product/11.2.0/dbhome_1> sqlplus sys/sys@toptest as sysdba


2.再次确定当前登入的SID

SQL> select name from v$database;
或
SQL> select instance_name from v$instance;
NAME
---------
TOPTEST


3.查询当前SID数据库里面所有的用户信息

SQL> select * from all_users;

4.aooi931删除集团架构资料 ->会自动删除aooi901对应的营运中心资料

4.1. aooi931根据需要删除集团架构资料

4.2. aooi930根据需要删除法人基本资料

ps:如果提示删除FGLPROFILE里面的资料失败,则你需手动删除FGLPROFILE里面的资料失败,则你需手动删除FGLPROFILE里面对应的营运中心连接信息

否则下次如果新建的营运中心如与此次同名,则会新建英语中心失败

如下demo:mark jbjmt营运中心(vi 直接修改FGLPROFILE,你也可以echoFGLPROFILE,你也可以echo FGLPROFILE查看配置文件到底在什么目录)

vi  $FGLPROFILE

#dbi.database.jbjmt.source = "topprod"       ## DVM320
#dbi.database.jbjmt.username = "jbjmt"      ## DVM320
#dbi.database.jbjmt.password = "jbjmt"       ## DVM320
#dbi.database.jbjmt.schema = "jbjmt"          ## DVM320
#dbi.database.jbjmt.ora.prefetch.rows = 1   # Add by Raymon 02/02/015.数据库删除用户
drop user jbjmt  cascade;  --执行时间有点长
commit;


二、新建营运中心(demo:新建jbjmt营运中心)

6.aooi930最后再重新建营运中心











建立营运中心的日志文件保存在/u1/topprod/tiptop/tmp/日期_ods.log文件中

--如果你是udm7登陆GP ERP的,AP后台也可以看到新建营运中心的信息过程
. . importing table                     "ZXV_FILE"          0 rows imported
. . importing table                     "ZYW_FILE"          0 rows imported
. . importing table                     "ZZD_FILE"          0 rows imported
Import terminated successfully without warnings.
accept the password of user system : stty: standard input: Invalid argument
stty: standard input: Invalid argument

SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 28 09:15:58 2013

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create profile tiptopgp limit PASSWORD_LIFE_TIME unlimited
*
ERROR at line 1:
ORA-02379: profile TIPTOPGP already exists

SQL>
User altered.

SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

==========================================
DB: [ jbjmt creation succesfully! ]
==========================================
jbjmt:insert into azwd_file
jbjmt:update default vaule(azw01) data
jbjmt:update default vaule(azw01) finish.

jbjmt:grant select,index to ods
jbjmt:grant select,index to ods finish
jbjmt:insert into zta_file
p_zta 'Y' 'ztaimport' 'jbjmt' '2'
INFO: TIPTOP GP System Exists 36 / 45 User(s) Online. (Connection In the List)
g_bgjob:Y
g_argv2:ztaimport
g_argv3:jbjmt
g_argv4:2

SESSIONID:               4427144  PLANT:01HZJM  DBNAME:hzjm
INFO: Your Plant (01HZJM) is setting in GMT+8 time zone.
No idle control
tiptop : tiptop dba
g_dir.top=/u1/topprod/tiptop
g_dir.tempdir=/u1/out
-- ztaimport start --
TABLE COUNT:  2084
SYNONYM COUNT:   236
VIEW COUNT:     0
IMPORT zta_file table start:09:17:51
IMPORT zta_file table END:09:18:05
IMPORT zta_file synonym START:09:18:05
IMPORT zta_file synonym END:09:18:07
-- ztaimport end --
jbjmt:insert into zta_file finish
END:jbjmt
creating ods views
ods include:ds
ods include:ds1
ods include:ds2
ods include:ds3
ods include:ds4
ods include:ds5
ods include:ds6
ods include:dsall
ods include:hzbm
ods include:hzbmt
ods include:hzjm
ods include:jbjmt
ods include:jxil
ods include:kpl
ods include:kplt
ods include:kpm
ods include:maksun
ods include:mkst
ods include:mrp
ods include:xpc
ods include:xpct
create ods views finish

SESSIONID:               4427208  PLANT:01HZJM  DBNAME:hzjm


以上完毕!

转自:http://blog.csdn.net/yihuiworld
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: