Starting BMC Compact RDS
Use the following procedures to start the BMC Compact RDS.
Before you begin
After you deploy the OVF, do not change the IP of the server if it is DHCP-enabled.
To add VMs to a customer network
- Obtain the following IP and DNS information from the customer for assignment to the BMC Compact RDS.
This information will likely be a pool of static IP addresses for use with the appliance.- Pool of static IP addresses for the virtual appliance 4.0 image
- 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, log on as the root user.
- From the command prompt, update or create /etc/sysconfig/network-scripts/ifcfg-eth0:
- Assign/update the IP, Subnet Mask, DNS and Default Gateway obtained from the customer.
Save the file.
- After completing the configuration changes, restart Network Services using "service network restart" and then 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.
To power on BMC Compact RDS
- Log on to the vSphere client with administrator privileges.
- Right-click the selected VM and select Power > Power On.
- After the computer is powered on, log on to BMC Compact RDS as the root user (the default password is x33+esaC).
Steps to perform after you power on the Single VM RDS
Update the /etc/hosts file so that the VM host name and IP addresses assigned to the VM are correct.
The following update comments out the second line for the loopback address and inserts the IP address of the VM in the cloudexpress line.127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.19.141.201 cloudexpress- Restart the cloudexpress VM.
(Optional) Change the time zone of the VM to its 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 OraStart the BMC Cloud Lifecycle Management services by using the /u01/Start_CLMServices.sh shell script.
For example:# cd /u01
# ./Start_CLMServices.shThe /u01/Start_CLMServices.sh shell script starts all the CLM services. Or run /u01/Stop_CLMServices.sh to stop all the CLM services.
Verify that you can connect to the Single VM RDS application URLs for the BMC Remedy Mid Tier, BMC Network Automation, and BMC Atrium Orchestrator:
Application
URL
Logon ID and password
BMC Remedy Mid Tier
http://cloudexpress:8080/arsys
Demo/clmAdm1n
BMC Network Automation
https://cloudexpress:11443
sysadmin/clmAdm1n
BMC Atrium Orchestrator Platform
http://cloudexpress:7070/baoam
admin/clmAdm1n
- (Optional) Install the following client components on a computer running Windows 2008 R2.
You can find installer in cloudexpress downloaded repository/share location.- BMC for Server Automation RCP Console—Installation is optional because the console is installed by default with the cloudexpress VM.
- BMC Remedy Developer Studio
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://cloudexpress:8080/arsys/formsor
http://cloudexpress:8080/arsys/forms/cloudexpress
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.
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).
- Use the license key to add the license to the server.
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:- Open the exports file and update it with the following setting:
rw,user=administrator 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
Contents of CLM startup script
The /u01/Start_CLMServices.sh shell script starts all the CLM services.
Unauthorized access prohibited. Activity may be monitored and recorded.
root@172.19.141.202's password:
Last login: Tue Oct 1 12:31:26 2013 from win-jstamps-86.adprod.bmc.com
[root@cloudexpress ~]# ps -ef | grep -i Ora
oracle 2104 1 0 13:06 ? 00:00:00 /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr LISTENER -inherit
oracle 2274 1 0 13:06 ? 00:00:00 xe_pmon_XE
oracle 2276 1 0 13:06 ? 00:00:00 xe_psp0_XE
oracle 2278 1 0 13:06 ? 00:00:00 xe_vktm_XE
oracle 2282 1 0 13:06 ? 00:00:00 xe_gen0_XE
oracle 2284 1 0 13:06 ? 00:00:00 xe_diag_XE
oracle 2286 1 0 13:06 ? 00:00:00 xe_dbrm_XE
oracle 2288 1 0 13:06 ? 00:00:00 xe_dia0_XE
oracle 2290 1 0 13:06 ? 00:00:00 xe_mman_XE
oracle 2292 1 0 13:06 ? 00:00:00 xe_dbw0_XE
oracle 2294 1 0 13:06 ? 00:00:00 xe_lgwr_XE
oracle 2296 1 0 13:06 ? 00:00:00 xe_ckpt_XE
oracle 2298 1 0 13:06 ? 00:00:00 xe_smon_XE
oracle 2300 1 0 13:06 ? 00:00:00 xe_reco_XE
oracle 2302 1 0 13:06 ? 00:00:00 xe_mmon_XE
oracle 2304 1 0 13:06 ? 00:00:00 xe_mmnl_XE
oracle 2306 1 0 13:06 ? 00:00:00 xe_d000_XE
oracle 2308 1 0 13:06 ? 00:00:00 xe_s000_XE
oracle 2310 1 0 13:06 ? 00:00:00 xe_s001_XE
oracle 2312 1 0 13:06 ? 00:00:00 xe_s002_XE
oracle 2314 1 0 13:06 ? 00:00:00 xe_s003_XE
oracle 2359 1 0 13:06 ? 00:00:00 xe_vkrm_XE
oracle 2361 1 0 13:06 ? 00:00:00 xe_qmnc_XE
oracle 2493 1 0 13:06 ? 00:00:00 xe_cjq0_XE
oracle 2680 1 0 13:06 ? 00:00:00 xe_q000_XE
oracle 2682 1 0 13:06 ? 00:00:00 xe_q001_XE
oracle 2729 1 0 13:06 ? 00:00:00 oracleXE (LOCAL=NO)
oracle 2731 1 0 13:06 ? 00:00:00 oracleXE (LOCAL=NO)
oracle 2733 1 0 13:06 ? 00:00:00 oracleXE (LOCAL=NO)
oracle 2756 1 0 13:10 ? 00:00:00 xe_j000_XE
oracle 2758 1 0 13:10 ? 00:00:00 xe_j001_XE
root 2783 2762 0 13:10 pts/0 00:00:00 grep -i Ora
[root@cloudexpress ~]# pwd
/root
[root@cloudexpress ~]# cd ..
[root@cloudexpress /]# cd /u01
[root@cloudexpress u01]# ls -l
total 22
drwxr-xr-x 3 root root 1024 Aug 21 11:22 app
drwxrwxr-x 13 root root 1024 Sep 1 22:28 bmc
drwxrwxr-x 4 root root 1024 Sep 10 23:16 DB_Migration
-rw-r--r-- 1 root root 3338 Sep 10 00:13 derby.log
drwxr-xr-x 8 root root 1024 Aug 22 04:37 jre1.6.0_31
drwx------ 2 root root 12288 Aug 21 08:50 lost+found
-rwxr-xr-x 1 root root 771 Sep 16 05:06 Start_CLMServices.sh
-rwxr-xr-x 1 root root 697 Sep 16 03:25 Stop_CLMServices.sh
[root@cloudexpress u01]# Start_CLMServices.sh
-bash: Start_CLMServices.sh: command not found
[root@cloudexpress u01]# pwd
/u01
[root@cloudexpress u01]# ./Start_CLMServices.sh
Tue Oct 1 13:12:37 PDT 2013 Starting BNA Service
Starting BNA Tomcat Web Server...
Using CATALINA_BASE: /u01/bmc/bca-networks/tomcat
Using CATALINA_HOME: /u01/bmc/bca-networks/tomcat
Using CATALINA_TMPDIR: /u01/bmc/bca-networks-data/tmp
Using JRE_HOME: /u01/bmc/bca-networks/java
Using CLASSPATH: /u01/bmc/bca-networks/tomcat/bin/bootstrap.jar:/u01/bmc/bca-networks/tomcat/bin/tomcat-juli.jar
Starting xinetd:
Tue Oct 1 13:13:37 PDT 2013 Starting BSA Application Service
Starting Remote System Call Daemon (RSCD) ...
Starting BladeLogic AppServer ... OK
Tue Oct 1 13:14:43 PDT 2013 Starting MidTier and Atrium Web Services
Using CATALINA_BASE: /u01/bmc/apache/tomcat6.0
Using CATALINA_HOME: /u01/bmc/apache/tomcat6.0
Using CATALINA_TMPDIR: /u01/bmc/apache/tomcat6.0/temp
Using JRE_HOME: /u01/jre1.6.0_31
Tue Oct 1 13:15:43 PDT 2013 Starting AR Service
Action Request System initializing.
Starting AR System Server
(ARNOTE 0)
Starting AR Monitor version 8.0.00 Build 001 201205300000.
(ARNOTE 0)
AR Monitor started.
(ARNOTE 0)
ARMonitor child process (pid:3749) started.
./arserverd.sh
LD_LIBRARY_PATH=/u01/bmc/AtriumCore/cmdb/server/bin:/u01/bmc/ARSystem/bin:/u01/bmc/ARSystem/pluginsvr:/u01/bmc/ARSystem/ardbcldap:/u01/bmc/ARSystem/arealdap:/u01/bmc/ARSystem/webserviceplugin:/u01/app/oracle/product/11.2.0/xe/lib:/u01/jre1.6.0_31/lib/amd64/server:/u01/jre1.6.0_31/bin:/u01/app/oracle/product/11.2.0/xe/lib:/u01/app/oracle/product/11.2.0/xe/opmn/lib
server: locale=[[ en_US.UTF-8 ]],
LANG=[[ en_US.UTF-8 ]] NLS_LANG=[[ american_america.AL32UTF8 ]]
Action Request System(R) Server Version 8.0.00 Patch 002 201302041808
(c) Copyright 1991-2012 BMC Software, Inc.
Action Request System initialization is complete.
CMDB Version: 8.0.00 Build 201205310758
(ARNOTE 0)
Server indicates that it's up.
(ARNOTE 0)
ARMonitor child process (pid:3948) started.
./java
(ARNOTE 0)
ARMonitor child process (pid:3949) started.
./arplugin
LD_LIBRARY_PATH=/u01/bmc/ARSystem/bin:/u01/bmc/ARSystem/pluginsvr:/u01/bmc/ARSystem/arealdap:/u01/bmc/ARSystem/ardbcldap:/u01/bmc/AtriumCore/cmdb/server/bin:/u01/bmc/ARSystem/bin:/u01/bmc/ARSystem/pluginsvr:/u01/bmc/ARSystem/ardbcldap:/u01/bmc/ARSystem/arealdap:/u01/bmc/ARSystem/webserviceplugin:/u01/app/oracle/product/11.2.0/xe/lib:/u01/jre1.6.0_31/lib/amd64/server:/u01/jre1.6.0_31/bin:/u01/app/oracle/product/11.2.0/xe/lib:/u01/app/oracle/product/11.2.0/xe/opmn/lib
(ARNOTE 0)
ARMonitor child process (pid:3950) started.
./arsvcdsp
(ARNOTE 0)
ARMonitor child process (pid:3951) started.
./arsnmpd
(ARNOTE 0)
ARMonitor child process (pid:3952) started.
./java
(ARNOTE 0)
ARMonitor child process (pid:3953) started.
./java
(ARNOTE 0)
ARMonitor child process (pid:3954) started.
./emaild.sh
(ARNOTE 0)
ARMonitor child process (pid:3955) started.
./java
(ARNOTE 0)
ARMonitor child process (pid:3956) started.
./arcmdbd.sh
(ARNOTE 0)
ARMonitor child process (pid:3957) started.
./arrecond.sh
(ARNOTE 0)
ARMonitor child process (pid:3958) started.
./normeng.sh
(ARNOTE 0)
ARMonitor child process (pid:3959) started.
./atriumplugin.sh
(ARNOTE 0)
ARMonitor child process (pid:3960) started.
./loadpluginsvr.sh
Action Request System AR System Application Command Dispatcher Version 8.0.00 Build 001 201205300000
(c) Copyright 1998-2012 BMC Software, Inc.
Action Request System(R) Fork Daemon Version 8.0.00 Build 001 201205300000
(c) Copyright 2000-2012 BMC Software, Inc.
Action Request System(R) Plug-In Server Version 8.0.00 Build 001 201205300000
(c) Copyright 2001-2012 BMC Software, Inc.
BMC Remedy Email Engine has started
AR System CMDB Dispatcher Version 8.0.00 Build 201205310758
(c) Copyright 2004-2012 BMC Software, Inc.
AR System Reconciliation Engine Version 8.0.00 Build 201205310758
(c) Copyright 2004-2012 BMC Software, Inc.
Action Request System(R) Signal Daemon Version 8.0.00 Build 001 201205300000
(c) Copyright 2000-2012 BMC Software, Inc.
Action Request System(R) Carte Server Version 8.0.00 Build 001 201205300000
(c) Copyright 2012 BMC Software, Inc.
AR System Assignment Engine 8.0.00 Patch 002 201302041808 (c) Copyright 1991-2012 BMC Software, Inc.
Tue Oct 1 13:24:24 PDT 2013 Staring AO-AMREPO Service
Starting AO: Using CATALINA_OPTS:
-DJXTA_HOME=/u01/bmc/ao-platform/amrepo/server/.jxta
-Dmessages.home.dir=/u01/bmc/ao-platform/amrepo
Starting server...
Using CATALINA_BASE: /u01/bmc/ao-platform/amrepo/tomcat
Using CATALINA_HOME: /u01/bmc/ao-platform/amrepo/tomcat
Using CATALINA_TMPDIR: /u01/bmc/ao-platform/amrepo/tomcat/temp
Using JRE_HOME: /u01/bmc/ao-platform/amrepo/jvm
Using CLASSPATH: /u01/bmc/ao-platform/amrepo/tomcat/bin/bootstrap.jar
Return code is 0
Tue Oct 1 13:25:26 PDT 2013 Starting AO-CDP Service
Starting AO: Using CATALINA_OPTS:
-DJXTA_HOME=/u01/bmc/ao-platform/cdp/server/.jxta
-Dmessages.home.dir=/u01/bmc/ao-platform/cdp
Starting server...
Using CATALINA_BASE: /u01/bmc/ao-platform/cdp/tomcat
Using CATALINA_HOME: /u01/bmc/ao-platform/cdp/tomcat
Using CATALINA_TMPDIR: /u01/bmc/ao-platform/cdp/tomcat/temp
Using JRE_HOME: /u01/bmc/ao-platform/cdp/jvm
Using CLASSPATH: /u01/bmc/ao-platform/cdp/tomcat/bin/bootstrap.jar
Return code is 0
Tue Oct 1 13:30:28 PDT 2013 Starting Platform Manager Service
Starting bmccsm...
Waiting for bmccsm..................
running: PID:5319
Starting BMC Quick Start application server...
Waiting for BMC Quick Start application server........
running: PID:5552
[root@cloudexpress u01]#
BMC Compact RDS start and stop scripts
You can start and stop individual BMC Compact 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 Compact RDS application | Script |
---|---|
CLM application services | cd /u01 ./Start_CLMServices.sh ./Stop_CLMServices.sh |
BMC Remedy AR System | /u01/bmc/ARSystem/bin/ ./arsystem stop ./arsystem start |
BMC Server Automation | /etc/init.d/rscd start /etc/init.d/rscd stop /etc/init.d/blappserv start /etc/init.d/blappserv stop |
BMC Atrium Orchestrator | /u01/bmc/ao-platform/amrepo/bin/bao.sh start /u01/bmc/ao-platform/amrepo/bin/bao.sh stop /u01/bmc/ao-platform/cdp/bin/bao.sh start /u01/bmc/ao-platform/cdp/bin/bao.sh stop |
Tomcat Web Server | /u01/bmc/apache/tomcat6.0/bin/startup.sh /u01/bmc/apache/tomcat6.0/bin/shutdown.sh |
BMC Network Automation | /etc/init.d/enatomcat restart /etc/init.d/xinetd restart |
BMC Cloud Platform Manager (OSGi) | /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)