Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Meet the IBM Cloud Simulator for Tivoli Service Automation Manager

Venugopala Channarayappa, Advisory Software Engineer, IBM
Venugopala Channarayappa completed his bachelor of engineering/computer science degree from National Institute of Technology-Karnataka (NITK), Surathkal (formerly KREC). He joined IBM in 2004 as a software engineer. Venugopala has three years of experience with IBM cloud computing technology and contributes to IBM cloud offerings and solutions; he was an active participant in early cloud customer implementations and proof-of-concept prototyping.
Yessong Johng, Technical Enablement Expert, IBM
Yessong Johng is a technical enablement expert, analytical senior IT specialist, and a project manager with extensive experience in all phases of IT solutions sales and support from opportunities identification to solutions implementation. He enjoys analyzing the symptoms of a problem, especially in the areas of information dissemination, and identifying causes so he can contribute towards building the bridge to connect producers of information (such as developers and product managers) to its consumers (sellers, field architects, IT specialists, and end users). One of his latest projects was enabling IBMers, Business Partners, and customers to access Tivoli Service Automation Manager via the IBM SmartCloud Enterprise without the need to purchase and implement various hardware and software resources. He has authored a number of IBM Redbooks, including VMware VI3 on BladeCenter and System x integrated with System i.

Summary:  The fool-proof way to develop a proof-of-concept cloud prototype for a customer is design, create, and implement that prototype in the customer's environment. It can be a time-consuming endeavor to customize an automation layer that allows you to work with the client's system. The IBM® Cloud Simulator for Tivoli® Service Automation Manager provides an automatically created simulation of a customer's Tivoli Service Automation Manager-enabled system that enables developers to create effective prototypes and get a taste of private cloud service management and administrative functions. The authors introduce the IBM Cloud Simulator, available on IBM SmartCloud Enterprise.

Date:  23 Apr 2012
Level:  Intermediate PDF:  A4 and Letter (457 KB | 14 pages)Get Adobe® Reader®
Also available in:   Russian  Japanese  Portuguese  Spanish

Activity:  21826 views
Comments:  

The Tivoli Service Automation Manager is a component based on the Tivoli Process Automation Engine that implements a data model, workflows, and applications for automating the management of IT services by using the notion of service definitions and service deployment instances.

As shown in Figure 1, Tivoli Service Automation Manager requires a fully hypervised environment to function properly. For either a proof-of-concept or internal education purpose, setting up a fully hypervised environment takes a lot of time, effort, and skill, not to mention acquiring and configuring the hardware and software resources.


Figure 1. Tivoli Service Automation Manager overview
Tivoli Service Automation Manager overview

The IBM Cloud Simulator for Tivoli Service Automation Manager is a package offering of Tivoli Service Automation Manager and IBM Cloud Simulator; IBM Cloud Simulator acts as a simulator for infrastructure provisioning components. This simulation component defines and populates data center infrastructure objects (servers, network, and storage) for Tivoli Service Automation Manager, effectively eliminating the requirement of real physical infrastructure.


Figure 2. Tivoli Service Automation Manager overview with IBM Cloud Simulator
Tivoli Service Automation Manager overview with IBM Cloud Simulator

The offering is available on IBM SmartCloud Enterprise and provides a working Tivoli Service Automation Manager image that is preconfigured to simulate a customer's environment, delivering the benefit of reducing the complexity required to establish a first-step proof-of-concept prototype by eliminating the need to customize the automation layer to work with the real customer environment. It also offers users the self-service experience of private cloud service management and administration functions.

Using the cloud simulator

From experience developing the IBM Cloud Simulator for Tivoli Service Automation Manager image, we'd like to outline a few situations and projects where using the simulator can benefit a developer:

  • Customer-specific UI (user interface) labeling. During a proof-of-concept development (PoC), it is common for a customer to ask to have UI labeling that includes adding customer logo on login and home page, the Tivoli Service Automation Manager portal, as well as adding and modifying text phrases across different offerings (for example, the display that indicates the instance/hour cost for a selected image and hardware resources). With the cloud simulator, it is relatively easy to develop all UI changes and reconfigure the UI. The same changes can be migrated to the production Tivoli Service Automation Manager system at a later time.

  • Co-existence of multiple hypervisor pools. Most customer PoCs will include a minimum of two hypervisors; most customers want to observe how the system behaves under varied multiple hypervisor pool scenarios. They are especially interested in observing the process of how you authorize these pools to different customers (tenants) on Tivoli Service Automation Manager.

  • Integrating with external systems. Integration is a key use case regardless of customer; for example, a cloud service provider wants to expose Tivoli Service Automation Manager services using external and established marketplace portals. Such an integration includes invoking Tivoli Service Automation Manager's REST API to create a request, track it, and find its status. The simulator simplifies this.

