The past is experience, the present is experiment and the future is exam.
Use your experience in your experiments, and you will pass the exams. (3 Idiots, 2009)
Linkedin : tw.linkedin.com/in/iamsunny
YourKit Jave
The Industry Leader Among Profiling Tools:
CPU and memory profiling has never been easier, and smarter at the same time. YourKit has developed a revolutionary approach to profiling applications at both development and production stages, bringing unparalleled benefits to professional Java developers on all platforms, including Windows, Linux, Solaris SPARC/Intel, and Mac OS X.
FM server with YourKit commend:
cp /opt/FlexMaster/3rdparty/tomcat/apache-tomcat-6.0.18/bin/startup_with_yjp.sh /opt/
mv startup.sh startup.sh.bak
mv startup_with_yjp.sh startup.sh
computer client:
install YourKit
CPU and memory profiling has never been easier, and smarter at the same time. YourKit has developed a revolutionary approach to profiling applications at both development and production stages, bringing unparalleled benefits to professional Java developers on all platforms, including Windows, Linux, Solaris SPARC/Intel, and Mac OS X.
FM server with YourKit commend:
cp /opt/FlexMaster/3rdparty/tomcat/apache-tomcat-6.0.18/bin/startup_with_yjp.sh /opt/
mv startup.sh startup.sh.bak
mv startup_with_yjp.sh startup.sh
computer client:
install YourKit
change the password of mysql
path:
/opt/FlexMaster/3rdparty/mysql/mysql-enterprise-5.0.52-linux-x86_64-glibc23/bin
commend:
[root@itms2 bin]# ./mysqldump -uroot -p --socket=../mysql.sock mysql user > user
[root@itms2 bin]# vim user
edit the 'user' by vi:
[root@itms2 bin]# ./mysql -uroot -p --socket=../mysql.sock mysql <>
[root@itms2 bin]# ./mysqladmin -uroot -p --socket=../mysql.sock flush-privilegesvim
/opt/FlexMaster/3rdparty/mysql/mysql-enterprise-5.0.52-linux-x86_64-glibc23/bin
commend:
[root@itms2 bin]# ./mysqldump -uroot -p --socket=../mysql.sock mysql user > user
[root@itms2 bin]# vim user
edit the 'user' by vi:
LOCK TABLES `user` WRITE;/*!40000 ALTER TABLE `user` DISABLE KEYS */;INSERT INTO `user` VALUES ('localhost','root','*4ACFE3202A5FF5CF467898FC58AAB1D615029441','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0),('itms2.ruckus.com','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0),('127.0.0.1','root','*4ACFE3202A5FF5CF467898FC58AAB1D615029441','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0),('localhost','','','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','','','','',0,0,0,0),('itms2.ruckus.com','','','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','','','','',0,0,0,0),('%','root','*4ACFE3202A5FF5CF467898FC58AAB1D615029441','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);/*!40000 ALTER TABLE `user` ENABLE KEYS */;UNLOCK TABLES;/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
[root@itms2 bin]# ./mysql -uroot -p --socket=../mysql.sock mysql <>
[root@itms2 bin]# ./mysqladmin -uroot -p --socket=../mysql.sock flush-privilegesvim
Restore FlexMaster to default (clear all)
1. copy the restore_db.sh to FlexMaster path
cp /opt/FlexMaster/Support-files/restore_db.sh /opt/FlexMaster/.
2. run the restore_db.sh script
sh ./opt/FlexMaster/restore_db.sh
3. shutdown FlexMaster
sh ./shutdown.sh
4. start the FlexMaster
sh ./start.sh
cp /opt/FlexMaster/Support-files/restore_db.sh /opt/FlexMaster/.
2. run the restore_db.sh script
sh ./opt/FlexMaster/restore_db.sh
3. shutdown FlexMaster
sh ./shutdown.sh
4. start the FlexMaster
sh ./start.sh
How to store the database of FlexMaster?
The database of FlexMaster put in
/opt/FlexMaster/3rdparty/mysql/mysql-enterprise-5.0.52-linux-x86_64-glibc23/data
command:
cd /opt/FlexMaster/3rdparty/mysql/mysql-enterprise-5.0.52-linux-x86_64-glibc23
tar -zcvf data.tar.gz data
the username and password must same!
/opt/FlexMaster/3rdparty/mysql/mysql-enterprise-5.0.52-linux-x86_64-glibc23/data
command:
cd /opt/FlexMaster/3rdparty/mysql/mysql-enterprise-5.0.52-linux-x86_64-glibc23
tar -zcvf data.tar.gz data
the username and password must same!
FlexMaster upgrade/downgrade behavior.
The FlexMaster backend scan is 5 minutes.
If the user unplug the wire after devices get command from FlexMaster during the firmware upgrade or downgrade, the FlexMaster will waiting form 30 minutes.
After 30 minutes, the devices still not finish the upgrade/downgrade procedure. the FlexMaster will decide this task failed.
If the user unplug the wire after devices get command from FlexMaster during the firmware upgrade or downgrade, the FlexMaster will waiting form 30 minutes.
After 30 minutes, the devices still not finish the upgrade/downgrade procedure. the FlexMaster will decide this task failed.
tr069 wake up
tr069 wake up
the FM will wake up the AP by three way
1) tcp
2) udp
3) l2tp
first time FM will wake up the AP by tcp, if it is failed, then FM try second way "udp" continuous and if the second still fail, the FM try three way "l2tp".
the FM will wake up the AP by three way
1) tcp
2) udp
3) l2tp
first time FM will wake up the AP by tcp, if it is failed, then FM try second way "udp" continuous and if the second still fail, the FM try three way "l2tp".
dhcpd option 43
#Option 43 setting
option space VendorInfo; #for ZD
# option VendorInfo.ZDlist code 3 = text; #for ZD
option VendorInfo.FMlist code 1 = text; #for FlexMaster
subnet 192.168.61.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.61.1;
option subnet-mask 255.255.255.0;
option nis-domain "domain.org";
option domain-name "lab01.tdc.com";
option domain-name-servers 192.168.61.1;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
option netbios-node-type 2;
range dynamic-bootp 192.168.61.101 192.168.61.199;
default-lease-time 21600;
max-lease-time 43200;
# Vendor-option-space VendorInfo; #for zd
# option VendorInfo.ZDlist "192.168.61.40" ; #for zd
# option vendor-encapsulated-options 01:22:68:74:74:70:3a:2f:2f:31:39:32:2e:31:36:38:2e:36:31:2e:32:30:2f:69:6e:74:75:6e:65:2f:73:65:72:76:65:72;
Vendor-option-space VendorInfo; #for zd
option VendorInfo.FMlist "http://192.168.61.20/intune/server" ; #for FM
option space VendorInfo; #for ZD
# option VendorInfo.ZDlist code 3 = text; #for ZD
option VendorInfo.FMlist code 1 = text; #for FlexMaster
subnet 192.168.61.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.61.1;
option subnet-mask 255.255.255.0;
option nis-domain "domain.org";
option domain-name "lab01.tdc.com";
option domain-name-servers 192.168.61.1;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
option netbios-node-type 2;
range dynamic-bootp 192.168.61.101 192.168.61.199;
default-lease-time 21600;
max-lease-time 43200;
# Vendor-option-space VendorInfo; #for zd
# option VendorInfo.ZDlist "192.168.61.40" ; #for zd
# option vendor-encapsulated-options 01:22:68:74:74:70:3a:2f:2f:31:39:32:2e:31:36:38:2e:36:31:2e:32:30:2f:69:6e:74:75:6e:65:2f:73:65:72:76:65:72;
Vendor-option-space VendorInfo; #for zd
option VendorInfo.FMlist "http://192.168.61.20/intune/server" ; #for FM
TR069_1.log
287.46467 (727) Firmware upgrade was successful. Turning auto-upgrade off.
287.235778 (727)doRuckusFirmwareUpgrade(http://192.168.61.14/intune/fw?ctrl=5) returned result 2126511648
287.235778 (727)doRuckusFirmwareUpgrade(http://192.168.61.14/intune/fw?ctrl=5) returned result 2126511648
The debug method
http://192.168.61.199:8082/acscall => try to wake up tr069
other issue,
when factory reset to default, the system will reboot two times if the
/writable/data/tr069/post_factory_persistene_data exist.
other issue,
when factory reset to default, the system will reboot two times if the
/writable/data/tr069/post_factory_persistene_data exist.
How to carry the debug log file to PC?
The command:
tftp put [command] [Server_IP_address] [local_Path_filename] [which file you want to got and where]
In rkscli type command:
tftp put 192.168.0.55.30 /tmp/tr069_1.txt tr069_1.txt
tftp put [command] [Server_IP_address] [local_Path_filename] [which file you want to got and where]
In rkscli type command:
tftp put 192.168.0.55.30 /tmp/tr069_1.txt tr069_1.txt
訂閱:
文章 (Atom)