配置 SNMP 參數。
設定配置的 SNMP 參數。
wadm> set-snmp-prop --user=admin --host=funland --port=1893 --config=test enabled=true master-host=masterhost-name organization=organization-name location=location-name contact=contact-name description=description-name |
部署配置。
wadm> deploy-config --user=admin --password-file=admin.pwd --host=serverhost --port=8989 config1 |
啟動伺服器實例。
$ ./https-test/bin/startserv |
以超級使用者身份執行主代理程式 (magt)。
若要執行 magt,必須先停止本機 snmpd。
$ cd /etc/init.d/ $ init.dmi stop; init.snmpdx stop; init.sma stop |
移除檔案 https-admserv/config/logs/pid.masteragt (如果存在)。
$ rm ./https-admserv/config/logs/pid.masteragt wadm> start-snmp-master-agent --snmp-port 161 hostname |
啟動子代理程式。
移除檔案 https-admserv/config/logs/pid.httpagt (如果存在)。
$ rm ./https-admserv/config/logs/pid.httpagt |
終止 httpagt (如果它已執行)。
wadm> start-snmp-subagent hostname |