Now let's look at what's in the preconfigured cloud simulator image.


The preconfigured cloud simulator

The IBM Cloud Simulator for Tivoli Service Automation Manager image comes bundled with the operating system, Tivoli Service Automation Manager, and the simulator components. The image bundle comes (in a preconfigured mode) with:

  • Red Hat Enterprise Linux V5.5 (64-bit)
  • Tivoli Service Automation Manager V7.2.2 (co-location of Administrator and Management server)
  • The IBM Cloud Simulator installable
  • TPM tcdriver IBMCloudSimulator.tcdriver
  • Rc2sim installable
  • Automated startup scripts

The preconfiguration mode is structured as the following:

  • One customer (product out-of-box): PMRDPCUST, a default customer ID to manage customers in Tivoli Service Automation Manager.
  • One cloud administrator (product out-of-box): PMRDPCAUSR, a default cloud administrator to manage images/users.
  • Five hypervisor pools (see Table 1): The cloud simulator is preconfigured with five hypervisor pools, one for each hypervisor type.
  • Preconfigured back-end system with five servers per hypervisor, discovered and listed in a pool: The discovered servers are part of pool resources (CPU, memory, and storage) and are ready for create server requests.
  • Two simulated images that are pre-created per hypervisor (see Table 1).

Table 1. Five preconfigured hypervisor pools and simulated images for each
Serial numberHypervisor typePool nameImage name
1KVMKVM Local Disk Poolkvm-redhat5.4
kvm-redhat5.5
2System pSystemP PoolPowerVM-AIX5.3ML8
PowerVM-AIX6.1ML3
3VMControlVMControl PoolVMC-AIX6
VMC-AIX6ML2
4VMwareVMware ESX Poolvmware-suse10
vmware-win2k3
5XenXen Local Disk Poolxen-rhel5.2.gz
xen-rhel5.3.gz

The following are important usernames and default passwords that are part of the IBM Cloud Simulator server:

  • PMRDPCAUSR/maxadmin
  • PMSCADMUSR/maxadmin
  • Maxadmin/simcloud

If a user wants to know the credentials for any other Tivoli Service Automation Manager user, you have to make an inquiry of the support team or image owner.

The image is configured to relay email notification using Gmail. A user can configure Gmail account IDs to Tivoli Service Automation Manager self-service users when creating new users. Note: The PMRDPUSER (out-of-box) user will not be configured with any email ID. Configure the email ID to receive notifications to PMRDPUSER actions.

Let's walk through the steps for requesting a simulator instance.


Requesting a cloud simulator instance

This section provides a step-by-step guide from sign-on through sign-out for the easiest and simplest way of accessing the service using a preconfigured, autostart server.

To create a cloud simulator instance:

  1. Go to the IBM SmartCloud Enterprise page.
  2. Enter your SmartCloud Enterprise username and password.

    Figure 3. Sign in screen
    Sign in screen

  3. Click Submit.
  4. Click the Overview tab, then click Add an instance to get started.

    Figure 4. Add an instance on Overview tab
    Add an instance on Overview tab

  5. Click the Add instance button on the Control Panel tab.

    Figure 5. Add instance button
    Adding instance button

  6. Select the following:
    1. View list: Public.
    2. Select Data Center: Select any data center. Currently, there are six data centers on SmartCloud Enterprise. You probably want to select one geographically nearest to you

      Figure 6. Select a data center
      Select a data center

    3. Image: IBM Cloud Simulator for TivSAM - 64-bit DUO, for example. Choose the latest version of the image.

      Figure 7. Choose the IBM Cloud Simulator for TivSAM image
      Choosing the latest version of the image

  7. Click Next.
  8. On Step 2 of 4: configure image, select the following:
    1. Request Name: Descriptive name of a request.
    2. Key: Select the right key to use for this image.
    3. Keep the other default values.

      Figure 8. Configure the image
      Configure the image

  9. Click Next.
  10. Review the details and click Finish.
  11. Wait for server instance to provision.
  12. Once the server is provisioned, the server status changes to Active.

    Figure 9. Active server status
    Active status

Note the IP address of the instance. It will be required in the remaining steps.

Next, run the Tivoli Service Automation Manager autostart script.


Run the Tivoli Service Automation Manager autostart script

