diff options
| author | lijia <[email protected]> | 2019-10-10 14:05:12 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2019-10-10 14:05:12 +0800 |
| commit | a0ffbefeefa2f60fbc1939b049e76cba23ad6dc3 (patch) | |
| tree | d75b78974aef458c02d013ed2f0bae76c62998e3 | |
| parent | d99ac72b57dd7eda7b8d69992c87fe4d55fdb7a7 (diff) | |
update rpm and user manual.
| -rw-r--r-- | OAM_CLI_USER_MANUAL_0.2.pdf | bin | 184859 -> 0 bytes | |||
| -rw-r--r-- | OAM_CLI_USER_MANUAL_0.3.pdf | bin | 0 -> 94921 bytes | |||
| -rw-r--r-- | oam_cli-1.0-1.0.x86_64.rpm | bin | 14808772 -> 101874584 bytes | |||
| -rw-r--r-- | oam_cli_agent-1.0-1.0.x86_64.rpm | bin | 14175528 -> 14183984 bytes | |||
| -rw-r--r-- | oam_cli_agent_mxn-1.0-1.0.x86_64.rpm | bin | 0 -> 14184088 bytes | |||
| -rw-r--r-- | oam_cluster-1.0-1.0.x86_64.rpm | bin | 27582972 -> 27588104 bytes | |||
| -rw-r--r-- | oam_core-1.0-1.0.x86_64.rpm | bin | 27782516 -> 28532084 bytes | |||
| -rw-r--r-- | 安装包说明1009.txt | 108 |
8 files changed, 108 insertions, 0 deletions
diff --git a/OAM_CLI_USER_MANUAL_0.2.pdf b/OAM_CLI_USER_MANUAL_0.2.pdf Binary files differdeleted file mode 100644 index 0c9d433..0000000 --- a/OAM_CLI_USER_MANUAL_0.2.pdf +++ /dev/null diff --git a/OAM_CLI_USER_MANUAL_0.3.pdf b/OAM_CLI_USER_MANUAL_0.3.pdf Binary files differnew file mode 100644 index 0000000..8fa0ec0 --- /dev/null +++ b/OAM_CLI_USER_MANUAL_0.3.pdf diff --git a/oam_cli-1.0-1.0.x86_64.rpm b/oam_cli-1.0-1.0.x86_64.rpm Binary files differindex bef5d0f..a9990e5 100644 --- a/oam_cli-1.0-1.0.x86_64.rpm +++ b/oam_cli-1.0-1.0.x86_64.rpm diff --git a/oam_cli_agent-1.0-1.0.x86_64.rpm b/oam_cli_agent-1.0-1.0.x86_64.rpm Binary files differindex 6106cf1..c61d446 100644 --- a/oam_cli_agent-1.0-1.0.x86_64.rpm +++ b/oam_cli_agent-1.0-1.0.x86_64.rpm diff --git a/oam_cli_agent_mxn-1.0-1.0.x86_64.rpm b/oam_cli_agent_mxn-1.0-1.0.x86_64.rpm Binary files differnew file mode 100644 index 0000000..38e5d05 --- /dev/null +++ b/oam_cli_agent_mxn-1.0-1.0.x86_64.rpm diff --git a/oam_cluster-1.0-1.0.x86_64.rpm b/oam_cluster-1.0-1.0.x86_64.rpm Binary files differindex 11777fe..fec966f 100644 --- a/oam_cluster-1.0-1.0.x86_64.rpm +++ b/oam_cluster-1.0-1.0.x86_64.rpm diff --git a/oam_core-1.0-1.0.x86_64.rpm b/oam_core-1.0-1.0.x86_64.rpm Binary files differindex b22b4b0..cff7819 100644 --- a/oam_core-1.0-1.0.x86_64.rpm +++ b/oam_core-1.0-1.0.x86_64.rpm diff --git a/安装包说明1009.txt b/安装包说明1009.txt new file mode 100644 index 0000000..aa30dd8 --- /dev/null +++ b/安装包说明1009.txt @@ -0,0 +1,108 @@ +1.安装包,在40.25的/root目录下 +/root/rpmbuild/RPMS/x86_64 + +2.将oam_cli_agent_mxn-1.0-1.0.x86_64.rpm/oam_cli-1.0-1.0.x86_64.rpm和oam_core-1.0-1.0.x86_64.rpm拷贝到mxn板的/root目录下 + +2.0.安装oam_cli_agent_mxn + +a.查找oam_cli_agent_mxn进程并杀死(注意:不是查找oam_cli_agent_mxn): +ps -ef | grep cli_agent +kill -9 xxxx +其中xxxx为上一个命令查到的进程号 + +b.安装rpm包 +rpm -qa| grep oam_cli_agent_mxn +rpm -e oam_cli_agent_mxn +rpm -ivh /root/oam_cli_agent_mxn-1.0-1.0.x86_64.rpm + +c.启动 +systemctl start oam_cli_agent_mxn + +d.查看服务日志 +tail -n 10 /opt/tsg/cli_agent/oam-cli-agent.log + +2.1.安装oam_cli +查询之前是否安装: +rpm -qa| grep oam_cli +如果已经安装,则删除: +rpm -e oam_cli +安装: +rpm -ivh /root/oam_cli-1.0-1.0.x86_64.rpm + + +2.2.需要修改/home/tsgroot/opt/tsg/cli/application-centos2.properties文件中的influxdb信息 +oam.influx.url=http://192.168.40.161:58086 + +2.3.安装oam_core: +a.查找oam_core进程并杀死: +ps -ef | grep oam_core +kill -9 xxxx +其中xxxx为上一个命令查到的进程号 + +b.安装rpm包 +查询之前是否安装: +rpm -qa| grep oam_core +如果已经安装,则删除: +rpm -e oam_core +安装: +rpm -ivh /root/oam_core-1.0-1.0.x86_64.rpm + +2.4.需要修改/opt/tsg/oam_core/application-centos2.properties文件中的数据库信息 +# 本机influx和mariadb地址 +oam.local.server.ip=192.168.40.161 + +# 集群influx和mariadb地址 +oam.cluster.server.ip=192.168.40.210 + +# datasource - mcn上数据库密码 +datasource.first.password=tsg2019 + +# datasource - cluster上数据库密码 +datasource.second.password=111111 + +2.5.需要在mxn的mysql数据库tsg_oam上执行数据库脚本:/opt/tsg/oam_core/tsg_threshold.sql +如果采用上面的配置,mxn的mysql数据库应该在192.168.40.161上 + +2.7.启动时钟同步服务 +systemctl restart ntpdate + +2.8.重启snmpd +查找snmp进程,并杀死,然后再启动: +/usr/sbin/snmpd -C -c /usr/share/snmp/snmpd.conf + +2.9.启动oam_core +注意:启动之前,请先启动所有mcn板上的agent服务,并和mxn做时钟同步(见下面第3节) +systemctl start oam_core + +3.将oam_cli_agent-1.0-1.0.x86_64.rpm拷贝到所有mcn机器上/root下 + +3.1.安装 + +a.查找cli_agent进程并杀死: +ps -ef | grep oam_cli_agent +kill -9 xxxx +其中xxxx为上一个命令查到的进程号 + +b.安装rpm包 +rpm -qa| grep oam_cli_agent +rpm -e oam_cli_agent +rpm -ivh /root/oam_cli_agent-1.0-1.0.x86_64.rpm + +3.2.和mxn时钟同步 +下面的命令中假设mxn的ip为192.168.40.165 +ntpdate 192.168.40.165 + +3.3.重启snmp服务 +systemctl restart snmpd + +3.4.启动 +systemctl start oam_cli_agent + +3.5.查看服务日志 +tail -n 10 /opt/tsg/cli_agent/oam-cli-agent.log + +4.将oam_cluster-1.0-1.0.x86_64.rpm拷贝到集群机器上/root下 +rpm -qa| grep oam_cluster +rpm -e oam_cluster +rpm -ivh /root/oam_cluster-1.0-1.0.x86_64.rpm +systemctl start oam_cluster
\ No newline at end of file |
