Walkthrough: Installing individual components for Microsoft Windows and SQL Server environments
Install the console on your client system
Requirements for installing individual components on Microsoft Windows section to review the required planning information for installation.This walkthrough topic provides a list of the steps required to install BMC Server Automation in a Microsoft Windows/SQL Server environment. Note that walkthrough topics are targeted to experienced BMC Server Automation users, and do not include relevant planning and prerequisite information. If you are not an experienced user, see the topics in the
The topic includes the following sections:
Before you begin
Review the requirements for installing the components using the individual component installers, as described in Requirements for installing individual components on Microsoft Windows.
For specific system-level requirements (such as required disk space), see the "Hardware requirements for the individual components" section in Minimum hardware requirements.
Step 1: Setting up a database and user for a Microsoft SQL Server database
Start the Microsoft SQL Server Management Studio application and connect to the Microsoft SQL database server.
|2||Expand the database server.Right-click the Databases folder and select New Database.|
Provide a name for the database you are setting up and click OK to exit the New Database wizard.
Click here to see best practices for naming.
Create the login credentials for the database.
Right-click the Security folder and select New > Login.
|5||Create log in credentials for the database.|
If you are setting up your database with a default language other than English, click here for collation information.
If you are setting up BMC Server Automation to support a language other than English, on the Database properties > Options page, select the Collation for your language that is case-insensitive, accent-sensitive, and (where appropriate) kana-sensitive. For example, if you are setting up BMC Server Automation for French, use French_Cl_AS. If you are setting up BMC Server Automation for Japanese, use Japanese_Cl_AS_KS. The new database appears under the Databases folder. You can set other options at this time too, but they are not required.
For a case-insensitive collation to be effective for your new user database, ensure that the master database is set to case-insensitive collation, as well.
Assign roles to the login name.
|8||To reduce the likelihood of database deadlocks, execute the following steps:|
Step 2: Setting up a database schema for a Microsoft SQL Server database
- Copy install scripts from the db_scripts directory in the main product .zip to a location that you can access from the SQL Server console. For information on the db_scripts directory, see Downloading the installation files.
The relevant scripts appear in the /files/configurations/dbscripts/sqlserver directory inside the BBSA<version>-<platform>64 installer zip package.
- Open a command prompt window.
- Change (
cd) to /db_scripts/sqlserver.
Run the master script that corresponds to the character sets for which your database is configured, using the following syntax:
<master_script.bat> <db_server> <db_name> <bl_user> <bl_pwd>
sqlserver_master.bat QLDS0002 BLADELOGIC BLADELOBIC bmcAdm1n
Replace the variables with the following values:
sqlserver_master.bat if your database is configured for char/varchar character sets or sqlserver_nchar_master.bat if your database is configured for nchar/nvarchar character sets
Name of the database server.
If the server uses a nonstandard port, the server name and port number must be enclosed in quotation marks, as shown in the following example:
To use a named server instance, append the named instance, including the complete path, as shown in this example:
sqlserver_master.bat <db_server>\<instance_name> <db_name> <db_user> <db_password>
Name of the BMC Server Automation database that you created while setting up the database
Logon name for the BMC Server Automation database user
BMC Server Automation database user password
When the master script runs, the following warnings might appear:
Cannot add rows to sysdepends for the current stored procedure because it depends on the missing object 'rsave_cond_result_subtree'. The stored procedure will still be created. Cannot add rows to sysdepends for the current stored procedure because it depends on the missing object 'rsave_cr_group_result_subtree'. The stored procedure will still be created.
These warnings are expected and can be ignored.
Step 3: Install the agent on the file server
A file server should meet the following requirements:
An RSCD agent must be installed and should be the same version as the Application Server.
Do not limit access to the file server by pushing agent ACLs to the agent on the file server. All users must be mapped to the same user on the file server.
As a minimum, a file server must have 72 GB of available, nonredundant, disk space. BMC recommends that the file server be allotted 200 GB or more of available RAID 5 disk space.
- Define a user name on the file server, and map all users to that user name. Without this mapping, a user may not be able to access a file that another user has stored on the file server. To accomplish the necessary mapping, create an entry like the following in the exports file (located by default at C:\Windows\rsc) on the file server:
<appServer> rw,user= <userName>
Where <appServer> is a comma-separated list of Application Server names or IP addresses (IPv4 or IPv6) and <userName> is the name to which all users are mapped.
- Map the internal System:System role/user to the user name defined on the file server. To accomplish the mapping, create an entry like the following in the users.local file (located by default at C:\Windows\rsc) on the file server:
Where <userName> is the name to which all users are mapped, typically bladmin or administrator.
If the required directory structure does not already exist on the file server, the system process attempts to create it.
For examples on configuring the file server agent ACLs, see Configuring the file server agent ACLs.
- If your file server location is on partition or a mounted storage, you must ensure that the mount point for the storage or partition is consistent even if the file server host is restarted.
For example, on Linux, you can ensure this by configuring the fstab file in the etc folder of your machine. The fstab file maps the Universally Unique Identifier (UUID) of a storage or partition to the directory it should be mounted on.
BMC Server Automation uses the file server to store the contents of files included in snapshots, Network Shell scripts, BLPackages, software packages, and other types of information that is not easily stored in the database. The file server must have a RSCD agent installed on it, as described in the following procedure.
This example uses BMC Server Automation version 8.7; however, the process is applicable to all versions 8.6 and later.
Click Install to begin the RSCD agent installation.
You can select the Show the Windows Installer log option to view a detailed report of the installation process.
Click Finish to exit the wizard.
Step 4: Install the Application Server
- To perform this installation, you must have local administrator privileges.
- The BMC Server Automation Application Server installation program needs a certificate password to generate a self-signed X.509 certificate. Communication between BMC Server Automation and servers being provisioned and between the Application Server and the process spawner uses the Transport Layer Security (TLS) protocol and X.509 certificates. The password must be at least 6 characters. For more information about certificates and the TLS protocol, see Authentication.
- The Application Server installation does not install the BMC Server Automation Console. To view the console, you must install it. For information, see Installing the BMC Server Automation Console and Network Shell (Windows).
- To use provisioning with the Application Server, select the option to enable provisioning.
- If you are using Windows Terminal Services or Citrix Presentation Server to install or if you are installing on a Windows operating system, use one of the following methods to install:
- Install in Install mode rather than Execute mode. For information, see Using Install mode instead of Execute mode.
- Install using the Windows Add or Remove Programs utility.
- You must set up your database schema. See Setting up an Oracle database for BMC Server Automation and Setting up a SQL Server database and user for BMC Server Automation .
- On 64-bit Windows systems, confirm that the <WINDIR>\SysWOW64 directory contains a copy of the chcp.com file. The installer uses this file to set the code page of standard output (stdout). You can obtain the file from a 32-bit version of Windows.
If you plan to use the bljython utility, install the Application Server before installing Jython.
If the host computer on which you are installing the Network Shell has:
- A supported version of Perl installed--The Network Shell installation automatically installs the Network Shell Perl module. (For information about the Perl versions that BMC Server Automation supports, see Perl support.)
- An unsupported version of Perl installed--The installation copies files that allow you to install the Perl module after you have installed the supported version of Perl.
This screen shots in this example use BMC Server Automation version 8.6; however, the process is applicable to versions 8.6 and later.
The Acknowledgement panel is displayed.
The License Agreement panel is displayed.
The Customer Information panel is displayed.
The Setup Type panel is displayed.
The Choose Destination Location panel is displayed.
Click Browse to specify an installation directory, or click Next to accept the default directory, C:\Program Files\BMC Software\BladeLogic.
The Select Features panel is displayed.
Specify the maximum heap size, in megabytes, to use for the Java Virtual Machine (JVM) for the Application Server Launcher. In a multiple-Application Server (MAS) environment, the Application Server Launcher configures and controls all Application Servers on the host.
Specify a value above the minimum 512 megabytes. The default is 4095 MB.
Best practice: If you are setting up a MAS environment, set the MaxHeapSize to 512 MB. Then when you configure each Application Server instance, set MaxHeapSize to a value appropriate for the architecture and operating system. For recommended maximum Java heap sizes, see Recommendations for Application Servers of type All.
The Certificate Password panel is displayed.
Specify a certificate password (must be at least 6 characters).
The Application Server installation program needs a certificate password to generate a self-signed X.509 certificate. Communication between BMC Server Automation and servers being provisioned and between the Application Server and the process spawner uses the Transport Layer Security (TLS) protocol and X.509 certificates. The password must be at least 6 characters. For more information about certificates and the TLS protocol, see Authentication.
The Selected Components panel is displayed.
|11||Review the selected components and click Next to start the installation.|
The status panel displays the installation progress.
When installation completes, the Post-Configuration panel is displayed.
Do one of the following:
To configure the Application Server at a later time, click Next.
To configure the Application Server and set up administrator passwords using the Post-Install Configuration wizard, select the Configure the Application Server option and click Next. See Configuring a single default Application Server on the host for instructions for completing that wizard.
|14||Click Finish to exit the installation program.|
Step 5: Run the post-install configuration utility
The Post-Install Configuration wizard consolidates the minimum configuration steps that must be performed to set up an Application Server.
Before you configure the Application server, add the property local account name for the file server to /etc/rsc/exports (Linux) or C:\windows\rsc\exports (Windows).
These permissions grant wide-open access to the file server. For more information, see File server requirements.
- To start the Post-Install Configuration wizard, do one of the following:
- Perform an installation that includes installation of the Application Server. The installation program gives you the option of launching the wizard at the end of the installation procedure.
- From the Windows Start menu, select Programs > BMC Software > BladeLogic Server Automation Suite > Utilities > Application Server Configuration Wizard.
- Start the wizard manually by running one of the following commands in the directory where BMC Server Automation is installed. Enter the following:
If you invoke the wizard without passing the -i (install) flag, the wizard displays configuration settings that have already been entered for the Application Server and allows you to change those settings.
The configuration wizard opens.
- Read the introductory page and click Next. The Database page appears.
- Choose a Database Type (either Oracle or SQL Server).
- If you are not using a custom connection string, provide the following database configuration information (and do not select the Advanced option):
- Database Server — Host name or IP address (IPv4 or IPv6) of the server running the database.
Database Port— Port the database listens on. By default a BMC Server Automation installation uses the following database ports:
- Database Name — Microsoft SQL server database name. By default, the database name is bladelogic . (This option is only available for SQL server databases.)
- SID — System ID of the Oracle database. (This option is only available for Oracle databases.)
- User ID — User name that the database needs to authenticate your connection.
- Password — Password assigned to the user ID.
If you are using a custom connection string, provide the following database configuration information:
- User ID — User name that the database needs to authenticate your connection.
- Password — Password assigned to the user ID.
- Advanced — Select this option to indicate that you are providing a custom connection string.
- Connection String — Type the custom connection string in the field below the Advanced check box.
- Click Next. The File Server page appears.
- Provide the following file server configuration information:
- File Server Name — Host name or IP address (IPv4 or IPv6) of the server where data is stored. By default, the file server is created on the same machine as the Application Server.
- File Server Storage Location — Directory on the file server where data is stored. By default, the directory of the file server is <appserverInstallDirectory>/storage.
- Click Next. The Notification Servers page appears.
- Provide information identifying an email server by entering the following under SMTP Options:
- SMTP Server — Name or IP address (IPv4 or IPv6) of the host managing email. (SMTP stands for simple mail transfer protocol.)
- E-mail From — email address from which BMC Server Automation-generated email is sent. BMC Server Automation jobs can generate email upon their completion.
- If you are using SNMP trap notifications, provide information identifying the SNMP server by entering the following under SNMP Options:
- SNMP Server — Name or IP address (IPv4 or IPv6) of the host to which SNMP traps should be sent.
- SNMP Port — The port on the SNMP server that listens for SNMP traps. By default, the port is set to the standard SNMP port of 162.
- Click Next. The User Passwords page appears.
- Under both RBACAdmin User and BLAdmin User, enter a password and then retype the password to confirm your entry. If a password is already set, you cannot enter a password.
Passwords are used to authenticate the RBACAdmin and BLAdmin users through the SRP authentication protocol.
The RBACAdmin user has full permission to manage roles and users in the RBAC Manager workspace in the BMC Server Automation Console, where you can assign permissions for all BMC Server Automation users. The BLAdmin user has Read access for all system objects within BMC Server Automation. For more information about the RBACAdmin and BLAdmin users, see RBACAdmin and BLAdmin users.
- (optional) In the Advanced Configuration panel, set Enable Provisioning for bare metal provisioning. You must also set up the provisioning system, create components used by the provisioning process, prepare devices, and create and execute Provision Jobs that perform the unattended installation of the operating system. For more information, see Implementation process for provisioning.
- Click Finish.
BMC recommends that you synchronize the clock on the Application Server and all client machines. Clocks should be synchronized to the minute. For example, if an Application Server is in Boston, where the time is 7:04 Eastern Time, set the clock on client machines in San Francisco to 4:04 Pacific Time.
Step 6: Install the console on your client system
- BMC recommends that you do not install the console on the same system as the Application Server. Copy the files from the Application Server installation (for example, ..\BBSA<version>-WIN64\Disk1\files\installers\rcp) to a different system and perform the installation there.
- Before you install the BMC Server Automation Console, ensure that port 12333 (TCP) is not being used. Installation of the console requires use of this port; if it is already in use, the installation fails.
Update the Windows Terminal Services Server Settings for temporary folders. (In Windows Server 2008 R2 and later versions, Terminal Services is renamed to Remote Desktop Services).Click here for steps about updating the Windows Terminal Services
To update the Windows Terminal Services (or Remote Desktop Services) configuration perform either of the following steps:
Server settings method
- On the computer where you are installing the BMC Server Automation Console, select Start > Run.
- For Open, enter gpedit.msc, and then click OK.
- Navigate to the Temporary folders policies:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services >Remote Desktop Session Host > Temporary folders
Computer Configuration > Administrative Templates > Windows Components > Terminal Services > Terminal Server > Temporary folders
- Set the Properties of Do not delete temp folder upon exit to Enabled and then click OK.
- Set the Properties of Do not use temporary folders per session to Enabled and then click OK.
- Restart the computer.
If the settings do not take effect, use the Registry Editor (regedit):
Registry editor method
- Click Start > Run and enter regedit.
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server.
- Set the DeleteTempDirsOnExit and the PerSessionTempDir values to
- Restart the computer.
Note: The installation program uses temporary folders to preserve the install log. Usually, you can perform this update only one time; you do not need to update the configuration every time you install. However, if your Server Settings are different from those needed for installation, after you finish installing the console you can change the settings back to their previous settings.
- MultiExcerpt named 'windows_console_install_89' was not found
Step 7: Connect to the Application Server
From the Start menu, select Programs > BMC Software > BladeLogic Server Automation Suite > Server Automation ConsolereleaseNumber.
A logon dialog box appears. To log on, you must choose an authentication profile. For more information about creating authentication profiles, see Setting up an authentication profile. Perform the following steps to start the console and connect to the Application Server.
- Using the Authentication profile tab, select an authentication profile.
- If you:
- Possess a valid cached session credential, skip this step and go to the next step.
- Are using Active Directory/Kerberos (ADK) or public key infrastructure (PKI) authentication, skip this step and go to the next step.
- Are using SRP, LDAP, or SecurID authentication, enter your user name and password. For SecurID, your password consists of a PIN followed by the current token code displayed on your RSA SecurID token.
- Are using Domain Authentication, enter your user name and domain. The domain name must always be capitalized. If you are defined as a member of the default realm, you do not have to enter a domain name. For information about how to set up the default realm for Domain Authentication, see Configuring Domain Authentication.
To change the setting for caching session credentials or the display language, click Options. The logon window expands to show additional options in a tabbed format. By default the Generaltab is open.
Save credential for this session
Saves a session credential between sessions.
By default, this option is not checked. The setting for this option remains in effect for future logons until you change the setting. If a session credential is already cached, this option is dimmed.
Displays your choice of language (either your previous choice or your acceptance of the installation default). Select a new display language for the console or keep the current user preference. The selection remains in effect as your default language for future logons until you make a new choice.
- Click Connect.
If the Application Server presents the BMC Server Automation Console with an X.509 certificate that is not trusted, a security alert appears. Most Application Servers use self-signed certificates, so typically you encounter this dialog box the first time you access a particular Application Server.
- If a security alert does not display, skip this step and go to the next step. If a security alert describes an untrusted certificate, do one of the following:
- To return to the logon dialog box, click No. You can cancel the logon session or use a different authentication profile to log on.
- To accept the unknown certificate and proceed with the logon, click Yes.
- To examine details about the certificate, click View Certificate. For more information about this procedure, see Viewing an untrusted certificate. After examining the certificate, click Yes or No, as described above.
- If multiple roles are associated with your user name, the Assume Role dialog box appears. From this dialog box, for Select Role, choose the role you want to use.
If you prefer, you can switch roles later at any time during a session. (See Switching roles.)
Click OK. The BMC Server Automation Console appears.
When the console starts, by default it loads certain types of information by running a background operation. The Show background operations icon Running background operations.in the lower right corner of the console indicates a background process is running. For information about background processes, see
What if I have problems?
The following table provides troubleshooting information for common installation issues.
Error message while installing RSCD Agent with MSI installer
While trying to install RSCD Agent using the MSI installer, you receive a message to reboot the server. After rebooting, the installer does not launch, and you receive the message again.
Any application can set a pending reboot flag in the operating system through a registry key. Sometimes a reboot does not clear the flag. This is what the setup is detecting.
Use the following workaround when you receive the pending reboot requests multiple times, even though you have rebooted the server:
Access denied errors occur during install on Windows targets
When installing agents on Microsoft Windows targets, the user specified in the automation principal for remote host authentication must have access to the admin shares of the target machine. For Windows Vista and later operating systems, if you are a local administrator on a server and you are not the default administrator account, then by default you do not have access to these shares. This results in
To resolve this issue:
The /etc/sudoers file cannot be configured to accept only a root password
It is possible to configure SUDO so that it requires you to give it the root password. For many SUSE Linux installations, the /etc/sudoers file is configured this way. However, agent installation does not work with this type of configuration. If the /etc/sudoers file is configured to accept only the root password, the job fails.
To resolve this issue, configure /etc/sudoers so it accepts passwords other than the root password.
Target system is in pending reboot state causing potential RSCD Agent installation problem
If the target system is in a pending reboot state (for example, from a previous patch or other software installation), you can use the PENDINGREBOOTFORCE flag to allow the MSI installer to ignore the pending reboot state and allow the installation to proceed. After you confirm that the pending reboot state on the target is not a result of a previous RSCD installation, you can set
|Application Server||Ensuring that bljython works after installing the Application Server|
On Microsoft Windows platforms, if you install the Jython utility after you install the Application Server, the BMC Server Automation Jython executable (bljython.exe) does not work.
The Application Server installation on Windows creates the bljython.cfg file. Creation of this file converts the value of the JYTHON_HOME variable to an absolute path. If the Jython utility is not installed and the JYTHON_HOME variable set before the Application Server installation, the bljython.cfg file does not contain the full path to the Jython installation.
When you launch bljython.exe or when you run a Jython script, the utility displays an exception and an error message:
To resolve this issue, do one of the following:
|Console||Error installing on Windows 2012|
When Console or Content installers are run on a Windows 2012 platform, the following error is displayed:
To launch the installer, perform the following steps:
Database cleanup command does not work
|The first attempt to delete some BMC Server Automation objects using |
|Migration of database data during upgrade fails||Migration of database data during the upgrade process fails if:|
|BMC does not recommend, nor does it support database schema changes.|
|PXE and TFTP server|
Setting debug logging for PXE and TFTP servers
To set logging levels on the PXE server:
To set logging levels on the TFTP server:
To repair a component that has been damaged by corruption or accident, run the installation program again. In some cases, the installer presents different options when you reinstall.
User configurations are preserved in an over-the-top reinstallation, except for changes that can be made during installation.
You cannot use the Add/Remove Programs utility in the system Control Panel to modify or repair BMC Server Automation components.