Once the cloud simulator instance is active, a one-time configuration task is required.

  1. SSH Login to an instance server as idcuser. See the IBM SmartCloud Enterprise User's Guide for information.
  2. Run the script. In the SSH console on the server, run the following commands:
    # sudo /bin/bash
    # cd /home/idcuser/tools
    # ./tsamautoconfigure.sh
    # reboot
    

    The last command reboots the system.

After the reboot of the server, wait for the server to start the Tivoli Service Automation Manager server automatically. This usually takes about 10 minutes. To check the Tivoli Service Automation Manager server, go to https://<ipaddress>:444/SimpleSRM/login.jsp.

Now we'll provision the server with the Tivoli Service Automation Manager Self-Service Portal.


Provision a server using Tivoli Service Automation Manager Self-Service Portal

To provision the server using the Tivoli Service Automation Manager Self-Service Portal:

  1. Login to the Self-Service UI.
  2. Enable the default PMRDPCUST customer.
  3. Create a team.
  4. Register an image into the pools.
  5. Request a virtual server.
  6. Check the provisioning status.

Login to the Self-Service UI

Login to the SimpleSRM portal at https://<ipaddress>:444/SimpleSRM/login.jsp with the username PMRDPCAUSR. Refer to the password section of the IBM SmartCloud Enterprise User's Guide for details on passwords.

Enable PMRDPCUST

PMRDPCUST is a default customer that comes preconfigured. On first login, the SimpleSRM portal displays only one set of parameters to enable the default customer. To enable PMRDPCUST:

  1. Navigate to offering Home > Request a New Service > Manage Customers > Create Customers.
  2. Select Network Configuration Template: Common Dual Network on the Create Customer offering page. Click OK.
  3. Wait for a request to change status from New to Resolve under My Requests.
  4. Logout of the SimpleSRM portal by clicking Logout on the top-right side of the page.
  5. On the next login, you'll see a change in the set of offerings listed under Home > Request a New Service > Virtual Server Management.

Create a team

All the projects created in the Tivoli Service Automation Manager Self-Service Portal require a team, a project they can be assigned to. Before progressing to create a project with an assigned server, create a team:

  1. Login to SimpleSRM portal https://<ipaddress>:444/SimpleSRM/login.jsp:
    • Username: PMRDPCAUSR
    • Password: xxxxx
  2. Navigate to offering Home > Request a New Service > Virtual Server Management > Manage Users and Teams > Create Team.
  3. Fill in the details:
    • Name: Team name.
    • Project Account: Project Account code.
    • Selected users: Select the user PMRDPCAUSR under Users and click > to move into Selected users.
  4. Click OK.
  5. Wait for the request to change the status from New to Resolve under My Requests.

Register an image into pools

One of the other requirements to create projects is to have at least one image listed under the image catalog. To register an image:

  1. Login to SimpleSRM portal https://<ipaddress>:444/SimpleSRM/login.jsp:
    • Username: PMRDPCAUSR
    • Password: xxxxx
  2. Navigate to offering Home > Request a New Service > Virtual Server Management > Manage Image Library > Register VMware Image.
    • Select the offering for your requirements; for demonstration Register VMware Image is selected.
  3. In the General section fill in the details:
    • Virtual server image name: Name of the Image.
    • Description of the Virtual Server Image: Image description.
    • Cloud Server Pool: Select the cloud resource pool.
    • Discovered Image: Select the correct VMware image; preconfigured images have hypervisor name as a prefix so they are easily identified.
  4. Click Next.
  5. Under the Resources section, fill in the Minimum and Recommended resource values. Click Next.
  6. In the Network Configuration section, select Management then click Next.
  7. Under Platform Settings, fill in the appropriate required fields; this varies based on the hypervisor; use any dummy password.
  8. Click Next > Next.
  9. On the Summary page, review the details and click Finish.
  10. Wait for the request to change the status from New to Resolve under My Requests.

Request a project to create virtual servers

Once the image is registered into the catalog, make a request to create virtual server:

  1. Navigate to offering Home > Request a New Service > Virtual Server Management > Create Project with VMware Server.
  2. Select the offering for your requirements; for demonstration, the VMware offering is selected.
  3. In the Project Details section fill in the details:
    • Project Name: Name of the project.
    • Project Description: Project description.
    • Start Date: Project starting date.
    • Start Time: Project starting time.
    • End Date: Project end date.
  4. Click Next.
  5. In the Requesting Image section select:
    • Resource Group Used to Reserve Resources: pool to provision.
    • Select the image from Image to be Deployed.
    • Number of Servers to be Provisioned: Number of servers for provisioning.
  6. Click Next.
  7. In the Server Details section, select the required CPU, memory, and storage space.
  8. Click Next > Next > Next > Next.
  9. Review the details of the request in the Summary section.
  10. Click Finish.
  11. Wait for the request to change the status from New to Resolve under My Requests.

