Difference between revisions of "My Notes on Server Migration"
(→How to Migrate the IBM BigFix (Endpoint Manager) Server (Windows/MS-SQL)) |
|||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Much of this information is taken from the IBM Document [https://www.ibm.com/developerworks/community/wikis/home/wiki/Tivoli+Endpoint+Manager/page/Server+Migration Server Migration] and has been modified to suit the Environment I support at work.] | + | Much of this information is taken from the IBM Document [https://www.ibm.com/developerworks/community/wikis/home/wiki/Tivoli+Endpoint+Manager/page/Server+Migration Server Migration] and has been modified to suit the Environment I support at work.] My intent is to modify this document to include the exact steps (paths included) required to perform the Migration of the Primary Master server to new hardware along with a new DSA server (likely won't migrate that, I'll just add a new server and remove the old one.). |
+ | * I removed the Section on Database Migration (For Remote Database installations) since we are using Local Database Installations | ||
+ | * I removed the Section on Migration Steps (for Remote Database installation) since we are using Local Database Installations | ||
----- | ----- | ||
Line 25: | Line 27: | ||
# If leveraging BigFix Disaster Server Architecture (DSA - https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/Disaster%20Server%20Architecture), the replica/secondary server should be migrated before the primary BigFix Server. | # If leveraging BigFix Disaster Server Architecture (DSA - https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/Disaster%20Server%20Architecture), the replica/secondary server should be migrated before the primary BigFix Server. | ||
# Custom settings that have been applied to the BigFix Server will need to be implemented again after migration | # Custom settings that have been applied to the BigFix Server will need to be implemented again after migration | ||
− | + | ## Typical examples include: Web Reports HTTPS configurations, Download Gather Cache Size, etc… | |
# Download plug-ins and other extensions/applications will also need to be re-installed in any new installation location. | # Download plug-ins and other extensions/applications will also need to be re-installed in any new installation location. | ||
# Typical examples include: Unmanaged Asset Importer, Wake on LAN medic, Upload service, Automation Plan Engine | # Typical examples include: Unmanaged Asset Importer, Wake on LAN medic, Upload service, Automation Plan Engine | ||
Line 33: | Line 35: | ||
# If migrating the Primary/Master BigFix server, the new BigFix server will have to leverage the same DNS name/alias or IP address that is specified in the masthead/license (http://www-01.ibm.com/support/docview.wss?uid=swg21505775), otherwise the BigFix infrastructure will not be able to communicate with the new BigFix server. If this is not possible, a new license may need to be obtained, and an infrastructure migration be performed rather than a server migration. This is a crucial element of the migration strategy, and requires proper planning! | # If migrating the Primary/Master BigFix server, the new BigFix server will have to leverage the same DNS name/alias or IP address that is specified in the masthead/license (http://www-01.ibm.com/support/docview.wss?uid=swg21505775), otherwise the BigFix infrastructure will not be able to communicate with the new BigFix server. If this is not possible, a new license may need to be obtained, and an infrastructure migration be performed rather than a server migration. This is a crucial element of the migration strategy, and requires proper planning! | ||
− | + | #* If the masthead leverages an IP address, the new Server will have to leverage the same IP address. | |
− | + | #* If the masthead leverages a host name, the new Server may have to leverage the same host name. | |
− | + | #* If the masthead leverages a DNS name/alias (per best practice), the alias will have to be re-pointed to the new BigFix server as part of the migration process as described in step 18 below. | |
# The existing BigFix server is operating normally before the migration. | # The existing BigFix server is operating normally before the migration. | ||
# The new BigFix server has been built, meets the requirements of an BigFix server, and is properly configured to serve as an BigFix server. In particular, the OS and database platforms should be supported for the given IEM version being migrated. | # The new BigFix server has been built, meets the requirements of an BigFix server, and is properly configured to serve as an BigFix server. In particular, the OS and database platforms should be supported for the given IEM version being migrated. | ||
# The installation folders are in the same location and path for the original BigFix /DSA servers and the new BigFix /DSA servers (if not, some manual modification of files will be necessary, which is outlined in the steps below). | # The installation folders are in the same location and path for the original BigFix /DSA servers and the new BigFix /DSA servers (if not, some manual modification of files will be necessary, which is outlined in the steps below). | ||
# The migration is performed off-hours to minimize potential impact or down-time. | # The migration is performed off-hours to minimize potential impact or down-time. | ||
+ | |||
+ | == Pre-Migration Check List == | ||
+ | # Ensure that a strategy has been determined to allow the Clients to continue to connect to the new BigFix Server per the GatherURL specified in the masthead (corresponding to Assumption #1 above). | ||
+ | # Back up the BFEnterprise and BESReporting SQL databases. | ||
+ | # Back up the site level credentials such as license.crt, license.pvk, and the masthead (http://www-01.ibm.com/support/knowledgecenter/SS63NW_9.2.0/com.ibm.tivoli.tem.doc_9.2/Platform/Adm/c_licensing_tasks.html). If using <8.1 then you should also back up user/operator credentials such as publisher.pvk and publisher.crt. | ||
+ | # Document the authentication method to the MSSQL database (SQL versus NT). | ||
+ | #* If using NT Authentication, document the NT Domain/service account used for BigFix Server services. | ||
+ | #* If using SQL Authentication, document the SQL account used for SQL Authentication Registry values. | ||
+ | # Document (consider taking a screenshot) the ODBC connections: bes_BFEnterprise, bes_EnterpriseServer, enterprise_setup, and LocalBESReportingServer. For 64-bit Windows systems, use the 32-bit version of the ODBC tool (C:\Windows\SysWOW64\odbcad32.exe) to configure the System DSNs. | ||
+ | # If migrating the Primary BigFix Server, consider implementing the following prior to the migration to reduce downtime: | ||
+ | #* Change the following BigFix Client settings on all clients: | ||
+ | #** _BESClient_Report_MinimumInterval = 3600 *This setting will reduce the amount of incoming data from the endpoints to allow the system to recover more quickly and reduce potential downtime. | ||
+ | #** _BESClient_RelaySelect_ResistFailureIntervalSeconds = 21600 *This value represents the amount of time BES Clients will wait after its relay appears down before performing BES Relay selection. This can prevent unnecessary automatic relay selection during the migration. | ||
+ | #* Change the heartbeat in the BigFix Console to 6 hours: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/Console%20Preferences * This is another way to reduce the amount of incoming data from the endpoints. | ||
+ | # Carefully review the migration steps. | ||
+ | |||
+ | = BigFix Server Migration Processes = | ||
+ | # Backup and copy the current masthead, site level credentials (license.pvk), license certificate (license.crt), and if applicable, publisher credentials (versions 7.2 to 8.1) from the original BigFix Server to the new server. | ||
+ | #* The license.pvk, license.crt, and publisher.pvk files are critical to the security and operation of BigFix . If the private key (pvk) files or their passwords are lost, they cannot be recovered. | ||
+ | # If using Message Level Encryption (MLE - http://www-01.ibm.com/support/docview.wss?uid=swg21506127), backup the “[BigFix Server folder]\Encryption Keys” folder. | ||
+ | #: The above files must be securely backed up! | ||
+ | # To facilitate migration verification, note the current actionsite version. | ||
+ | #* For any BigFix server version: http://www-01.ibm.com/support/docview.wss?uid=swg21506176 | ||
+ | #* With v8.2 and above, the actionsite version can also be obtained from the Server’s Diagnostics page (http://<iemserver:port>/rd), select the ‘Get Current Version’ request type under Site Gathering Information, select the actionsite URL from the dropdown, click Submit, and note the actionsite version | ||
+ | # Stop and consider disabling all BES Services on the original Server. | ||
+ | # For versions prior to v8.2, migrate SQL Accounts for BigFix Console Operators as needed to the new DSA Server's computer/SQL Server instance. Further information on performing this operation is available at How to transfer logins and passwords between instances of SQL Server. | ||
+ | # Detach the BFEnterprise and BESReporting databases from original BigFix Server's SQL Server instance. | ||
+ | # Attach the BFEnterprise and BESReporting databases to the new BigFix Server's SQL Server instance. | ||
+ | # Copy the contents of the following folders from the original BigFix Server onto the new BigFix Server. Create the necessary folders, or overwrite existing data as needed: | ||
+ | #* [BigFix Server folder]\sitearchive (pre-8.0 only) | ||
+ | #* [BigFix Server folder]\BESReportsData\ArchiveData | ||
+ | #* [BigFix Server folder]\BESReportsServer\wwwroot\ReportFiles | ||
+ | #* [BigFix Server folder]\ClientRegisterData (pre-9.0 only) | ||
+ | #* [BigFix Server folder]\Encryption Keys (if MLE is enabled – for more information, please see: http://www-01.ibm.com/support/docview.wss?uid=swg21506127) | ||
+ | #* [BigFix Server folder]\Mirror Server\Inbox -- NOTE: Be sure to edit and update the paths specified in the GatherState.xml if the installation path has changed, e.g. Program Files to Program Files(x86) for example, otherwise you will receive class NotASignedMessage errors. This particularly applies when migrating the OS from 32-bit to 64-bit architectures. | ||
+ | #* [BigFix Server folder]\Mirror Server\Config -> DownloadWhitelist.txt | ||
+ | #* [BigFix Server folder]\UploadManagerData | ||
+ | #* [BigFix Server folder]\wwwrootbes | ||
+ | # ** '''Run this step if you are migrating a BigFix Server with version 8.2 or later. If the version of your BigFix Server is earlier than 8.2 skip this step and go to step 10.''' ** Starting from version 8.2 you must decrypt the configuration keys encrypted on the old server, save them to a folder on the new server, and encrypt them on the new server. Depending on the version of the IBM BigFix Server in your environment, you must migrate: | ||
+ | #* The EncryptedServerSigningKey and EncryptedClientCAKey keys, if the version of the IBM BigFix Server is 8.2 or later and earlier than 9.5 Patch 3. | ||
+ | #* The EncryptedServerSigningKey, EncryptedClientCAKey, EncryptedAPIServerKey, EncryptedPlatKey, and EncryptedWebUICAKey if the version of the IBM BigFix Server is 9.5 Patch 3 or later. | ||
+ | #: The encrypted keys are located, by default, in the C:\Program Files (x86)\BigFix Enterprise\BES Server\ folder. | ||
+ | #: Use the ServerKeyTool.exe and run the steps documented in this page for each key that you are required to migrate. | ||
+ | #: Note: By using the ServerKeyTool to migrate the keys on BigFix Servers V8.2.xx, you ensure also that the existing LDAP configuration is successfully migrated to the new server. In fact, when installing the new server, if the installer does not find the encrypted EncryptedServerSigningKey key under C:\Program Files (x86)\BigFix Enterprise\BES Server, it generates automatically a new key which is unknown to the configured LDAP server. If this happens the login of the LDAP operators on the new server will not work. | ||
+ | # If leveraging DSA, use SQL Server Management Studio to connect to the BFEnterprise database and examine the DBINFO and REPLICATION_SERVERS tables | ||
+ | #: Look at the REPLICATION_SERVERS table to check that ServerID columns have the expected DNS and URL values: | ||
+ | #: Record all column values for verification purposes in Step 14. | ||
+ | #: If DNS aliases are being leveraged for the servers, this should not change. If is using hostnames, and the hostnames are changing, these column values may need manual modification after Step 13. | ||
+ | # Download the same version of the BigFix Installation Generator onto the new BigFix Server (or copy BESInstallers directory from the old BigFix server and skip to step 12). For more information, see the following: http://support.bigfix.com/bes/install/downloadbes.html | ||
+ | # Run the BigFix Installer Software on the new BigFix server. Perform a 'Production' installation using the masthead from Step 1. | ||
+ | # Install the BigFix Server, BigFix Console and BigFix Client on the IEM server using the installers created in Step 12. | ||
+ | #* If migrating the Primary/Master server, on the Select Database Replication page of the server installer, select “Single or Master Database”, and proceed through the installer screens as usual. | ||
+ | #* If migrating the Secondary/Replica server, on the Select Database Replication page of the server installer, select “Replicated Database”, and proceed through the installer screens as usual. | ||
+ | #: '''NOTE:''' Ensure that you restore the database on the new BigFix server before you install the server component. Not doing so might prevent Clients from properly reporting in to the BigFix server. | ||
+ | # Use SQL Server Management Studio to connect to the BFEnterprise database and examine the DBINFO and RELICATION_SERVERS tables. Compare the current values to the values noted in Step 10. They should be the same. | ||
+ | # Verify that the new BigFix Server is able to connect to the database. Check the [BigFix Server folder]\BESRelay.log, [BigFix Server Folder]\GatherDBData.log, and [BigFix Server Folder]\FillDBData\FillDB log for error messages on connecting to the database. | ||
+ | #* Depending on your database authentication method (NT versus SQL), it may be necessary to modify the domain/service accounts leveraged by the BigFix Server services (Root Server, GatherDB, FillDB, and Web Reports) to match the account previously leveraged with the old BigFix server (per pre-migration step 3). | ||
+ | # Reconfigure any appropriate BigFix Server settings (per General Notes/Guidelines item 3) | ||
+ | # Verify the actionsite version being hosted by the new BigFix Server matches that noted in step 3 using the same steps outlined in step 3 | ||
+ | # If leveraging a DNS name/alias within the masthead, perform a DNS switch for the DNS name so that the alias now points to the new BigFix Server. | ||
+ | #* Wait for the DNS switch to propagate (this may take some time depending on your DNS services/infrastructure). | ||
+ | # Verify that clients are able to post data to the new BigFix Server correctly. Clients should now appear active in the BigFix Console. Take an Action in the BigFix Console and ensure that Clients respond to that Action. | ||
+ | #* Check relay selection settings on all top-level Relays. If any point to the original BigFix Server using an IP Address or hostname, they may need to be re-pointed to the new BigFix server. | ||
+ | # Reinstall the UAImporter, BES Server Plugin Service, and any plugins that are currently installed on the original BigFix server by re-deploying the appropriate Fixlets. (per General Notes/Guidelines item 4) | ||
+ | # Uninstall the BigFix Server software from the old IEMBigFix Server computer. Do NOT restart the BES Services on this computer. Attempting to use the old BigFix Server may cause errors on the new BigFix Server if it is used again. | ||
+ | # Run BESAdmin.exe /resetDatabaseEpoch to force consoles to refresh their cache with the new server. | ||
+ | # Reset the Client settings and heartbeat to settings prior to shutting down the BigFix Server services. | ||
+ | |||
+ | = Verification of Migration (Application Server or Database) = | ||
+ | |||
+ | To make sure that your BigFix Server has been successfully migrated, perform the following steps: | ||
+ | |||
+ | # Check the BigFix Diagnostics Tool to make sure all services are properly started. | ||
+ | # Log in the BigFix Admin tool (if it opens normally database connectivity is verified and the tool can be closed). | ||
+ | # Log in with the BigFix Console and verify that the logins work properly and the database information was properly restored. | ||
+ | # BigFix Clients and BigFix Relays should soon notice that the Server is available and will be reporting data to the server. Full recovery with all Agents reporting will usually take anywhere from a few minutes to many hours (depending on the size of the deployment and how long the Server was unavailable). In any circumstance, at least some Agents should be reporting updated information within an hour or so. | ||
+ | # After verifying some agents are reporting properly, send a "blank action" (Tools > Take Custom Action, target "All Computers", click OK) to all computers. The blank action will not make any changes to the Agent computers, but the Agents will report that they received the blank action. If the most Agents respond to a blank action, it is a very strong indicator that everything is working well because sending an action tests many core components and communication paths of BigFix . | ||
+ | # Log in to Web Reports and ensure the data was restored properly. | ||
+ | # Contact IBM Technical Support with any issues or questions. | ||
[[Category:IBM BigFix]] | [[Category:IBM BigFix]] | ||
[[Category:Work]] | [[Category:Work]] |
Latest revision as of 21:17, 8 August 2018
Much of this information is taken from the IBM Document Server Migration and has been modified to suit the Environment I support at work.] My intent is to modify this document to include the exact steps (paths included) required to perform the Migration of the Primary Master server to new hardware along with a new DSA server (likely won't migrate that, I'll just add a new server and remove the old one.).
- I removed the Section on Database Migration (For Remote Database installations) since we are using Local Database Installations
- I removed the Section on Migration Steps (for Remote Database installation) since we are using Local Database Installations
Contents
How to Migrate the IBM BigFix (Endpoint Manager) Server (Windows/MS-SQL)
This BigFix document details the steps and operational procedures necessary for migrating the BigFix Server from existing hardware onto new computer systems. Typical use cases for these steps include:
- Hardware refresh
- OS or SQL Server upgrades
- 32-bit to 64-bit architecture migration
- Remote SQL server migration
The steps below apply to the following BigFix server versions for Windows:
- 7.2
- 8.0, 8.1, 8.2
- 9.0, 9.1, 9.2, 9.5
Due to the complexity and risks of migrating BigFix Servers, it is strongly recommended that an BigFix Technician help in performing the BigFix Server Migration process. Consider engaging the assistance of Services (http://ibm.biz/PPSBigFix), or IBM Accelerated Value Program (http://www-01.ibm.com/software/support/acceleratedvalue/).
Root/Application Server Migration
General Notes and Guidelines
- The migration should first be performed and tested in a segregated test/dev environment, if possible.
- If leveraging BigFix Disaster Server Architecture (DSA - https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/Disaster%20Server%20Architecture), the replica/secondary server should be migrated before the primary BigFix Server.
- Custom settings that have been applied to the BigFix Server will need to be implemented again after migration
- Typical examples include: Web Reports HTTPS configurations, Download Gather Cache Size, etc…
- Download plug-ins and other extensions/applications will also need to be re-installed in any new installation location.
- Typical examples include: Unmanaged Asset Importer, Wake on LAN medic, Upload service, Automation Plan Engine
Assumptions
The following assumptions are assumed to be true prior to performing the BigFix Server migrations:
- If migrating the Primary/Master BigFix server, the new BigFix server will have to leverage the same DNS name/alias or IP address that is specified in the masthead/license (http://www-01.ibm.com/support/docview.wss?uid=swg21505775), otherwise the BigFix infrastructure will not be able to communicate with the new BigFix server. If this is not possible, a new license may need to be obtained, and an infrastructure migration be performed rather than a server migration. This is a crucial element of the migration strategy, and requires proper planning!
- If the masthead leverages an IP address, the new Server will have to leverage the same IP address.
- If the masthead leverages a host name, the new Server may have to leverage the same host name.
- If the masthead leverages a DNS name/alias (per best practice), the alias will have to be re-pointed to the new BigFix server as part of the migration process as described in step 18 below.
- The existing BigFix server is operating normally before the migration.
- The new BigFix server has been built, meets the requirements of an BigFix server, and is properly configured to serve as an BigFix server. In particular, the OS and database platforms should be supported for the given IEM version being migrated.
- The installation folders are in the same location and path for the original BigFix /DSA servers and the new BigFix /DSA servers (if not, some manual modification of files will be necessary, which is outlined in the steps below).
- The migration is performed off-hours to minimize potential impact or down-time.
Pre-Migration Check List
- Ensure that a strategy has been determined to allow the Clients to continue to connect to the new BigFix Server per the GatherURL specified in the masthead (corresponding to Assumption #1 above).
- Back up the BFEnterprise and BESReporting SQL databases.
- Back up the site level credentials such as license.crt, license.pvk, and the masthead (http://www-01.ibm.com/support/knowledgecenter/SS63NW_9.2.0/com.ibm.tivoli.tem.doc_9.2/Platform/Adm/c_licensing_tasks.html). If using <8.1 then you should also back up user/operator credentials such as publisher.pvk and publisher.crt.
- Document the authentication method to the MSSQL database (SQL versus NT).
- If using NT Authentication, document the NT Domain/service account used for BigFix Server services.
- If using SQL Authentication, document the SQL account used for SQL Authentication Registry values.
- Document (consider taking a screenshot) the ODBC connections: bes_BFEnterprise, bes_EnterpriseServer, enterprise_setup, and LocalBESReportingServer. For 64-bit Windows systems, use the 32-bit version of the ODBC tool (C:\Windows\SysWOW64\odbcad32.exe) to configure the System DSNs.
- If migrating the Primary BigFix Server, consider implementing the following prior to the migration to reduce downtime:
- Change the following BigFix Client settings on all clients:
- _BESClient_Report_MinimumInterval = 3600 *This setting will reduce the amount of incoming data from the endpoints to allow the system to recover more quickly and reduce potential downtime.
- _BESClient_RelaySelect_ResistFailureIntervalSeconds = 21600 *This value represents the amount of time BES Clients will wait after its relay appears down before performing BES Relay selection. This can prevent unnecessary automatic relay selection during the migration.
- Change the heartbeat in the BigFix Console to 6 hours: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/Console%20Preferences * This is another way to reduce the amount of incoming data from the endpoints.
- Change the following BigFix Client settings on all clients:
- Carefully review the migration steps.
BigFix Server Migration Processes
- Backup and copy the current masthead, site level credentials (license.pvk), license certificate (license.crt), and if applicable, publisher credentials (versions 7.2 to 8.1) from the original BigFix Server to the new server.
- The license.pvk, license.crt, and publisher.pvk files are critical to the security and operation of BigFix . If the private key (pvk) files or their passwords are lost, they cannot be recovered.
- If using Message Level Encryption (MLE - http://www-01.ibm.com/support/docview.wss?uid=swg21506127), backup the “[BigFix Server folder]\Encryption Keys” folder.
- The above files must be securely backed up!
- To facilitate migration verification, note the current actionsite version.
- For any BigFix server version: http://www-01.ibm.com/support/docview.wss?uid=swg21506176
- With v8.2 and above, the actionsite version can also be obtained from the Server’s Diagnostics page (http://<iemserver:port>/rd), select the ‘Get Current Version’ request type under Site Gathering Information, select the actionsite URL from the dropdown, click Submit, and note the actionsite version
- Stop and consider disabling all BES Services on the original Server.
- For versions prior to v8.2, migrate SQL Accounts for BigFix Console Operators as needed to the new DSA Server's computer/SQL Server instance. Further information on performing this operation is available at How to transfer logins and passwords between instances of SQL Server.
- Detach the BFEnterprise and BESReporting databases from original BigFix Server's SQL Server instance.
- Attach the BFEnterprise and BESReporting databases to the new BigFix Server's SQL Server instance.
- Copy the contents of the following folders from the original BigFix Server onto the new BigFix Server. Create the necessary folders, or overwrite existing data as needed:
- [BigFix Server folder]\sitearchive (pre-8.0 only)
- [BigFix Server folder]\BESReportsData\ArchiveData
- [BigFix Server folder]\BESReportsServer\wwwroot\ReportFiles
- [BigFix Server folder]\ClientRegisterData (pre-9.0 only)
- [BigFix Server folder]\Encryption Keys (if MLE is enabled – for more information, please see: http://www-01.ibm.com/support/docview.wss?uid=swg21506127)
- [BigFix Server folder]\Mirror Server\Inbox -- NOTE: Be sure to edit and update the paths specified in the GatherState.xml if the installation path has changed, e.g. Program Files to Program Files(x86) for example, otherwise you will receive class NotASignedMessage errors. This particularly applies when migrating the OS from 32-bit to 64-bit architectures.
- [BigFix Server folder]\Mirror Server\Config -> DownloadWhitelist.txt
- [BigFix Server folder]\UploadManagerData
- [BigFix Server folder]\wwwrootbes
- ** Run this step if you are migrating a BigFix Server with version 8.2 or later. If the version of your BigFix Server is earlier than 8.2 skip this step and go to step 10. ** Starting from version 8.2 you must decrypt the configuration keys encrypted on the old server, save them to a folder on the new server, and encrypt them on the new server. Depending on the version of the IBM BigFix Server in your environment, you must migrate:
- The EncryptedServerSigningKey and EncryptedClientCAKey keys, if the version of the IBM BigFix Server is 8.2 or later and earlier than 9.5 Patch 3.
- The EncryptedServerSigningKey, EncryptedClientCAKey, EncryptedAPIServerKey, EncryptedPlatKey, and EncryptedWebUICAKey if the version of the IBM BigFix Server is 9.5 Patch 3 or later.
- The encrypted keys are located, by default, in the C:\Program Files (x86)\BigFix Enterprise\BES Server\ folder.
- Use the ServerKeyTool.exe and run the steps documented in this page for each key that you are required to migrate.
- Note: By using the ServerKeyTool to migrate the keys on BigFix Servers V8.2.xx, you ensure also that the existing LDAP configuration is successfully migrated to the new server. In fact, when installing the new server, if the installer does not find the encrypted EncryptedServerSigningKey key under C:\Program Files (x86)\BigFix Enterprise\BES Server, it generates automatically a new key which is unknown to the configured LDAP server. If this happens the login of the LDAP operators on the new server will not work.
- If leveraging DSA, use SQL Server Management Studio to connect to the BFEnterprise database and examine the DBINFO and REPLICATION_SERVERS tables
- Look at the REPLICATION_SERVERS table to check that ServerID columns have the expected DNS and URL values:
- Record all column values for verification purposes in Step 14.
- If DNS aliases are being leveraged for the servers, this should not change. If is using hostnames, and the hostnames are changing, these column values may need manual modification after Step 13.
- Download the same version of the BigFix Installation Generator onto the new BigFix Server (or copy BESInstallers directory from the old BigFix server and skip to step 12). For more information, see the following: http://support.bigfix.com/bes/install/downloadbes.html
- Run the BigFix Installer Software on the new BigFix server. Perform a 'Production' installation using the masthead from Step 1.
- Install the BigFix Server, BigFix Console and BigFix Client on the IEM server using the installers created in Step 12.
- If migrating the Primary/Master server, on the Select Database Replication page of the server installer, select “Single or Master Database”, and proceed through the installer screens as usual.
- If migrating the Secondary/Replica server, on the Select Database Replication page of the server installer, select “Replicated Database”, and proceed through the installer screens as usual.
- NOTE: Ensure that you restore the database on the new BigFix server before you install the server component. Not doing so might prevent Clients from properly reporting in to the BigFix server.
- Use SQL Server Management Studio to connect to the BFEnterprise database and examine the DBINFO and RELICATION_SERVERS tables. Compare the current values to the values noted in Step 10. They should be the same.
- Verify that the new BigFix Server is able to connect to the database. Check the [BigFix Server folder]\BESRelay.log, [BigFix Server Folder]\GatherDBData.log, and [BigFix Server Folder]\FillDBData\FillDB log for error messages on connecting to the database.
- Depending on your database authentication method (NT versus SQL), it may be necessary to modify the domain/service accounts leveraged by the BigFix Server services (Root Server, GatherDB, FillDB, and Web Reports) to match the account previously leveraged with the old BigFix server (per pre-migration step 3).
- Reconfigure any appropriate BigFix Server settings (per General Notes/Guidelines item 3)
- Verify the actionsite version being hosted by the new BigFix Server matches that noted in step 3 using the same steps outlined in step 3
- If leveraging a DNS name/alias within the masthead, perform a DNS switch for the DNS name so that the alias now points to the new BigFix Server.
- Wait for the DNS switch to propagate (this may take some time depending on your DNS services/infrastructure).
- Verify that clients are able to post data to the new BigFix Server correctly. Clients should now appear active in the BigFix Console. Take an Action in the BigFix Console and ensure that Clients respond to that Action.
- Check relay selection settings on all top-level Relays. If any point to the original BigFix Server using an IP Address or hostname, they may need to be re-pointed to the new BigFix server.
- Reinstall the UAImporter, BES Server Plugin Service, and any plugins that are currently installed on the original BigFix server by re-deploying the appropriate Fixlets. (per General Notes/Guidelines item 4)
- Uninstall the BigFix Server software from the old IEMBigFix Server computer. Do NOT restart the BES Services on this computer. Attempting to use the old BigFix Server may cause errors on the new BigFix Server if it is used again.
- Run BESAdmin.exe /resetDatabaseEpoch to force consoles to refresh their cache with the new server.
- Reset the Client settings and heartbeat to settings prior to shutting down the BigFix Server services.
Verification of Migration (Application Server or Database)
To make sure that your BigFix Server has been successfully migrated, perform the following steps:
- Check the BigFix Diagnostics Tool to make sure all services are properly started.
- Log in the BigFix Admin tool (if it opens normally database connectivity is verified and the tool can be closed).
- Log in with the BigFix Console and verify that the logins work properly and the database information was properly restored.
- BigFix Clients and BigFix Relays should soon notice that the Server is available and will be reporting data to the server. Full recovery with all Agents reporting will usually take anywhere from a few minutes to many hours (depending on the size of the deployment and how long the Server was unavailable). In any circumstance, at least some Agents should be reporting updated information within an hour or so.
- After verifying some agents are reporting properly, send a "blank action" (Tools > Take Custom Action, target "All Computers", click OK) to all computers. The blank action will not make any changes to the Agent computers, but the Agents will report that they received the blank action. If the most Agents respond to a blank action, it is a very strong indicator that everything is working well because sending an action tests many core components and communication paths of BigFix .
- Log in to Web Reports and ensure the data was restored properly.
- Contact IBM Technical Support with any issues or questions.