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
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
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.
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 number | Hypervisor type | Pool name | Image name |
|---|---|---|---|
| 1 | KVM | KVM Local Disk Pool | kvm-redhat5.4 kvm-redhat5.5 |
| 2 | System p | SystemP Pool | PowerVM-AIX5.3ML8 PowerVM-AIX6.1ML3 |
| 3 | VMControl | VMControl Pool | VMC-AIX6 VMC-AIX6ML2 |
| 4 | VMware | VMware ESX Pool | vmware-suse10 vmware-win2k3 |
| 5 | Xen | Xen Local Disk Pool | xen-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:
- Go to the IBM SmartCloud Enterprise page.
- Enter your SmartCloud Enterprise username and password.
Figure 3. Sign in screen
- Click Submit.
- Click the Overview tab, then click Add an instance to get started.
Figure 4. Add an instance on Overview tab
- Click the Add instance button on the Control Panel tab.
Figure 5. Add instance button
- Select the following:
- View list: Public.
- 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
- 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
- Click Next.
- On Step 2 of 4: configure image, select the following:
- Request Name: Descriptive name of a request.
- Key: Select the right key to use for this image.
- Keep the other default values.
Figure 8. Configure the image
- Click Next.
- Review the details and click Finish.
- Wait for server instance to provision.
- Once the server is provisioned, the server status changes to Active.
Figure 9. Active server 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.
- SSH Login to an instance server as idcuser. See the IBM SmartCloud Enterprise User's Guide for information.
- 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:
- Login to the Self-Service UI.
- Enable the default PMRDPCUST customer.
- Create a team.
- Register an image into the pools.
- Request a virtual server.
- Check the provisioning status.
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.
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:
- Navigate to offering Home > Request a New Service > Manage Customers > Create Customers.
- Select Network Configuration Template: Common Dual Network on the Create Customer offering page. Click OK.
- Wait for a request to change status from New to Resolve under My Requests.
- Logout of the SimpleSRM portal by clicking Logout on the top-right side of the page.
- On the next login, you'll see a change in the set of offerings listed under Home > Request a New Service > Virtual Server Management.
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:
- Login to SimpleSRM portal
https://<ipaddress>:444/SimpleSRM/login.jsp:
- Username: PMRDPCAUSR
- Password: xxxxx
- Navigate to offering Home > Request a New Service > Virtual Server Management > Manage Users and Teams > Create Team.
- 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.
- Click OK.
- Wait for the request to change the status from New to Resolve under My Requests.
One of the other requirements to create projects is to have at least one image listed under the image catalog. To register an image:
- Login to SimpleSRM portal
https://<ipaddress>:444/SimpleSRM/login.jsp:
- Username: PMRDPCAUSR
- Password: xxxxx
- 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.
- 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.
- Click Next.
- Under the Resources section, fill in the Minimum and Recommended resource values. Click Next.
- In the Network Configuration section, select Management then click Next.
- Under Platform Settings, fill in the appropriate required fields; this varies based on the hypervisor; use any dummy password.
- Click Next > Next.
- On the Summary page, review the details and click Finish.
- 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:
- Navigate to offering Home > Request a New Service > Virtual Server Management > Create Project with VMware Server.
- Select the offering for your requirements; for demonstration, the VMware offering is selected.
- 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.
- Click Next.
- 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.
- Click Next.
- In the Server Details section, select the required CPU, memory, and storage space.
- Click Next > Next > Next > Next.
- Review the details of the request in the Summary section.
- Click Finish.
- Wait for the request to change the status from New to Resolve under My Requests.
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:
- Login to SimpleSRM portal
https://<ipaddress>:444/SimpleSRM/login.jsp:
- Username: PMRDPCAUSR
- Password: xxxxx
- Click Manager Servers in the My Projects widget on the home page.
- Make sure the total number of servers requested are listed in the list.
Please note that
- The provisioned servers are simulated and therefore are not real.
- Simulated servers can respond to IP ping actions.
- 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:
- SSH into the cloud simulator server (on SmartCloud) as idcuser.
- sudo as root user by running:
# sudo /bin/bash
- Run the Tivoli Service Automation Manager
startcommand:# /etc/init.d/tsam_middleware.sh start
The start can take 10 minutes or more; wait for it.
To stop the server:
- SSH into the cloud simulator server (on SmartCloud) as idcuser.
- sudo as root user by running:
# sudo /bin/bash
- Run the Tivoli Service Automation Manager
stopcommand:# /etc/init.d/tsam_middleware.sh stop
To restart the server:
- SSH into the cloud simulator server (on SmartCloud) as idcuser.
- sudo as root user by running:
# sudo /bin/bash
- Run the Tivoli Service Automation Manager
restartcommand:# /etc/init.d/tsam_middleware.sh restart
Back-end system administration
To start:
- SSH into the cloud simulator server (on SmartCloud) as idcuser.
- sudo as root user by running:
# sudo /bin/bash
- Run the Tivoli Service Automation Manager
startcommand:# /etc/init.d/rc2sim.sh start
The start can take 10 minutes or more; wait for it.
To stop:
- SSH into the cloud simulator server (on SmartCloud) as idcuser.
- sudo as root user by running:
# sudo /bin/bash
- Run the Tivoli Service Automation Manager
stopcommand:# /etc/init.d/rc2sim.sh stop
To restart:
- SSH into the cloud simulator server (on SmartCloud) as idcuser.
- sudo as root user by running:
# sudo /bin/bash
- Run the Tivoli Service Automation Manager
restartcommand:# /etc/init.d/rc2sim.sh restart
Learn
- Read the IBM SmartCloud Enterprise User's Guide for
overview and using information. This guide is available after you login to SmartCloud
Enterprise portal.
-
For more on how to perform tasks in the IBM Cloud, visit these resources:
- Up and download files from a Windows instance.
- Install IIS web server on Windows 2008 R2.
- Create an IBM Cloud instance with the Linux command line.
- Create an IBM Cloud instance with the Windows command line.
- Extend your corporate network with the IBM Cloud.
- High availability apps in the IBM Cloud.
- Parameterize cloud images for custom instances on the fly.
- Windows-targeted approaches to IBM Cloud provisioning.
- Deploy products using rapid deployment service.
- Integrate your authentication policy using a proxy.
- Configure the Linux Logical Volume Manager.
- Deploy a complex topology using a deployment utility tool.
- Provision and configure an instance that spans a public and private VLAN.
- Secure IBM Cloud access for Android devices.
- Recover data in IBM SmartCloud Enterprise.
- Secure virtual machine instances in the cloud.
-
In the developerWorks cloud developer resources, discover and share knowledge and experience of application and services developers building their projects for cloud deployment.
-
Find out how to access IBM SmartCloud Enterprise.
Get products and technologies
- Get Learning Modules & User Documentation from the
Cloud Simulator forTivoli Service Automation Manager on the SmartCloud Enterprise wiki.
-
See the product images available for IBM SmartCloud Enterprise.
Discuss
-
Join a cloud computing group on developerWorks.
-
Read all the great cloud blogs on developerWorks.
-
Join the developerWorks community, a professional network and unified set of community tools for connecting, sharing, and collaborating.
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.




