Sybase IQ 16 SAP Control Console (cockpit / SCC)配置及登陆

本文介绍了如何配置和启动Sybase Sybase Cockpit Server,包括登录方式、SQL脚本执行、后台运行方式以及环境变量设置等关键步骤。
[sybase@szhost588-or IQ-CMAP]$ pwd
/sybase/COCKPIT-4/plugins/IQ-CMAP

[sybase@szhost588-or IQ-CMAP]$ 
[sybase@szhost588-or IQ-CMAP]$ ls
agent-plugin.dtd                                      IQMapLog4j.properties
....  
cockpit_monitor_authority_based_privileges_setup.sql  TechnicalUserCreate.bat
cockpit_monitor_role_based_privileges_setup.sql       TechnicalUserCreate.sh
[sybase@szhost588-or IQ-CMAP]$ 

[sybase@szhost588-or IQ-CMAP]$ 
[sybase@szhost588-or IQ-CMAP]$ dbisql -c "uid=dba;pwd=sql;dbn=edw_dm" cockpit_monitor_authority_based_privileges_setup.sql
Execution time: 0.878 seconds
[sybase@szhost588-or IQ-CMAP]$ dbisql -c "uid=dba;pwd=sql;dbn=edw_dm"  cockpit_monitor_role_based_privileges_setup.sql
1 row(s) affected
1 row(s) affected
1 row(s) affected
Execution time: 0.762 seconds
[sybase@szhost588-or IQ-CMAP]$ 

[sybase@szhost588-or COCKPIT-4]$ cd bin/
[sybase@szhost588-or bin]$ ls
cockpit-console.out  cockpitd  cockpit.sh  instance  myenvClient  passencrypt  sa16

[sybase@szhost588-or bin]$ ps -ef | grep  cockpitd  
sybase    60240  28288  0 11:19 pts/1    00:00:00 grep cockpitd

[sybase@szhost588-or bin]$ sh  cockpit.sh  
Starting Cockpit Server...

---------- SYSTEM INFO ----------
.......   

Cockpit Web Console: 
https://szhost588-or:4283/cockpit          --- 初始以dba/sql登陆   

Type help for more options
cockpit> 


但是, 手工开启的cockpit session需要在系统中保持,关闭session , cockpit 就stop了,我们需要使用如下的语句来开启,关闭及查看, 这种方式开启的cockpit会在后台运行。 
 ./cockpit.sh  --start 2>&1 >> ${COCKPIT_HOME}/log/cockpit-service.out &                 
 ./cockpit.sh  --stop 2>&1 >> ${COCKPIT_HOME}/log/cockpit-service.out &     
 ./cockpit.sh  --status    

设置sybase用户环境变量  export   COCKPIT_HOME=/sybase/COCKPIT-4  

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-2092069/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-2092069/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值