Check the provisioning status

On the successful provisioning of the server, you can run a ping test to check to determine if the provisioned server is active. Find the provisioned server IP address and run the ping test:

  1. Login to SimpleSRM portal https://<ipaddress>:444/SimpleSRM/login.jsp:
    • Username: PMRDPCAUSR
    • Password: xxxxx
  2. Click Manager Servers in the My Projects widget on the home page.
  3. Make sure the total number of servers requested are listed in the list.

Please note that

  1. The provisioned servers are simulated and therefore are not real.
  2. Simulated servers can respond to IP ping actions.
  3. The simulated server IP addresses are valid within the scope of the cloud simulator instance; that means you can't ping the simulated servers from outside the simulator.

In conclusion, some administration tasks

Finally, we'll show you a how to perform some administrative tasks for both the Tivoli Service Automation Manager server and the back-end system — manual start, stop, and restart.

Tivoli Service Automation Manager server

To start the server:

  1. SSH into the cloud simulator server (on SmartCloud) as idcuser.
  2. sudo as root user by running:
    # sudo /bin/bash

  3. Run the Tivoli Service Automation Manager start command:
    # /etc/init.d/tsam_middleware.sh start

The start can take 10 minutes or more; wait for it.

To stop the server:

  1. SSH into the cloud simulator server (on SmartCloud) as idcuser.
  2. sudo as root user by running:
    # sudo /bin/bash

  3. Run the Tivoli Service Automation Manager stop command:
    # /etc/init.d/tsam_middleware.sh stop

To restart the server:

  1. SSH into the cloud simulator server (on SmartCloud) as idcuser.
  2. sudo as root user by running:
    # sudo /bin/bash

  3. Run the Tivoli Service Automation Manager restart command:
    # /etc/init.d/tsam_middleware.sh restart

Back-end system administration

To start:

  1. SSH into the cloud simulator server (on SmartCloud) as idcuser.
  2. sudo as root user by running:
    # sudo /bin/bash

  3. Run the Tivoli Service Automation Manager start command:
    # /etc/init.d/rc2sim.sh start

The start can take 10 minutes or more; wait for it.

To stop:

  1. SSH into the cloud simulator server (on SmartCloud) as idcuser.
  2. sudo as root user by running:
    # sudo /bin/bash

  3. Run the Tivoli Service Automation Manager stop command:
    # /etc/init.d/rc2sim.sh stop

To restart:

  1. SSH into the cloud simulator server (on SmartCloud) as idcuser.
  2. sudo as root user by running:
    # sudo /bin/bash

  3. Run the Tivoli Service Automation Manager restart command:
    # /etc/init.d/rc2sim.sh restart


Resources

Learn

Get products and technologies

Discuss

About the authors

Venugopala Channarayappa completed his bachelor of engineering/computer science degree from National Institute of Technology-Karnataka (NITK), Surathkal (formerly KREC). He joined IBM in 2004 as a software engineer. Venugopala has three years of experience with IBM cloud computing technology and contributes to IBM cloud offerings and solutions; he was an active participant in early cloud customer implementations and proof-of-concept prototyping.

Yessong Johng is a technical enablement expert, analytical senior IT specialist, and a project manager with extensive experience in all phases of IT solutions sales and support from opportunities identification to solutions implementation. He enjoys analyzing the symptoms of a problem, especially in the areas of information dissemination, and identifying causes so he can contribute towards building the bridge to connect producers of information (such as developers and product managers) to its consumers (sellers, field architects, IT specialists, and end users). One of his latest projects was enabling IBMers, Business Partners, and customers to access Tivoli Service Automation Manager via the IBM SmartCloud Enterprise without the need to purchase and implement various hardware and software resources. He has authored a number of IBM Redbooks, including VMware VI3 on BladeCenter and System x integrated with System i.

Report abuse help

Report abuse

Thank you. This entry has been flagged for moderator attention.


Report abuse help

Report abuse

Report abuse submission failed. Please try again later.


developerWorks: Sign in


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

Choose your display name

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


Rate this article

Comments

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Cloud computing, Tivoli
ArticleID=811551
ArticleTitle=Meet the IBM Cloud Simulator for Tivoli Service Automation Manager
publish-date=04232012