Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Manually changing the IP address of a Security Server running on Apache or IIS

    • Updated:
    • 12 Oct 2015
    • Product/Version:
    • Worry-Free Business Security Standard/Advanced 7.0
    • Worry-Free Business Security Standard/Advanced 8.0
    • Worry-Free Business Security Standard/Advanced 9.0
    • Platform:
    • Windows 2003 Enterprise Server
    • Windows 2003 Small Business Server
    • Windows 2003 Standard Server Edition
    • Windows 2003 Web Server Edition
    • Windows 2008 Enterprise Server
    • Windows 2008 Small Business Server
    • Windows 2008 Standard Server Edition
    • Windows 2008 Web Server Edition
Summary

This procedure can be performed in the following scenarios:

  • During installation, you used the wrong IP address. This usually happens in companies which have assigned a block or set of IP for server usage.
  • When restructuring the network, you prefer to use a different IP address. Reinstalling the product does not seem like a good option to you.
Details
Public
 
This article only applies when the "Master_DomainName" parameter from the ofcscan.ini file uses an IP address instead of a Fully Qualified Domain Name (FQDN).

Do the following:

  1. Change the server IP address.
  2. Modify the Apache httpd.conf file with the new IP address:

    1. Open http.conf using a text editor like Notepad.
    2. Click Edit > Replace.
    3. Enter the old IP address in the Find What field.
    4. Enter the new IP address in the Replace with field.
    5. Click Replace all.
    6. Save and close the file.
  3. Restart Apache2 service.
  4. Stop the Trend Micro Security Server Master service.
  5. Back up the ofcscan.ini file on the Security Server.
  6. Modify the ofcscan.ini file using the new IP or hostname. Refer to the following:

    [INI_SERVER_SECTION]
    MasterDirectory=\\%NEW IP or Hostname%\ofcscan
    Master_DomainName=%NEW IP or Hostname%

    [Scan Now Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

    [Real Time Scan Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

    [Manual Scan Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

    [Prescheduled Scan Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

  7. Back up and modify the shortcut file "Worry-Free Business Security".
    1. Right-click on the Worry-Free Business Security Internet shortcut file from the ..\Security Server\PCCSRV directory.
    2. On the Web Document tab, modify the URL with the new IP address or host name.

      Examples:

      • URL=https://%NEW IP%:4343/officescan/
      • URL=https://%NEW IP%:8059/officescan/ (if SSL is not enabled)
  8. Save and close ofcscan.ini.
  9. Start the Trend Micro Security Server Master Service and then log on to the WFBS web console.
  10. Use the Client Mover tool to establish connection between the Security Agents and the new IP of the server.

If the procedure fails, contact Trend Micro Technical Support and provide the following information:

  • Copy of ..\PCCSRV\ofcscan.ini
  • Copy of ..\PCCSRV\Apache2\conf\httpd.conf

No changes is needed on the IIS if you are using Fully Qualified Domain Name (FQDN) or IP address. By default the binding IP address is unassigned.

To verify:

For IIS 7:

  1. Open IIS Manager > Sites > Right-click Officescan > Edit Binding Settings.
  2. Select HTTP or HTTPS > Edit.  The IP Address should be unassigned. 

For IIS 6:

  1. Open IIS Manager > Websites > Right-click Officescan > Properties.
  2. Select Website Tab. Under Website Identification, the IP Address should be unassigned

After manually changing the Security Server IP address modify the ofcscan.ini file:

  1. Stop the Trend Micro Security Server Master service.
  2. Back up the ofcscan.ini file on the Security Server.
  3. Modify the ofcscan.ini file using the new IP or hostname. Refer to the following:

    [INI_SERVER_SECTION]
    MasterDirectory=\\%NEW IP or Hostname%\ofcscan
    Master_DomainName=%NEW IP or Hostname%

    [Scan Now Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

    [Real Time Scan Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

    [Manual Scan Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

    [Prescheduled Scan Configuration]
    MoveDir =HTTP://%NEW IP or Hostname%
    CleanFailedMoveDir =HTTP://%NEW IP or Hostname%

  4. k up and modify the shortcut file "Worry-Free Business Security".

    1. Right-click on the Worry-Free Business Security Internet shortcut file from the ..\Security Server\PCCSRV directory.
    2. On the Web Document tab, modify the URL with the new IP address or host name.

      Examples:

      • URL=https://%NEW IP%:4343/officescan/
      • URL=https://%NEW IP%:8059/officescan/ (if SSL is not enabled)
  5. Save and close ofcscan.ini.
  6. Start the Trend Micro Security Server Master Service and then log on to the WFBS web console.
  7. Use the Client Mover tool to establish connection between the Security Agents and the new IP of the server.

If the procedure fails, contact Trend Micro Technical Support and provide the following information:

  • Copy of ..\PCCSRV\ofcscan.ini
Premium
Internal
Rating:
Category:
Configure
Solution Id:
1057606
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.