ArcSDE Redhat Linux下双机热备部署文档
http://www.gisall.com/html/47/122747-3867.html
ArcSDE系统环境:
操作系统:Red Hat Enterprise Linux AS/ES 5.5 (64-bit)
服务器:双机热备,共享IP为192.168.1.21 oracle和sde部署在共享的磁盘阵列下:/oradata Oracle10gR2 64bit 10.2.0.4 ArcSDE 9.3.1 for Oracle10gR2_64 linux
服务器:双机热备,共享IP为192.168.1.21 oracle和sde部署在共享的磁盘阵列下:/oradata Oracle10gR2 64bit 10.2.0.4 ArcSDE 9.3.1 for Oracle10gR2_64 linux
两台机器做双机热备,部署了oracle10gR2,oracle部署在共享的磁盘阵列里,目录为/oradata/db/db_1,sde只部署在阵列里/oradata/arcsde,两台机器本地只创建arcsde用户即可。
以下是机器1的部署:
1、创建ArcSDE用户,设置所属组为oracle一致
用root用户登陆,新建arcsde用户
#useradd -g dba -d /home/arcsde arcsde (oracle安装目录属于dba组)
#passwd arcsde
修改ArcSDE用户目录权限:
# chown arcsde /home/arcsde
# chmod -R 755 /home/arcsde
2.配置arcsde用户
#su - arcsde
vi .profile
export SDEHOME=/oradata/arcsde/sdeexe93
export ORACLE_HOME=/oradata/db/db_1
export ORACLE_SID=gzmetro
export PATH=$PATH:$SDEHOME/bin:$ORACLE_HOME/bin:/ect:/usr/bin
export LIBPATH=$SDEHOME/lib:/usr/lib:$ORACLE_HOME/lib
export NLS_LANG=american_america.ZHS16GBK
:wq!
3、安装ArcSDE
#cd /tmp/oracle10g_64 $ ./install –load Enter CD-ROM mount point: [/cdrom] /tmp/oracle10g_64 Enter pathname to install directory: [/tmp/oracle10g_64] /home/arcsde ArcSDE version 9.3.1 for Oracle10g - Mar 10, 2009 --------------------------------------------------- ArcSDE Product Package numbers to load: [all] …… ……4.创建sde用户、表空间并赋权限
以oracle用户登录,创建sde用户和表空间( sqlplus / as sysdba grant execute on dbms_pipe to public; grant execute on dbms_lock to public; commit; 创建表空间和用户: create tablespace sde datafile '/GISdata/sde.dbf' size 10240M extent management local uniform. size 512K;create user sde identified by sde default tablespace sde temporary tablespace temp;
给sde用户授权: grant CREATE SESSION to sde; grant CREATE TABLE to sde; grant CREATE PROCEDURE to sde; grant CREATE SEQUENCE to sde; grant CREATE TRIGGER to sde; grant CREATE TYPE to sde; grant CREATE LIBRARY to sde; grant CREATE PUBLIC SYNONYM to sde; grant CREATE OPERATOR to sde; grant CREATE INDEXTYPE to sde; grant DROP PUBLIC SYNONYM to sde; grant UNLIMITED TABLESPACE to sde; grant CREATE ANY VIEW to sde; grant SELECT ANY TABLE to sde; grant administer database trigger to sde; commit;