Step | Description |
---|
Stop the environment. | To stop the Application Server
The stop operation ends running jobs and stops the Application Server, providing a controlled shutdown. You can select options for managing the running jobs. - In the BMC Server Automation Console, from the Configuration menu, select Infrastructure Management.
- Expand the Application Servers node.
- Right-click the Application Server and select Stop.
- In the Stop Application Server dialog box, select the method for managing any running jobs:
- Stop immediately without waiting for running jobs to finish.
- Stop when all running jobs finish.
- Stop when all running jobs finish or after specified number of minutes, whichever comes first.
- Click OK.
Allow a window of time (an hour or so, if possible) to ensure that any running jobs have stopped, and then stop the Application Server service, which will stop the Application Server launcher. - On Windows, select Start > Run. Enter services.msc in the Open field and click OK. Right-click- BladeLogic Application Server and select Stop from the pop-up menu.
- On UNIX, type the command:
/etc/init.d/blappserv stop
To stop agents on Windows- Choose Start > Settings > Control Panel > Administrative Tools > Services.
- Right-click BladeLogic RSCD Agent and select Stop.
To stop agents on UNIX/LinuxType the command: <installDir>/NSH/sbin/agentctl stop To stop the PXE server on Windows- Select Start > Settings > Control Panel > Administrative Tools > Services.
- Right-click BladeLogic PXE Server and select Stop.
To stop the PXE server on UNIX or LinuxType the command:/etc/init.d/blpxe stop |
Run the Application Server upgrade program. | To upgrade the Application Server on Windows- Navigate to the directory that contains installation files and run the installation program for BMC Server Automation. (Installation program names follow the convention: BBSA<version>-<platform>.) BMC Server Automation does not support multiple instances of the Application Server on the same machine.
- In the Setup Type window, select Upgrade, and then click Next.
- To complete the upgrade to your installation, click Finish.
Related topic: Upgrading the Application Server on Windows To upgrade the Application Server on UNIX or Linux- Log on as root.
- Stop the Application Server.
- Navigate to the directory that contains upgrade files and run the upgrade script for BMC Server Automation. (Script names follow the convention: BBSA<version>-<platform>.)
The following message is displayed: A previous installation already exists. Do you wish to continue (y/n) ? - Enter y.
A message is displayed that lets you choose a language for the installation program. - Enter the number corresponding to the language that you want to use.
The following message is displayed: Welcome to the BMC BladeLogic Server Automation Release 8.2.00 installation script ... A previous installation has been detected. This installation will be upgraded to BMC BladeLogic BMC BladeLogic Server Automation 8.2.00. Do you wish to continue (y/n) ? - Enter y.
Licensing text is displayed and concludes with the following message: Do you agree to the terms of the license agreement (y for Yes) ? - Enter y.
A list displays the BMC Server Automation components to be upgraded and prompts you to continue. - Enter y.
A series of messages is displayed, and then the upgrade script is complete.
Related topic: Upgrading the Application Server on Linux and UNIX |
If the Application Server is running on Microsoft Windows, run the RSCD agent upgrade program on the Application Server and File Server. | To run the RSCD agent upgrade program on the Application Server and File Server
- Navigate to the directory containing installation files and run the installation program for the RSCD agent. (Installation program names follow the convention: RSCD<version>-<platform>.)
- To begin upgrade, click Next.
- If the installation program displays an information message saying that a reboot is required to complete the setup, click OK.
- To complete the upgrade, click Finish.
The installation program starts the RSCD agent.
Related topic: Upgrading RSCD agents on Windows |
If this is a version upgrade (for example, upgrading from version 8.3 to version 8.5), run the migration manager to upgrade the database. | To migrate an Oracle database Click here to review the steps for migrating an Oracle database. - Back up the BMC Server Automation file server storage location. For example, copy the entire contents of the storage location to a directory other than the current storage location. BMC recommends using a backup directory that is at or close to the root of a disk drive. This practice avoids excessively long paths. Microsoft Windows paths are limited to 255 characters.
- Obtain the 8.2 version of the external-files.zip file and extract its contents. For a description of this file, see Obtaining the installation files.
Using the files extracted from external-files.zip, copy the /db_scripts/ <db_type>/upgradedirectory into a directory on your Application Server. - The Oracle DBA must perform the following steps:
- Confirm that adequate TEMP and UNDO space is available. See Determining sizing requirements for Oracle databases.
- Copy /db_scripts/oracle/upgrade/migration_setup_OM.sql, which you extracted from external-files.zip, to a location where you have access to SQL*Plus.
Log on to SQL*Plus as sysdba. Set the BMC Server Automation user's roles and permissions to allow the migration to be carried out by entering the following command: start migration_setup_OM.sql
- On the Application Server, use the cd command to navigate to the <installDirectory>/NSH/bin directory for BMC Server Automation.
Launch BMC BladeLogic Data Migration Manager by entering one of the following commands: (Windows) | blmigration_mgr.exe <path_to_migration_directory>
| (Linux and UNIX) | ./blmigration_mgr <path_to_migration_directory>
|
Where <path_to_migration_directory> is the path to the migration directory that you copied to the Application Server in step 3. For example, if you extracted the externalfiles.zip for version 8.2 SP1 under the tmpdirectory, then the path to the migration directory would be: (Windows) | blmigration_mgr.exe C:\tmp\8.2-SP1-external-files\bl_8.2.01\db_scripts\oracle\upgrade
| (Linux and UNIX) | ./blmigration_mgr /tmp/8.2-SP1-external-files/bl_8.2.01/db_scripts/oracle/upgrade/
|
BMC BladeLogic Data Migration Manager creates the stored tasks needed for the data migration and then launches the BMC BladeLogic Data Migration Manager console. - If you choose to execute the validate step separately from the validation that is done as part of the next step, click Validate Environment. For more information, see To validate Oracle environments.
- Click Run Migration.
- When migration completes, check the blmigration.log.
Related topic: Migrating an Oracle database To migrate an SQL Server database Click here to review the steps for migrating an SQL Server database. - Back up the BMC Server Automation file server storage location. For example, copy the entire contents of the storage location to a directory other than the current storage location. BMC recommends using a backup directory that is at or close to the root of a disk drive. This practice avoids excessively long paths. Microsoft Windows paths are limited to 255 characters.
- Obtain the most recent version of external-files.zip and extract its contents. For a description of this file, see Obtaining the installation files.
Using the files extracted from external-files.zip, copy the /db_scripts/ <db_type>/upgrade directory into a directory on your Application Server. - On the Application Server, use the
cd command to navigate to the <installDirectory>/NSH/bin directory for BMC Server Automation. Launch BMC BladeLogic Data Migration Manager by entering one of the following commands:
Where <path_to_migration_directory> is the path to the migration directory that you copied to the Application Server in step 3. For example, if you extracted the version 8.2 SP1 externalfiles.zip under the tmp directory, then the path to the migration directory would be :
(Windows) | C:\tmp\8.2-SP1-external-files\bl_8.2.01\db_scripts\sqlserver\upgrade\
| (Linux and UNIX) | /tmp/8.2-SP1-external-files/bl_8.2.01/db_scripts/sqlserver/upgrade/
|
BMC BladeLogic Data Migration Manager creates the stored tasks needed for the data migration and then launches the BMC BladeLogic Data Migration Manager console. - Click Run Migration.
- When migration completes, check the blmigration.log.
Related topic: Migrating an SQL database |
Run any required SQL scripts. | This step applies to both SP and version upgrades (for example, upgrading from version 8.1 to 8.2.01 would include both data migration and SQL update scripts). To run the update script for an Oracle database Click here to review the steps for running the SQL update scripts for an Oracle database. - Obtain the zipped package of SQL Update scripts from the BMC Electronic Product Distribution (EPD) website, as described in Obtaining the installation files. This zipped package is named 82-<SP level>-SQL_Update_Scripts.zip file, where <SP level> can be one of the following values: SP4, SP3, or SP2.
- Extract the contents of the zipped package of SQL Update scripts to a temporary local directory.
- Navigate to the directory that contains the update scripts (temporaryDirectory/8.2.0x/Remediation/oracle).
- Log on to SQL*Plus as the BMC Server Automation database owner (as provided to blasadmin during BMC Server Automation schema creation).
Run the script, as follows: SQL>start install_hotfix_update_oracle_script.sql
Related topic: Running the SQL update scripts To run the update script for an SQL Server database Click here to review the steps for running the SQL update scripts for a Microsoft SQL Server database. - Obtain the zipped package of SQL Update scripts from the BMC Electronic Product Distribution (EPD) website, as described in Downloading the installation files. This zipped package is named 82-<SP level>-SQL_Update_Scripts.zip file, where <SP level> can be one of the following values: SP4, SP3, or SP2.
- Extract the contents of the zipped package of SQL Update scripts to a temporary local directory.
- Navigate to the directory that contains the upgrade scripts (temporaryDirectory/8.2.0x/Remediation/sqlserver).
Execute the install_hotfix_update_sqlserver_script.bat file with the following input parameters: install_hotfix_update_sqlserver_script.bat <DBServerName> <DBName> <Username> <Password>
Related topic: Running the SQL update scripts |
Start the Application Server. | To start the Application ServerMultiExcerpt named start_specific_appserver was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro |
If you are using PXE-based provisioning, upgrade the PXE server. | To upgrade the PXE server on Windows Click here to review the steps for upgrading a PXE server on Windows. - Record the following settings for the PXE server:
- Installation directory
- Database connectivity information
The PXE server uses the same database as the Application Server. One way to obtain this information is to start the Application Server Administration Console (also known as the blasadmin utility) and enter the following command:
show database all - Host name and IP address of the PXE server
- DHCP server location (local or remote)
- TFTP root directory
You do not have to record the name and location of the data store. - If the Multi-Database mode is being used, make a note of the additional database configuration parameters found in the <install directory>\PXE\br\deployments\_pxe\pxe-data-sources.xml file.
- Make a backup copy of configuration files.
If you are using the pxe.conf configuration override file, make a copy of the <install directory>\PXE\br\pxe.conf file. - Uninstall the PXE server.
- Install the latest version of the PXE server (PXE<version>-<platform>.exe). During installation, ensure that you provide information that matches the settings that you recorded from the previous version, especially the following settings:
- Database configuration settings, including Multi-Database mode settings
- Any pxe.conf settings that you want to apply during installation
For more information, see Installing the PXE server (Windows). - To complete the upgrade to your installation, click Finish.
Related topic: Upgrading a PXE server on Windows To upgrade the PXE Server on UNIX or LinuxNote: If PXE is installed on the Application Server, the Application Server installer will upgrade it automatically. Click here to review the steps for upgrading a PXE server on Linux or UNIX computer where the PXE server was not installed as part of the Application Server installation. (If the PXE server is installed as part of the Application Server installation, an upgrade of the Application Server also upgrades the PXE server.) - Log on as root.
- Record the following settings for the PXE server:
- Database connectivity information
The PXE server uses the same database as the Application Server. One way to obtain this information is to start the Application Server Administration Console (also known as the blasadmin utility) and enter the following command:
show database all - Host name and IP address of the PXE server
- DHCP server location (local or remote)
- TFTP root directory
You do not have to record the name and location of the data store. - If you are using the Multi-Database mode, make a note of the additional database configuration parameters found in the <install directory>/NSH/br/deployments/_pxe/pxe-data-sources.xml file.
- Make a backup copy of configuration files.
If you are using the pxe.conf configuration override file, make a copy of the <install directory>/NSH/br/pxe.conf file.
- Navigate to the directory that contains upgrade files and run the upgrade script for BMC Server Automation. (Script names follow the convention: BBSA<version>-<platform>.)
The following message is displayed:
A previous installation already exists.
Do you wish to continue (y/n) ? - Enter y.
A message prompts you to choose a language for the installation program. - Enter the number corresponding to the language that you want to use.
The following message is displayed:
Welcome to the BMC BladeLogic Server Automation Release 8.2.00 installation script ...
A previous installation has been detected. This installation will be upgraded to BMC BladeLogic BMC BladeLogic Server Automation 8.2.00.
Do you wish to continue (y/n) ? - Enter y.
Licensing text is displayed and concludes with the following message:
Do you agree to the terms of the license agreement (y for Yes) ? - Enter y.
A list displays the BMC Server Automation components to be upgraded and prompts you to continue. - Enter y.
A series of messages is displayed, and then the upgrade script is complete. - Copy the backup of the pxe-data-sources.xml file into <install directory>/NSH/br/deployments/_pxe/pxe-data-sources.xml.
- Merge the configurations of the <install directory>/NSH/br/pxe.conf and the backed up copy.
Related topic: Upgrading a PXE server on Linux or UNIX |
Upgrade the console. | To upgrade the consoleNote: If the console is installed on the Application Server (which is not recommend by BMC), stop the agent and the Application Server and run the console upgrade program.
- Navigate to the directory that contains installation files for BMC Server Automation Console and run the installation program. (Installation program names follow the convention: BBSACONSOLE<version>-<platform>.)
- On the Multi-instance selection window, select the instance of the console that you want to upgrade.
- On the User inputs window, accept the default selections and click Next.
- On the Installation preview window, click Install.
Related topic: Upgrading the BMC Server Automation Console |
Upgrade the RSCD agents, as needed. | To upgrade agents on Windows
- Navigate to the directory containing installation files and run the installation program for the RSCD agent. (Installation program names follow the convention: RSCD<version>-<platform>.)
- To begin upgrade, click Next.
- If the installation program displays an information message saying that a reboot is required to complete the setup, click OK.
- To complete the upgrade, click Finish.
The installation program starts the RSCD agent.
Related topic: Upgrading RSCD agents on Windows To upgrade agents on UNIX or Linux
- Log on as root.
Navigate to the directory that contains upgrade files and run the installation program for the RSCD agent. (Script names follow the convention: RSCD<version>-<platform>.) The following message is displayed:
A previous installation already exists.
Do you wish to continue (y/n) ? - Enter y.
A message is displayed letting you choose a language for the installation program. - Enter the number corresponding to the language that you want to use.
The following message is displayed:
Welcome to the BMC BladeLogic RSCD Agent 8.2.00 installation script ...
Do you wish to continue (y/n) ? - Enter y.
Licensing text is displayed and concludes with the following message:
Do you agree to the terms of the license agreement (y for Yes) ? - Enter y.
A message shows the RSCD agent as the one component to be upgraded and asks if you want to continue. - Enter y.
The following message is displayed:
Please choose the rscd log directory. [/opt/bmc/bladelogic/RSCD/log] - Press Enter to install accept the default RSCD log directory or enter another directory path.
The following message is displayed:
Enter the directory you want to use for temp files [/tmp]: - Press Enter to install accept the default directory for temp files or enter another directory.
Several messages are displayed, and the upgrade is complete.
Related topic: Upgrading the RSCD agent on Linux and UNIX |
Run the Update Model Objects Job. | For custom configuration objects to work reliably, the version of the custom object should match the version of the agent.
- Run an Update Server Properties Job on the agents you have upgraded. For more information, see Creating Update Server Properties Jobs.
- Run a Distribute Configuration Objects Job to distribute the latest version of custom configuration objects stored in the Configuration Object Dictionary. The job should target agents that you have upgraded. The system prevents you from distributing custom configuration objects to agents running an incompatible version. For more information, see Creating or modifying a Distribute Configuration Objects Job.
- If you are not upgrading all of your agents at this time, make copies of all component templates, BLPackages, Snapshot Jobs, and Audit Jobs that reference custom configuration objects that have dependencies on agents running earlier versions. You must maintain a version match between component templates, BLPackages, Snapshot Jobs, and Audit Jobs and custom configuration objects and agents. The objects that you copy in this step are the objects that you can use to maintain the version match.
To ensure that all configuration-object-based assets within existing content are upgraded, run an Upgrade Model Objects Job that targets any component templates, BLPackages, Snapshot Jobs, or Audit jobs that you want to upgrade. For more information about the Upgrade Model Objects Job, see Creating or modifying Upgrade Model Objects Jobs. After executing the Upgrade Model Objects Job, display the results of the job run to see which assets were successfully upgraded and which were not. If you find that certain assets were not automatically upgraded, you must upgrade them manually. Perform the following steps: - Open the object (template, package, or job).
- Manually remove the asset of the earlier version and add the asset of the latest version.
- Save the object.
Related topics:
Upgrading custom configuration objects Creating or modifying Upgrade Model Objects Jobs |
Comments
Log in or register to comment.