Preventive Maintenance Check List for Klinik Kesihatan Putrajaya

Revised on 2017-09-19

 

  1. Preventative maintenance is a success all the following conditions are met:-
    1. SMS is sent immediately when power failure;
    2. SMS is sent when power failure has happened more than 30 min;
    3. SMS is sent when power failure has happened more than 75 min;
    4. SMS is sent when power is restored;
  2. If preventive maintenance has problem, then refer to these check list:-
    1. check MOBITEK Q24 SMS Modem is properly installed and check the COM port number;
    2. test CLISMS to see if SMS can be send out via batch file and/or command line;
      1. if CLISMS cannot send out SMS, then test using hyper terminal;
    3. check UPSMAN is configured correctly with:-
      UPSMAN-01

      click “Advanced User”

      UPSMAN-02

      in “Events” tab, click “Powerfail”

      UPSMAN-03

      select “C:\CLISMS.exe” and “Edit”

      UPSMAN-04

      PROGRAM = C:\CLISMS.exe                                                             PARAMETERS = /port=3 /to=0162010899,0162010899,01112198190 /msg=Power failure at Server Room. Please call Maintanance!

    4. due to blocking by anti-virus programme in client’s PC, UPSMAN cannot execute batch file; therefore, cannot use batch file anymore
  3. Check the status of UPS Monitor Programme:-
    1. if status shows “UPS-STATUS Normal” then the UPSMAN is communicating with the UPS and able to send SMS via CLISMS.exe

      UPS-STATUS Normal

      UPS-STATUS Normal

    2. if status shows “UPS-STATUS Communication error” then the UPSMAN has failed to communicate with the UPS and will NOT able to send SMS via CLISMS.exe

      UPS-STATUS Communication error

      UPS-STATUS Communication error

    3. if UPS Monitor Programme is not running in system tray, then re-start it
      Klinik-Kesihatan-Putrajaya-03

      select “Local UPSMAN via TCP/IP” and click “Connect

      Klinik-Kesihatan-Putrajaya-04

      after restarting, UPS Monitor Programme is running in system tray (refer to red box)

  4. Save screen shots of these  into thumb drive:-
    1. UPSMAN
    2. UPS Monitor
    3. Device Manager -> Ports
  5. Copy log file into thumb drive.
  6. Prepare an e-mail report to sherine.wong@procurri.com:
    1. attach the preventive maintenance report (KLINIK KESIHATAN PUTRAJAYA — SMS Modem Checklist Form.docx)
    2. attach screen captures

Things to Bring

  1. 1 unit of MOBITEK Q24 SMS Modem, in case replacement is required
  2. USB thumb drive
    1. contains installer of CLISMS
  3. SIM card

How to Run VB.net Code as an Administrator

Whenever you see this error message

“Cannot open [Windows service name] on computer “

error

you need to run the VB.Net code as an “Administrator”. There are 2 solutions available.

Solution 1: Modifying “app.manifest”

Step 1: Go to project and select “(Project Name) properties…”
1

 

Step 2: Click on “View UAC Settings”2

Step 3: Find the code “<requestedExecutionLevel level=”asInvoker” uiAccess=”false” />”3

Step 4: Replace the code with “<requestedExecutionLevel level=”highestAvailable” uiAccess=”false” />”4

Step 5: You will be able to run your sample code now.

 

Solution 2: Running Visual Studio as an “Administrator”

Step 1: Find Visual Studio IDE in program files, for my machine it is located at “C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE”a

Step 2: Right click on “vbexpress.exe” and select “Properties”b

Step 3: Click on “Compatibility”, then check on “Run this program as an administrator” , then click “OK”
c

Step 4: Run the program and it will run as administrator.

How to Install USB Driver of MOBITEK S80 and Find the COM Port Number

Step 1: DO NOT connect USB cable or connect modem to PC/server.

Step 2: Install the USB driver first by clicking on ‘run’. USB driver can be downloaded from here — http://www.mobitek.my/download/USB Drivers/USB Driver for MOBITEK S80.zip
USB driver S80-002
Step 3: Click on ‘next’.
USB driver S80-003

Step 4: Check the ‘I accept the terms in the License Agreement’ and click on ‘Next’.
USB driver S80-004

Step 5: Choose the installation folder or path, then click on ‘Next’.
USB driver S80-005

Step 6: Click on ‘Install’.
USB driver S80-006

Step 7: Make sure to restart the machine or computer in order to use the installed driver.
USB driver S80-007

Step 8: After computer is restarted, connect the modem to the computer. In device manager, the connected modem is listed as ‘Sierra Wireless AT Command Port (UMTS)’. In this example, the modem is connected to COM port number 29.
USB driver S80-008