标签:
1、登陆ARX console,执行命令rollback --keeplicense
action.actiondomain> rollback --keeplicense rollback: Please first run "passwd" to set administrative password! action.actiondomain> passwd Changing local password for admin Old Password: New Password: Retype New Password: action.actiondomain> rollback --keeplicense License(s) for this appliance will be preserved. This script will rollback the system configuration to an out of box state. * WARNING * WARNING * WARNING * WARNING * WARNING * System will be halted at rollback completion. To avoid automatic halt, please use "--noshut" option. Are you sure you wish to continue? Y/N Y ### Customer rollback starts in 5 seconds (Ctl-C to abort) ### + sleep 5 alsensor not running. warden not running Flushing System Event Log. This may take a few minutes. Clean up system configs and passwords... /etc/mail/aliases: 25 aliases, longest 10 bytes, 265 bytes total cp: /compat/linux//usr/share/zoneinfo/EST5EDT: No such file or directory kill: 3116: No such process sendmail not running? (check /var/run/sendmail.pid). sendmail_clientmqueue not running? (check /var/spool/clientmqueue/sm-client.pid). `submit.cf‘ is up to date. Setup CLI to force new passwords on first login Rolling back DBUI-related configuration... Wiping database... Wiping out the Database. Setting up database... 1day data retention set to 27000 hours Adding IP/AS info... Inserting ASNumber->ASName,ASDescription table (NPipas/asn.data) into DB_lookup.DB_as_info... Finish inserting NPipas/asn.data into DB_lookup.DB_as_info. 65534 ASNumber->ASName,ASDescription pairs inserted. Restoring license codes... Resetting /etc/NP configuration. Recording inital hardware factory settings... done. Reconfiguring processes... Loading WpgLib Settings from DB to /etc/NP/wpg.conf Processes configured Sync flowstats config with DB. Cleaning up directories that accumulate stuff over time usage: kill [-s signal_name] pid ... kill -l [exit_status] kill -signal_name pid ... kill -signal_number pid ... Security Update patching... Looking for directories with open permissions... scanning /usr scanning /libexec scanning /boot scanning /bin scanning /lib scanning /opt scanning /sbin scanning /var scanning /root scanning /rescue done! chmod: /usr/local/share/snmp/mibs/.index: No such file or directory Looking for un-owned files... scanning /usr scanning /libexec scanning /boot scanning /bin scanning /lib scanning /opt scanning /sbin scanning /var scanning /root scanning /rescue done! Removing user (uucp): home passwd. Removing user (ftp): home passwd. Patch cleanup deferred (rollback in progress). Resetting default reports and insights. /usr/NPperf/rc.d/900.perf.sh -> /usr/local/etc/rc.d/900.perf.sh # START-NPperf-CRONTAB # UNI/MINI/DBUI & SENSOR: # Min Hr DoM Mth DoW 50 23 * * * /usr/NPperf/bin/CycleStats # END-NPperf-CRONTAB Resolution: low DaysToKeep: 90 NPperf is not run during gold build. # Processing /var/db/rollback... + rollback_preq.sh + warden_restart.sh + createDefaultCustomViews + createDefaultInsights + warden_stop.sh + vmm_rollback.sh NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 100000 100000 100000 100000 100000 100000 100000 100000 100000 0 0 + stitcher.sh Ensuring wta-stitcher is set to ‘std‘ release... Resetting wta-stitcher configuration... Removing wta-stitcher episode id tracking file... Removing wta-stitcher log files... + ssh_keys.sh Wiping ssh keys and generating new ones... + jks_clear.sh + shark_module_rollback.sh + setup.uut + setup.geo + saunatest_clean.sh + rollback_wad + rollback_uds + mysql_passwd.sh + rollback_stop.sh + rollback_hsc + rollback_expando.sh + qa_shell_setup-wad + qa_shell_setup-uds + qa_shell_setup-hsc + pce_rollback + jks_merge.sh + cliext.sh + createDefaultVoipInsights This is running FreeBSD SUNBEAM. + createDefaultUdsInsights + createDefaultSnmpInsights + createDefaultRiverbedInsights + createDefaultPanoramaInsights + createDefaultPageAnalysisDirectorInsights + createDefaultPacketAnalyzerInsights + createDefaultPacketAnalyzerDirectorInsights + createDefaultNetFlowInsights + createDefaultHSCDashboard + asx_arx_rollback.sh Stopping AppSQL Xpert: Removing ASX log files Removing ASX ATServer files rm: /u2/ASXvdata/*: No such file or directory Restoring AppSQL Xpert to the original configuration Restoring default ASX instance configuration Restoring default ASX Management Console configuration rm: /usr/local/sbin/dsauditor/data/.pwdctrl: No such file or directory Removing ASX License files Starting AppSQL Xpert: + NPpam_rollback.sh # ... done with /var/db/rollback. The diskwipe utility can zero the unused disk space on all drives. * WARNING * This can take a **LONG** time! * WARNING * Would you like to run the disk wipe utility? Y/N N(注意:这里选择N,不要擦写磁盘.) diskwipe skipped. NPperf stop... Waiting 30 seconds for disk I/O to complete.............................. Rollback is complete. System will halt now. ipmi2bmc ntp: (ntpd)Stopping AppSQL Xpert: NPperf stop... warden not running 040.NPsnmp stop ( ) nplogd. IMPORTANT: You are logged in through a network connection. After your connection terminates, PLEASE WAIT 2 minutes before turning off power, to ensure a clean shutdown. Shutdown NOW! shutdown: [pid 32312] *** FINAL System shutdown message from admin@action.actiondomain *** System going down IMMEDIATELY Waiting 30 seconds for disk I/O to complete.. System shutdown time has arrived
执行完成上述操作之后,设备会自动关机;此命令的作用就是清除当前历史数据,还原重置出厂设置.(设备自动关机后,需要手工启动设备.默认用户名及密码admin->password)
2、ARX修改日期
2.1、查看当前设备日期
action.localtax> date Fri Jan 23 00:16:57 EST 2015 action.localtax>
正确日期应当为2015年01月23日 下午13:00:00
2.2、
ntpq>
ntpq>lpeers
在web ui界面的timing设置时区、设置NTP SERVER
标签:
原文地址:http://www.cnblogs.com/actioning/p/4330128.html