User Tools

Site Tools


public:qnap_nas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:qnap_nas [2019/08/22 14:25]
ronnie.chan [AhsayOBM Scheduler Service Check]
public:qnap_nas [2022/11/28 10:55] (current)
kirk.lim Last modified: 2019/08/22 14:48 by ronnie.chan
Line 1: Line 1:
 ====== AhsayOBM for QNAP NAS ====== ====== AhsayOBM for QNAP NAS ======
 +
 +Last modified: 2019/08/22 (Note: Content written for v8, and still generally apply to latest product release)
  
 For QNAP NAS devices, we have dedicated AhsayOBM agents for directly installation on the NAS devices to backup files with the NAS. You can also map the NAS device as a network share and back it up with AhsayOBM / AhsayACB running on another machine. For QNAP NAS devices, we have dedicated AhsayOBM agents for directly installation on the NAS devices to backup files with the NAS. You can also map the NAS device as a network share and back it up with AhsayOBM / AhsayACB running on another machine.
Line 101: Line 103:
 ===== AhsayOBM Scheduler Service Check ===== ===== AhsayOBM Scheduler Service Check =====
 This option is used to kick automated or scheduled backup jobs. To start, login to QNAP NAS device using ssh client, i.e. putty. This option is used to kick automated or scheduled backup jobs. To start, login to QNAP NAS device using ssh client, i.e. putty.
-To check if the AhsayOBM scheduler service is running, use the ps command.+To check if the AhsayOBM scheduler service is running, use the **ps** command.
  
 <WRAP prewrap> <WRAP prewrap>
Line 110: Line 112:
  3562 admin    640772 S /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​jvm/​bin/​java -Xrs -Xms64m -Xmx1024m -Dsun.nio.PageAlignDirectMemory=true -Djava.library.path= . -cp .:./cb.jar WuiService /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm /share/CACH EDEV1_DATA/​.qpkg/​AhsayOBM/​.obm --port=32168  3562 admin    640772 S /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​jvm/​bin/​java -Xrs -Xms64m -Xmx1024m -Dsun.nio.PageAlignDirectMemory=true -Djava.library.path= . -cp .:./cb.jar WuiService /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm /share/CACH EDEV1_DATA/​.qpkg/​AhsayOBM/​.obm --port=32168
 11017 admin 956 S grep java 11017 admin 956 S grep java
-<color #ed1c24>20327 admin 157000 S /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​jvm/​bin/​java -Xms64m -Xmx256m -Dsun.nio.PageAlignDirectMemory=true -Djava.library.path=. -cp .:./cbs.jar cbs /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm</​color>​+20327 admin 157000 S /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​jvm/​bin/​java -Xms64m -Xmx256m -Dsun.nio.PageAlignDirectMemory=true -Djava.library.path=. -cp .:./cbs.jar cbs /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm
 </​code>​ </​code>​
 </​WRAP>​ </​WRAP>​
  
 +Scheduler service is running as shown above (20327 admin...).
  
 +==== Manaully Stop Scheduler Service ====
 +To manually stop the scheduler service, use the
 +**touch /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​ipc/​Scheduler/​stop** script and use the **ps** command.
 +
 +<WRAP prewrap>
 +<​code>​
 +[~] # touch /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​ipc/​Scheduler/​stop
 +[~] # ps -ef|grep java
 + 3562 admin 640772 S   /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​jvm/​bin/​java -Xrs -Xms64m -Xmx1024m -Dsun.nio.PageAlignDirectMemory=true -Djava.library.path= ​                       . -cp .:./cb.jar WuiService /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​.obm --port=32168
 +12542 admin 1000 S grep java
 +</​code>​
 +</​WRAP>​
 +
 +==== Manaully Start Scheduler Service ====
 +To manually start the scheduler service, use the **/​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​bin/​Scheduler.sh** script and use the **ps** command again.
 +
 +<WRAP prewrap>
 +<​code>​
 +[~] # /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​bin/​Scheduler.sh
 +[~] # ps -ef|grep java
 + 3562 admin 640772 S /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​jvm/​bin/​java -Xrs -Xms64m -Xmx1024m -Dsun.nio.PageAlignDirectMemory=true -Djava.library.path=. -cp .:./cb.jar WuiService /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​.obm --port=32168
 +17562 admin 86536 S /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm/​jvm/​bin/​java -Xms64m -Xmx256m -Dsun.nio.PageAlignDirectMemory=true -Djava.library.path=. -cp .:./cbs.jar cbs /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​obm
 +18004 admin 944 R grep java
 +</​code>​
 +</​WRAP>​
 +
 +----
 +
 +===== RunLevel Symlink Check =====
 +During installation,​ the following symlinks to the scheduler startup script **/​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​AhsayOBM.sh** will be created that allows the AhsayOBM Scheduler Service to start automatically each time the machine is rebooted or restarted.
 +
 +To verify if the symlinks have been created correctly, use the **ls** command. You will see the symlink.
 +
 +<WRAP prewrap>
 +<​code>​
 +[~] # ls -la /​etc/​init.d/​Ahsay*
 +lrwxrwxrwx 1 admin administrators 48 2019-05-23 12:55 /​etc/​init.d/​AhsayOBM .sh -> /​share/​CACHEDEV1_DATA/​.qpkg/​AhsayOBM/​AhsayOBM.sh*
 +[~] #
 +</​code>​
 +</​WRAP>​
  
 ---- ----
public/qnap_nas.1566455148.txt.gz · Last modified: 2019/08/22 14:25 by ronnie.chan

Page Tools