diff options
| author | lijia <[email protected]> | 2020-01-21 11:03:45 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2020-01-21 11:03:45 +0800 |
| commit | bfad9623a015b21be824f0acda5738f85c5f5310 (patch) | |
| tree | 4d87f3bd24f44bcd0407c8a500427305266b89b9 | |
| parent | 9150dccd252413b7631cb20a070f1ec0e1ff2742 (diff) | |
更新用户手册,安装说明.
| -rw-r--r-- | Installation_Notes.pdf | bin | 27751 -> 0 bytes | |||
| -rw-r--r-- | OAM_CLI_USER_MANUAL_0.4.pdf | bin | 226913 -> 0 bytes | |||
| -rw-r--r-- | OAM_CLI_USER_MANUAL_0.6.pdf | bin | 0 -> 181068 bytes | |||
| -rw-r--r-- | OAM_CLI_USER_MANUAL_v0.6.pdf | bin | 795586 -> 0 bytes | |||
| -rw-r--r-- | OAM安装与部署.pdf | bin | 0 -> 117955 bytes | |||
| -rw-r--r-- | 安装包说明20200117.txt | 157 |
6 files changed, 0 insertions, 157 deletions
diff --git a/Installation_Notes.pdf b/Installation_Notes.pdf Binary files differdeleted file mode 100644 index 77a9096..0000000 --- a/Installation_Notes.pdf +++ /dev/null diff --git a/OAM_CLI_USER_MANUAL_0.4.pdf b/OAM_CLI_USER_MANUAL_0.4.pdf Binary files differdeleted file mode 100644 index b2aadc1..0000000 --- a/OAM_CLI_USER_MANUAL_0.4.pdf +++ /dev/null diff --git a/OAM_CLI_USER_MANUAL_0.6.pdf b/OAM_CLI_USER_MANUAL_0.6.pdf Binary files differnew file mode 100644 index 0000000..fe5c31e --- /dev/null +++ b/OAM_CLI_USER_MANUAL_0.6.pdf diff --git a/OAM_CLI_USER_MANUAL_v0.6.pdf b/OAM_CLI_USER_MANUAL_v0.6.pdf Binary files differdeleted file mode 100644 index 10d5535..0000000 --- a/OAM_CLI_USER_MANUAL_v0.6.pdf +++ /dev/null diff --git a/OAM安装与部署.pdf b/OAM安装与部署.pdf Binary files differnew file mode 100644 index 0000000..e7bf3d2 --- /dev/null +++ b/OAM安装与部署.pdf diff --git a/安装包说明20200117.txt b/安装包说明20200117.txt deleted file mode 100644 index 5994fba..0000000 --- a/安装包说明20200117.txt +++ /dev/null @@ -1,157 +0,0 @@ -1.安装包,在40.166的/root/rpmbuild/RPMS/x86_64/目录下 -cd /root/rpmbuild/RPMS/x86_64/ - -2.将下面rpm安装包拷贝到mxn板的/root目录下 - -oam_snmp-1.0-1.0.x86_64.rpm -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 -可以使用如下命令: -scp /root/rpmbuild/RPMS/x86_64/*.rpm [email protected]:/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 - -e.测试一下 -http://192.168.40.170:50222/cmd?command=hostname - -2.1.安装oam_cli -a.查找oam_cli进程并杀死: -ps -ef | grep oam_cli -kill -9 xxxx -其中xxxx为上一个命令查到的进程号 - -b.查询之前是否安装: -rpm -qa| grep oam_cli -如果已经安装,则删除: -rpm -e oam_cli -安装: -rpm -ivh /root/oam_cli-1.0-1.0.x86_64.rpm - -如果mxn重启,需要执行如下命令: -mount --bind /opt/tsg/etc /home/tsgroot/opt/tsg/etc -mount -o bind /proc /home/tsgroot/proc -mount -o remount,rw,bind /proc /home/tsgroot/proc - -2.2.需要修改/home/tsgroot/opt/tsg/cli/application.properties文件中的influxdb信息 -oam.influx.url=http://192.168.40.166: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.166 - -# 集群influx和mariadb地址 -oam.cluster.server.ip=192.168.40.210 - -# datasource - mcn上数据库密码 -datasource.first.password=tsg2019 - -# datasource - cluster上数据库密码 -datasource.second.password=111111 - -2.5.需要在mcn0的mysql数据库tsg_oam上执行数据库脚本:/opt/tsg/oam_core/tsg_threshold.sql -如果采用上面的配置,mxn的mysql数据库应该在192.168.40.166上 - -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 - -2.10.安装oam_snmp - -a.查找oam_snmp进程并杀死: -ps -ef | grep oam_snmp -kill -9 xxxx -其中xxxx为上一个命令查到的进程号 - -b.安装rpm包 -rpm -qa| grep oam_snmp -rpm -e oam_snmp -rpm -ivh /root/oam_snmp-1.0-1.0.x86_64.rpm - -c.修改influxdb地址: -/opt/tsg/snmp/application.properties - -d.启动 -systemctl start oam_snmp - -3.将oam_cli_agent-1.0-1.0.x86_64.rpm拷贝到所有mcn机器上/root下 -scp oam_cli_agent-1.0-1.0.x86_64.rpm [email protected]:/root/ - -3.1.安装 - -a.查找oam_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测试一下 -http://192.168.40.166:50222/cmd?command=hostname - -3.6.查看服务日志 -tail -n 10 /opt/tsg/cli_agent/oam-cli-agent.log - -4.将oam_cluster-1.0-1.0.x86_64.rpm拷贝到集群机器上/root下 -可以使用如下命令: -scp oam_cluster-1.0-1.0.x86_64.rpm [email protected]:/root/ -a.查找oam_cluster进程并杀死: -ps -ef | grep oam_cluster -kill -9 xxxx - -b.安装rpm包 -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 |
