Introduction:?
An important part of any APM TIM or MTP upgrade is preserving key configuration files such as SSL private keys and web server filters by making a backup of the
entire <TIM_HOME>/config directory. Sometimes, this is not done and files are wiped out accidentally during upgrades. Then customers have to recreate files.
Question:
I lost my APM webserver filters after an upgrade, how can I recreate them?
Environment:
All APM releases of TIM and MTP.
Answer:
Going forward, make periodic backups of the TIM config directory. This includes timconfig.xml which contains the TIM webserver filters.
Do the following steps in order:
1. Check that <TIM_HOME>\config\timconfig.xml is empty.
2. Check for an APM run book (if any), prior TIM customer directory backups, and existing screenshots of APM CE GUI.
3. Review IP addresses of servers seen in TIM logs if there are no web server filters in place.
4. If an MTP, then review MTP hardware filters and Analysis page for the IP addresses of the traffic being seen.
5. Get a PCAP of TIM traffic and analyze addresses using menu options such as HTTP>Load Distribution, Statistics>Conversations, and the like.
6. Recreate from the TIM logs on startup It will look like:
hub: WebServer: loading timconfig
hub: ConfigFile: writing configuration file <path>/timconfig.txt
hub: ConfigFile: reading configuration file <path>/timconfig.txt
hub: TimConfig: timconfig file loaded
hub: TimConfig: 2 server filters defined: <-- Copy from below
hub: TimConfig: [10.10.10.10] port 443
hub: TimConfig: [10.10.10.11]-[10.10.10.11] port 443 <--End here
hub: TimConfig: end of server filter list