Starting BMC Small RDS
Use the following procedures to start the BMC Small RDS.
Before you begin
After you deploy the OVF, do not change the IP of the server if it is DHCP-enabled.
Powering on VMs
You must power on the virtual machines in the following order. Some of these pre-configured VMs require started applications before they can be powered on. Following the sequence as shown starts the required applications in the required order.
- BMC Atrium Orchestrator (clm-bao)
- BMC Server Automation (clm-bsa)
- BMC Network Automation (clm-bna)
- BMC BladeLogic Preboot Execution Environment (PXE) (clm-pxe)
- BMC Remedy AR System (clm-ar)
- BMC Cloud Platform Manager (OSGi) (clm-pm)
- BMC Remedy AR System Mid Tier (clm-mt)
- BMC Atrium Web Services (clm-aws)
- BMC Capacity Optimization (clm-bco)
Follow the same sequence when restarting the CLM services.
To add VMs to a customer network
- Obtain the following IP and DNS information from the customer for assignment to the BMC RDS VMs.
This information will likely be a pool of static IP addresses for use with the appliances.- Pool of static IP addresses for the virtual appliance 4.0 images
- Subnet mask address
- Default gateway address
- Primary DNS server
- Secondary DNS server
- Tertiary DNS server
- Domain name (DNS Search Path)—for example, bmc.com
- Log on to the vSphere client with administrator privileges.
- Select the VM, select Edit Virtual Machine Settings, and then select the Network Adapter device.
- Clear the Network Adapter statuses of Connected and Connect at Power On.
This action saves time when starting the VM. The configured Network Adapter is unlikely to start otherwise, because it is assigned to a BMC network when it is delivered. - Right-click the selected VM and select Power On.
- After the computer is powered on, right-click the VM, select Open Console, and then log on as the root user.
- From the console, select System > Administration > Network.
- From the Devices tab of the Network dialog:
- Select the eth0 device and then select Edit from the toolbar.
Select the Static IP assignment option, and then add the IP, Subnet Mask, and Default Gateway obtained from the customer.
- Click OK to close the dialog box.
- Select the DNS tab and enter the DNS information you obtain from the customer.
- Click File > Save to save the configuration changes.
- After completing the configuration changes, reset the Network Adapter device status to Connected and Connect at Power On.
- To complete the changes, perform one of the following tasks:
- Restart the VM
- Open a terminal window and restart the network service by issuing service network restart from the prompt. Issue the ifconfig command to verify that eth0 configuration changes have taken place and that the IP information is correct.
- Complete these steps for all the delivered images.
Steps to perform after you power on the Single VM RDS
To check the availability of DHCP and DNS
In BMC Small RDS, the integration uses csm-*** hostnames. Therefore, perform the following steps:
- Make sure that the VMs after deployment are reachable with the csm-*** virtual hostnames even though the actual hostnames of the VMs are clm-***. This is because all the integrations are carried using csm-***. User can make the required changes in the DNS before deployment if the IPs are static or after deployment. User needs to be sure that the IPs of the servers are not changed in case it is DHCP enabled.
- Record all static IP addresses so that, as soon as the VMs are started after deployment, you can allocate them.
Keep all the IPs handy in case they are static so that as soon as VMs are started after deployment, the IPs can be allocated to them.
For example:
IP addresses
Internal and integration host names
123.45.67.1
123.45.67.2
123.45.67.3
123.45.67.4
123.45.67.5
123.45.67.6
123.45.67.7
123.45.67.8
123.45.67.9
123.45.67.10
123.45.67.11
clm-ar csm-ar
clm-mt csm-mt
clm-pm csm-pm
clm-aws csm-aws
clm-bao csm-bao
clm-bsa csm-bsa
clm-pxe csm-pxe
clm-bna csm-bna
clm-bco csm-bco
clm-planner
clm-autodeploy
- If you plan to access the Atrium Orchestrator URL from other VMs, update the hosts file with clm-bao and csm-bao names.
- Check that the VM host names and IP addresses assigned to the VMs are correct.
- Restart the deployed VMs.
Change the time zone of the VM clients to their correct location.
The following example changes the time zone of the VM from IST to PST by linking PST to the local time of the VM:# date
Wed Apr 10 07:49:37 IST 2014
# ls -l local*
-rw-r--r--. 1 root root 2819 May 14 14:54 localtime
# mv localtime localtimeORIGINAL
# ln -s /usr/share/zoneinfo/US/Pacific localtime
# date
Thu Apr 10 12:50:04 PDT 2014
Ensure that the database is running and that you can connect to the database instance:
To start the Oracle instance, enter the following commands:
su - oracle
sqlplus / as sysdba
startup
exit
lsnrctl start
exitTo determine whether Oracle is running, enter the following command:
ps -ef | grep -i OraOn each VM, manually start the RSCD service.
/etc/init.d/rscd start
/etc/init.d/rscd stop- Connect to the respective databases from the clm-ar, clm-bsa, and clm-bna VMs.
- Restart the services of BMC Server Automation, BMC Network Automation, BMC Atrium Orchestrator, BMC Remedy AR System BMC Cloud Platform Manager (OSGi), BMC Remedy AR System, BMC Atrium Web Services, and the BMC Remedy AR System Mid Tier.
- Install the following client components on a computer running Windows 2008 R2.
- BMC for Server Automation RCP Console—Installation is optional because the console is installed by default with the csm-bna VM.
- BMC Remedy Developer Studio
- After starting all the services, access BNA, BSA, Mid Tier, Atrium Orchestrator, and so on.
Use the following URLs to verify that you can access the mid tier object list (so that you can search any form on the BMC Remedy AR System server):
http://<midTierHost>:8080/arsys/formsor
http://<midTierHot>:8080/arsys/forms/<arServerName>
Specify the Demo/clmAdm1n credentials while accessing the object list.
- Log on to the mid tier as the Demo user and add the licenses for the BMC Remedy AR System server.
For example:
http://<midTierHost>:<port>/arsys/forms/<ARservername/Cloudservername>/AR+System+Administration
You can obtain licenses from www.bmc.com/support with a valid user name and password. - Add the permanent BMC Remedy AR System license to the BMC Remedy AR System server.
A temporary one-month floating license is provided out of the box.- Navigate to the BMC Remedy AR System Administrator Console (Applications > AR System Administrator > AR System Administrator Console).
- Navigate to the Add or Remove Licenses form (System > General > Add Remove Licenses).
For example:
http://csm-mt:8080/arsys/forms/csm-ar/AR+System+Licenses+Console/Default+Admin+View - Use the license key to add the license to the server.
- In ITSM Foundation, open the People form and give AR Administrator permissions to the CloudAdmin user.
Install and license the RSCD Agent for Virtual Center.
Sysprep files are required on Virtual Center. For example, you would need the C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep folder to provision the Windows svr2003 (32-bit and 64-bit), Windows xp (32-bit and 64-bit), and Windows 2k operating systems. The respective paths differ, based on the operating systems, as well as the Virtual Center version and installation directory, as shown in the following figures:- Verify that the RSCD port number of Virtual Center and VM templates is 4750 in the secure file.
In BMC Developer Studio, disable the following filters on the AR System server to improve system performance:
CMF:DHB:SendDSO-CAR-HeartBeat-DSOtoEAR
CMF:DHB:SendDSO-EAR-HeartBeat-DSOtoCAR_050
CMF:DRH:SendDPE-CAR-PendingError-DSOtoEAR
CMF:DRH:SendRE-CAR-PendingErrorToEAR
CMF:DRH:UpdateDSO-EAR-HeartbeatCheck_050
CMF:DRH:UpdateRE-CAR-HeartBeatCheck-DSOtoEAR
CSM:DSO:BMC_ComputContainer_Filter
CSM:DSO:BMC_FunctionalComponent_Filter
CSM:DSO:ResourceSet_Filter
DIST-CMDB:CLOUD_TO_ECMDB-BMC_Cluster_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_Component_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_Component_HostedSystemComponents_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_ComputerSystem_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_ConcreteCollection_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_ContractLine_C_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_ContractLine_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_ContractLine_MM_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_Dependency_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_Dependency_TaggedWith_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_Document_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_HardwareSystemComponent_Memory_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_HardwareSystemComponent_Processor_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_Organization_MM_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_Price_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_ResourcePool_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_ServiceOfferingInstance_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_Tag_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_VirtualSystemEnabler_DSO
DIST-CMDB:CLOUD_TO_ECMDB-BMC_VirtualSystemSettingData_DSO
BMC Small RDS start and stop scripts
You can start and stop individual BMC Small RDS applications with the following scripts. Some scripts might be already configured to start with the VM during the initial startup. All scripts are started when you run the /u01/Start_CLMServices.sh shell script.
BMC Small RDS application | Script |
---|---|
RSCD Agent (on each VM) | /etc/init.d/rscd start /etc/init.d/rscd stop |
BMC Remedy AR System (clm-ar) | /opt/bmc/ARSystem/bin/ ./arsystem stop ./arsystem start |
BMC Server Automation (clm-bsa) | /etc/init.d/blappserv start /etc/init.d/blappserv stop |
BMC Atrium Orchestrator (clm-bao) | /opt/bmc/ao-platform/amrepo/bin/bao.sh start /opt/bmc/ao-platform/amrepo/bin/bao.sh stop /opt/bmc/ao-platform/cdp/bin/bao.sh start /opt/bmc/ao-platform/cdp/bin/bao.sh stop |
BMC Remedy Mid Tier (clm-mt) | /u01/bmc/apache/tomcat6.0/bin/startup.sh /u01/bmc/apache/tomcat6.0/bin/shutdown.sh |
Atrium Core Web Services (clm-aws) | /opt/apache/tomcat6.0/bin/startup.sh /opt/apache/tomcat6.0/bin/shutdown.sh |
BMC Network Automation (clm-bna) | /etc/init.d/enatomcat restart /etc/init.d/xinetd restart |
BMC Cloud Platform Manager (OSGi) (clm-pm) | /etc/init.d/bmccsm stop /etc/init.d/bmccsm start /etc/init.d/BMCQuickStart stop /etc/init.d/BMCQuickStart start |
Using the change script to change the hostname
Use the hostname change script to modify the hostname of the VM from cloudexpress to an assigned hostname. This script updates the /etc/hosts file and performs database and application changes with the new hostname.
Prerequisites
- After you successfully deploy the OVF, power on the VM.
- In the vSphere client, change the hostname of the VM from cloudexpress to the assigned name.
- Update /etc/sysconfig/network and /etc/sysconfig/netowrk-scrips/ifcfg-eth0 with the new hostname.
- Update the IP address details in ifcfg-eth if you plan to assign a static IP address.
This step is optional if you plan to assign a dynamic IP address. - Temporarily set the HOSTNAME=<newhostname> environmental variable.
For example:
export HOSTNAME=<newhostname> - Clear the cloudexpress entry in /etc/hosts.
- If any CLM services are running, use /u01/Stop_CLMServices.sh to stop all CLM services.
To run the hostname change script
- Run the configChange.sh script (under the /u01/hostnamechange folder).
The scripts updates the hostname and automatically reboots the VM. - After the VM is started, run the serviceConfig.sh script (under the /u01/hostnamechange folder).
- When you see the All services are started and ready to be used with new hostname message displayed, log on to BMC Atrium Orchestrator.
- Click the Manage tab, and then click the Adapters tab.
- Select ARSAdapter.
- Click Switch to XML View.
- Review the warning and then click Switch View.
Replace <target>cloudexpress</target> with <target>newHostName</target>.
For example:<config>
<target>newHostName</target>
<port>0</port>
<user-name>orchestrationuser</user-name>
<password>aouser</password>
<use-connection-pooling>true</use-connection-pooling>
<max-connections>20</max-connections>
</config>- Click OK, and then log out of BMC Atrium Orchestrator.
Where to go from here
Operating system and application logon accounts (to log on to the BMC Compact RDS operating system and applications)