Skip navigation
1 2 Previous Next

Digital Workplace / MyIT

21 Posts authored by: John Gallagher Employee
Share:|

MyIT 3.1 is available !

 

This release is also compatible with Remedy ITSM 7.6.04 SP2 and later & TrueSight 8.6, 9.0, 10.0 & 10.1. You can now upgrade directly from several releases (2.5, 2.6 & 3.0).

 

 

 

 

Feature Highlights

 

  • Use BMC MyIT to open HR cases and search HR knowledge articles (available since 3.0 SP1)
  • Upgrade an existing BMC MyIT server and integrate it with BMC HR Case Management.
  • MyIT Service Broker integration enhancements
  • Browse through Categories (available since 3.0 SP1)
  • Add Knowledge articles to a section
  • Be selective with your search results and preview knowledge articles
  • Share Deep link Service Requests, Knowledge Articles, Catalog sections and Service Broker profiles
  • Quickly view comments or updates using Deep link email notification
  • Open AIF in new window is optional
  • MyIT Appointments can now generate Service Requests or Incidents
  • If your installation/upgrade failed, you can now correct the error and rerun the installer

 

 

 

HR Case Management

HR Case ManagementUC.PNGHR Case Management.PNG

 

 

 

MyIT Service Broker

ImagesVideo.PNG DEMMyIT.PNG

 

SBTotalCost.PNGSBViewallServices.PNG

 

 

Categories

CatBrowse.PNGFilterSearch.PNG

 

 

Knowledge Catalog section

Choose KA.PNGRKM Bucket.PNG

 

Advanced Search & Preview

MyITSearch.PNG RKM Preview.PNG

 

Deep link Share

MyITShare1.PNG MyITShare2.PNG MyITSearch3.PNG

 

Deep link email notification

 

DeeplinkEmails.PNG

DeeplinkAppoint.PNG

 

 

Configure Service Request appointment

INCSR.PNG

 

AIF iFrame

 

AIF.PNGUCAIFFalse.PNG UCAIFTrue.PNG

 

Installer

 

Installerbackup.PNGInstallFailExample.PNGReinstall.PNG

 

 

A comprehensive summary of all MyIT & MyIT Service Broker integration enhancements is available here

 

Next Steps

 

  • Read everything you need to know about it here
  • Download MyIT & enjoy !
Share:|

MyIT leverages the power of social media to help your employees take Digital innovation to the next level.  We live in an age where collaboration needs to be seamless and information has to be just a few clicks or taps away. 

 


 

 

Social Data Model

 

MyIT Social is a combination of Node.js (java script engine) and MongoDB.

 

MyITSocialIntro.PNG

 

When you log into the Universal Client and look at the Updates tab, most of this activity stream is actually being retrieved from MongoDB. For example whenever you comment, like, share or view the timeline you are actually inserting/viewing  this information to and from MongoDB.

 

NodeMongoDBUC.PNG

 

 

As you can see from my illustration below, the Web UI layer (Angular.js) utilizes Node.js to send and retrieve data to and from MongoDB. This works particularly well as both Node.js and MongoDB use Javascript and JSON.

MongoDBSocialDataModel.PNG

 

So what happens when you create or update a Service Request from MyIT or the Mid-Tier ?

 

1) Tomcat communicates directly to AR System via the REST API

2) Workflow is triggered and data is copied to the relevant AR System forms

3) The SEM plugin is called and a reference of the SR is created in Social

 

So let's see what happens under the hood when you post something on the wall:

 

1) Tomcat makes a POST request

 

Reqest http://clm-hou-007518.bmc.com:9000/ux/rest/v2/activity is made with the following payload:

 

{"text":"Anyone know where Tom is ?","type":"microblog"}  (This will be converted into the social API parameter)

 

2) The Service layer (Tomcat) then calls the Social service API (node.js)

 

Request: http://clm-hou-007518.bmc.com:9001/social/rest/v1/activity/microblog

 

Data is inserted into MongoDB at this point a response is sent back to social:

 

[2016-02-25 04:47:33.811] [INFO] [default] - POST params:{"userId":"appadmin","tenantId":"000000000000001","text":"Anyone know where Tom is ?"}

[2016-02-25 04:47:33.833] [DEBUG] [default] - New microblog created for id:56cedbc589ac8ed009e6fc8a

 

Note:

id - This is only for a microblog

guid - This is for INC/REQ/WO

 

And for the activity stream:

 

1) Tomcat makes a GET request

 

http://clm-hou-007518.bmc.com:9000/ux/rest/v2/activity_stream

 

2) The Service layer (Tomcat) then calls the social service API (node.js)

 

|METHOD=GET|URL/social/rest/v1/user/appadmin/activitystream

 

...and the response is sent back.

 

Activitystreamrespons1.PNG Activitystreamrespons2.PNG

 

As you might have guessed, we need both Node.js and MongoDB to be fully functional to use MyIT. So how can you find them ? Well, you'll find node.js running as a process on Linux:

 

NodeJSRun.PNG

 

In the event you make any changes to the config.js (social configuration file in the social directory) or you need to restart it, you'll find the startup/shutdown scripts in the "/etc/init.d" directory. If they're registered you can also restart by using the stop/stop command as shown below:

 

StopStartNode.PNG

If you're looking for it on Windows, node.js is actually listed as a service called "MyITSocialService"

NodeJSWindows.PNG

 

Now that we've gone through Node.js, let's get into more depth about it's humongous partner in action - MongoDB. At a high level, MongoDB is a document-oriented DBMS, similar to MySQL but with JSON-like objects comprising the data model rather than RDBMS tables. For those of you familiar with SQL, the following illustration will help you understand the terms:

MongoDB SQL.PNG

 

Connecting to MongoDB

 

MyIT/Smart IT is shipped with MongoDB but if you're planning on setting up a replication set you'll need to download the package from Mongodb.org and configure it (see link at the bottom of this blog).

You can connect to MongoDB by navigating to the mongo "bin" directory and typing "mongo". In the screenshot below I'm connected to our Social Database (social) which is created when you run the MyIT/SmartIT installer. By default, mongo enters the shell and connects to the "test" database but you can easily switch over to social by typing the "use  social" command.

 

MongoNoAuth.PNG

 

 

The other alternative is to use a GUI such as UMongo, RoboMongo or MongoChef.  In the example below I'm using MongoChef to connect to the primary MongoDB Server of my Replication set.

 

Note: The secondary servers are set up for write only which is why I'm connected to my primary to read the data. On the other hand, if I was already connected to the shell on secondary I could just type "rs.slaveOK()" and this will allow read operations to run.

 

MongoChefSetup.PNG MongoChefSetupUser.PNG

 

As soon as the connection is successful you'll see a nice graphical representation of your Social DB.There are some additional features of this tool such as "intellishell", "Query builder" and "Export". "Intellishell" allows you to quickly open the shell from inside the GUI and execute commands as normal. "Query builder" is particularly useful if you're performing complex searches and "Export" helps you export out as many collections as you like.

 

MongoChefExplanation.PNG

 

The following table will give you an idea what each collection contains:

 

MongoDBContents.PNG

 

MongoDB Replication

 

Replication is the process of synchronizing data across servers to ensure high availability so if you're running in a production environment it's highly recommended you consider this.

 

The following three-member replica set has two secondary members. The secondaries replicate the primary’s oplog and apply the operations to their data sets.

 

Replication Set.PNGMongoDBReplicaSet.png

 

When a primary does not communicate with the other members the replica set will attempt to select another member to become the new primary. The first secondary that receives a majority of the votes becomes primary.

 

MongoDB 3.0 Wired Tiger

 

Starting with MyIT 3.0 we now bundle MongoDB 3.0 which comes with Wired Tiger - MongoDB's new high performance Engine. It isn't setup by default when you install MongoDB so there are two ways of enabling it:

 

a) For a new setup, follow the steps in our MongoDB documentation at the bottom of this Blog.

 

b) From an existing MongoDB 3.0 replication set without WT enabled

 

1) Stop MongoDB on one of the secondary’s

2) Add "storageEngine = wiredTiger" to the mongo.cfg file

3) Backup & delete the data in the mongodata directory

4) Start MongoDB and the data will be copied over from one of the other MongoDB servers in the replication set.

 

Note: The format of the Mongo data will now change to Wired Tiger.

 

Wired Tiger Format.PNG

 

5) Go to current primary and do "rs.stepDown()" and stop the mongo service

 

This will force the database into secondary and trigger one of the other servers into primary mode.

 

6) Add "storageEngine = wiredTiger" to the mongo.cfg file

7) Delete the data in the mongodata directory

8) Start MongoDB

9) Stop your remaining secondary

10) Add "storageEngine = wiredTiger" to mongo.cfg

11) Start MongoDB

 

Troubleshooting MongoDB/Node.js

 

If there's a problem with node.js you may see your data dissapear from the Universal Client and a connection error:

 

NodeJSDown.PNG

 

MongoDB on the other hand might just show a spinning wheel:

 

MongoDBdown.PNG

In the event you see either of these symptoms:

 

  • Check the MongoDB and the Social Services are running

 

a) For MongoDB on Linux issue the following command:

 

[root@clm-aus-000627 ~]# ps -ef | grep mongo

root    15236    1  0 Aug17 ?        06:52:24 /opt/bmc/Smart_IT_MyIT/Smart_IT_MyIT/mongodb/bin/mongod --fork -f /opt/bmc/Smart_IT_MyIT/Smart_IT_MyIT/mongodb/mongod.cfg

root    16254 16220  0 03:03 pts/5    00:00:00 grep mongo

 

Notice the mongod process above is running. If you don't see it, start it by issuing the following command:

 

[root@clm-aus-000627 ~]service myitmongod start

 

For Windows simply highlight the service to start or stop.

 

MongoWinService.PNG

 

b) Check Node.js on Linux by using the grep command:

 

[root@clm-aus-000627 ~]# ps -ef | grep node

 

NodeJSRun.PNG

 

....and if this command isn't returning anything, you can start it by issuing the following command:

 

[root@clm-aus-000627 ~]service socialserviced start

 

Same again for Windows, just highlight the service to start/stop.

 

MyITSocialServiceWindows.PNG

 

Some additional things to check are as follows:

 

  • Check Social service health:

 

Pre-MongoDB 3.0

http://myithost:9001/social/rest/v1/installationcheck

Response:

{"success":"Hello World"}

 

MongoDB 3.0

http://myithost:9001/social/rest/v1/mongoconnection

Response:

{"connection-status":"available"}

OR

{"connection-status":"not_avaialable"}

 

  • Open the UX log located in the SmartIT MyIT log directory and search for anything related to social
  • Open the mongo log (path specified in the mongod.cfg) and look for any exceptions
  • Make sure you have diskspace (linux command is "df -h").
  • Check your JRE version is supported (java  -version)
  • If using a replication set check the config.js file (located in the social directory) is pointing at the right nodes.
  • Check all hostnames are all resolvable by pinging them
  • Try telneting to the hostname/IP address
  • Check node.js and mongo ports are not being used by another process (node is 9001 and mongo is 27017)
  • Tomcat queries Mongo for a key (held in the MongoDB) to authenticate so check to make sure it's being returned by entering the following in your browser:

 

http://myithost:9001/social/rest/v1/api/myit

 

You should get something like this:

 

"key": "01a86963-b8e8-e19c-4bb0-ffaf30a9d209“

 

  • If using Linux, check what the ulimit values are set to by typing "ulimit -a" from the command line.

Reccomended Ulimits.PNG

  • If MongoDB starts crashing on your Linux system check your system log by typing "dmesg" or the following:

 

[root@clm-aus-000627 ~]# grep mongod /var/log/messages

 

For MyIT/SRM integration, check the following:

 

  • Open the SHR:SHR_KeyStore form and ensure the MyIT URL is correct & the token/secret is the same as the one in the connect.properties file on the MyIT Tomcat Server.

SHRKeyStore.PNGCPropertiesToken.PNG

  • Open the "pluginsvr_config.xml" file on the AR Server and check the path references to the plugin file are correct
  • Ensure plugin reference in the ar.cfg is also present.

PluginSVRConfig.PNGPluginConf.PNG

  • Open the MyIT Administration menu and make sure the SRM provider has the correct Mid-Tier path and remedy application service password

  • Enable Social Event Manager debug as follows:

 

a) Open the "log4j_pluginsvr.xml" in the pluginsvr directory and change these lines to debug:

 

<logger additivity="true" name="com.bmc.arsys.pluginsvr">

            <level value="debug"/>

      </logger>

   <logger additivity="true" name="com.bmc.arsys.pluginsvr.plugins">

            <level value="debug"/>

      </logger>

     <logger additivity="true" name="com.bmc.remedy.itsm.SocialCloud">

                     <level value="debug"/>

       <appender-ref ref="SocialCloudPluginLog"/>

   </logger>

 

b) Restart the AR Server, reproduce the problem and check/send us the SocialEventManager and arjavaplugin logs.

 

Note: Starting with MyIT 2.6 we replaced the social cloud plugin with the Social Event plugin.

 

  • For MongoDB replication set troubleshooting use the rs.status() command to check the overall health of your MongoDB replication set.

 

Note: If you've enabled authentication you need to be logged into the admin DB with a user who has permission to issues these commands:

 

myitsocial:PRIMARY> use admin

switched to db admin

myitsocial:PRIMARY> db.auth("siteRootAdmin", "admin");

1

myitsocial:PRIMARY> rs.status()

{

        "set" : "myitsocial",

        "date" : ISODate("2016-02-26T12:16:37.455Z"),

        "myState" : 1,

        "members" : [

                {

                        "_id" : 0,

                        "name" : "clm-aus-009799:27017",

                        "health" : 1,

                        "state" : 1,

                        "stateStr" : "PRIMARY",

                        "uptime" : 6558893,

                        "optime" : Timestamp(1456485910, 1),

                        "optimeDate" : ISODate("2016-02-26T11:25:10Z"),

                        "electionTime" : Timestamp(1455196320, 1),

                        "electionDate" : ISODate("2016-02-11T13:12:00Z"),

                        "configVersion" : 3,

                        "self" : true

                },

                {

                        "_id" : 1,

                        "name" : "172.22.239.230:27017",

                        "health" : 1,

                        "state" : 2,

                        "stateStr" : "SECONDARY",

                        "uptime" : 6558889,

                        "optime" : Timestamp(1456485910, 1),

                        "optimeDate" : ISODate("2016-02-26T11:25:10Z"),

                        "lastHeartbeat" : ISODate("2016-02-26T12:16:35.755Z"),

                        "lastHeartbeatRecv" : ISODate("2016-02-26T12:16:36.715Z"

),

                        "pingMs" : 1,

                        "syncingTo" : "clm-aus-009799:27017",

                        "configVersion" : 3

                },

                {

                        "_id" : 2,

                        "name" : "172.22.229.100:27017",

                        "health" : 1,

                        "state" : 2,

                        "stateStr" : "SECONDARY",

                        "uptime" : 1292611,

                        "optime" : Timestamp(1456485910, 1),

                        "optimeDate" : ISODate("2016-02-26T11:25:10Z"),

                        "lastHeartbeat" : ISODate("2016-02-26T12:16:35.717Z"),

                        "lastHeartbeatRecv" : ISODate("2016-02-26T12:16:35.622Z"

),

                        "pingMs" : 1,

                        "syncingTo" : "clm-aus-009799:27017",

                        "configVersion" : 3

                }

        ],

        "ok" : 1

}

           

In the example above you'll see my primary and two secondary MongoDB servers are communicating well whereas if the primary MongoDB crashes or is not reachable you'll see a failed attempt message:

 

myitsocial:PRIMARY> rs.status()

{

        "set" : "myitsocial",

        "date" : ISODate("2016-02-26T12:20:08.668Z"),

        "myState" : 1,

        "members" : [

                {

                        "_id" : 0,

                        "name" : "clm-aus-009799:27017",

                        "health" : 1,

                        "state" : 1,

                        "stateStr" : "PRIMARY",

                        "uptime" : 6559104,

                        "optime" : Timestamp(1456485910, 1),

                        "optimeDate" : ISODate("2016-02-26T11:25:10Z"),

                        "electionTime" : Timestamp(1455196320, 1),

                        "electionDate" : ISODate("2016-02-11T13:12:00Z"),

                        "configVersion" : 3,

                        "self" : true

                },

                {

                        "_id" : 1,

                        "name" : "172.22.239.230:27017",

                        "health" : 0,

                        "state" : 8,

                        "stateStr" : "(not reachable/healthy)",

                        "uptime" : 0,

                        "optime" : Timestamp(0, 0),

                        "optimeDate" : ISODate("1970-01-01T00:00:00Z"),

                        "lastHeartbeat" : ISODate("2016-02-26T12:20:08.295Z"),

                        "lastHeartbeatRecv" : ISODate("2016-02-26T12:19:52.972Z"

),

                        "pingMs" : 1,

                      "lastHeartbeatMessage" : "Failed attempt to connect to 1

72.22.239.230:27017; couldn't connect to server 172.22.239.230:27017 (172.22.239

.230), connection attempt failed",

                      "configVersion" : -1

                },

                {

                        "_id" : 2,

                        "name" : "172.22.229.100:27017",

                        "health" : 1,

                        "state" : 2,

                        "stateStr" : "SECONDARY",

                        "uptime" : 1292822,

                        "optime" : Timestamp(1456485910, 1),

                        "optimeDate" : ISODate("2016-02-26T11:25:10Z"),

                        "lastHeartbeat" : ISODate("2016-02-26T12:20:08.002Z"),

                        "lastHeartbeatRecv" : ISODate("2016-02-26T12:20:07.889Z"

),

                        "pingMs" : 0,

                        "syncingTo" : "clm-aus-009799:27017",

                        "configVersion" : 3

                }

        ],

        "ok" : 1

}

 

  • If all else fails, enable social DEBUG in the config.js file as shown below then restart the social service, reproduce the problem a few times and send us the social, UX and mongo logs (all logs are located in the Smart IT MyIT log directory with the exception of the mongo log which is defined in the mongod.cfg file)

 

SocialDebug.PNG

 

 

MongoDB Migration

 

You can migrate data easily by using mongodump & mongorestore with the following steps:

 

1) Take MongoDB backup using "mongodump" from existing standalone MongoDB by issuing the following command:

 

mongodump --host localhost --port 27017

 

 

MongoDump.PNG

 

2) Copy over the dump folder/contents to the same directory of your new MongoDB instance and use the "mongorestore" command (this command will check for the dump folder and restore all of it's contents).

 

MongoDBAdminRestore.PNG

 

Conclusion

 

MongoDB in combination with Node.js make a powerful Social Engine for MyIT/SmartIT. Please check out some or all of this content and share your feedback.

 

See more BMC Remedy Support Blogs

 

 

Additional Resources

 

  1. Introduction to MongoDB
  2. Installing and setting up MongoDB for MyIT/SmartIT (Linux)
  3. Installing and setting up MongoDB for MyIT/SmartIT (Windows)
  4. Configuring a MongoDB replica set for MyIT/SmartIT
  5. MongoChef
  6. About Node.js
Share:|

MyIT 3.0 is available for download !

 

This release is also compatible with BMC Helix Remedyforce and Remedy ITSM 7.6.04 SP2 and later, TrueSight Operations Mgmt 8.6, 9.0, 10.0 & 10.1

 

Feature Highlights

 

  • Create new Services in MyIT Service Broker and submit them through MyIT
  • Create new sections in your Catalog and control the order & layout in which the items are displayed
  • More device notification types with approval actions & cross launch into MyIT
  • Change Request Approvals are now visible in the Universal Client & device
  • Reopen Service Requests from your device & Universal Client
  • Quantity, Price and Required Completion date now visible
  • Track what you're following & requested items using the My Stuff tab
  • Disable/enable User Profile editing
  • MongoDB 3.0 performance enhancement with Wired Tiger

 

MyIT Service Broker integration

 

Service Broker Office.PNGService Broker Office final.PNG

 

Never heard about MyIT Service Broker ? Click here

Pragmatic description by Alf Abuhajleh and Simon Geddes

 

Catalog

 

Catalog Order.PNGCatalog UC.PNG

 

Device notifications

 

Device Notifications.PNG

 

Change Approval In-App notification

 

In-App notification.PNG

 

Reopen with comments

 

ReOpen.PNG

 

Quantity, Price & Required Completion date

 

PriceQuantity.PNG

 

My Stuff

 

MyStuff.PNG

 

Disable user profile editing

 

User Profile.PNGWB.PNG

 

A summary of all enhancements is available online here.

 

We heard your feedback that it was hard to find administration information in the use case documentation. You can now find this information in the Administering section, information about integrations is now available in the Integrating section.


Next Steps:


  • Read everything you need to know about MyIT 3.0 here
  • Download MyIT & enjoy !


Share:|

MyIT 2.6 is GA and available for download.


This release is also compatible with BMC Helix Remedyforce and Remedy ITSM 7.6.04 SP2 and later. TrueSight Operations Mgmt The specified item was not found. 8.6 & 9.0

 

Feature Highlights

 

Check our new enhancements in more detail on BMC Docs. If you're unable to upgrade or install at the moment, here's a quick preview:

 

  • Handle more updates directly on your Timeline
  • View more detail in your Requests and Approvals
  • Keep up to date with interactive & informative notification
  • Comment, add videos & attachments or evaluate Knowledge Articles
  • Launch Virtual Agent (Chat) from MyIT
  • Use Remedyforce Approvals
  • Native leverage of AppZone in Remedyforce MyIT
  • Performance enhancements with our new Social Event Manager plugin
  • Host private ITSM instances sharing MyIT  (Multitenancy)

 

See below screenshots of some of the changes....

 

Timeline

MyIT Comments.PNG

 

SRDetails.PNG

SRPriority.png

MyApproval.png

 

Notifications

Notifications.png

 

Knowledge Articles

Social Event Manager.PNG

KACommentAttach.png

The new IT.PNG

 

Virtual Agent

Virtual Agent.png

 

Remedyforce Approvals & Appzone

RemedyForceAppzone.PNG

 

ApprovalsRF.PNG

 

Architecture

 

  1. We have replaced Virgo with Smart IT/MyIT Tomcat for the MyIT Admin Console so you can quickly switch between the Universal Client and Admin Console in one browser session.
  2. Social Events that show up on Timeline and update feed will no longer be sent to social using CAI. The new SocialEventManager.jar plugin will be used as opposed to the socialcloud.jar

 

Next Steps

 

  • Read our 2.6 documentation here
  • Download MyIT from our EPD site and enjoy !

MyIT2.6 Installer.PNG


Any insight as to how this release might help your business is welcome !

Share:|

In this blog I’d like to demonstrate how I troubleshoot problems with the Universal Client. I'm sharing my experience on Communities because others may find it helpful.

 

Before we start I’d highly recommend that you review the basic Architecture of MyIT/SmartIT.

The MyIT User Interface itself is built using the Angular.js framework which utilizes the MyIT Tomcat REST API via AJAX requests

 

MyIT AJAX.png

 

When you log into MyIT you are presented with an activity stream.

 

MyITActivitystream.png

All of the information here is actually stored in the Mongo Database via the MyIT Social Server (Node.js) Application.

 

Node.js.png

For MyIT/SmartIT to be fully operational, Mongo DB, MyIT Tomcat and MyIT Social need to be running. Virgo which is used for the MyIT Admin Console is independent.

 

Windows:

WinMyITServices.PNG

Linux:

LinuxMyITServices.png

 

If you can log into MyIT but you can’t see any activity/updates check if each of these components are running. Otherwise your activity stream will be missing and you’ll see either of these messages...

 

 

 

MyITConRefused.png   

 

MyITStreamError.png

 

The MyIT Tomcat Server initially queries the Mongo DB for a key to authenticate so to simulate this handshake, enter the following in your browser:

 

http://myithost:9001/social/rest/v1/api/myit

 

You should get something like this...

 

"key": "01a86963-b8e8-e19c-4bb0-ffaf30a9d209“

 

If you don’t get a response, check to make sure all of the services are up and there are no port conflicts with mongo (27017) or social (9001). If UC problems persist, turn on debug and check the UX or Catalina logs for exceptions:

 

Windows log file location

 

Program Files\BMC Software\Smart_IT_MyIT\Smart_IT_MyIT\Logs

Program Files\Apache Software Foundation\Tomcat7.0\logs

 

Linux log file location

 

/opt/bmc/MyIT/Smart_IT_MyIT/Logs

opt/apache/tomcat7.0/logs

 

On the Client side there are a number of Developer Tools which can also help.

 

  • Firebug
  • Internet Explorer Developer Tools (F12)
  • Chrome Developer Tools (F12)
  • Fiddler

 

In the example below we can see a REST call being made to the Tomcat server and if you look at the response you can see it’s having an authentication problem.

MyITAuthentication.png

This was because of an incorrect application service password for the SRM provider which is set in the Administration Console.

 

MyITAdminConsole.png

Here the UC is returning a blank page but we can see a 404 response, the cause of which was an incorrect AR Server name in the connect.properties file (Program Files\Apache Software Foundation\Tomcat7.0\external-conf).

MyITBlank404.png

 

...and here this page keeps loading because of a typo in the hostname for the Mongo server in the config.js file (Program Files\BMC Software\Smart_IT_MyIT\Smart_IT_MyIT\social).

 

IncorrectMongoHostName.png

 

In this example we can see the user tried to create an appointment for a time when no slots were available.

 

MyITAppointmentError.png   

 

...and finally with the Fiddler Web Debugger we can see a network connection is being blocked to the MyIT Server.

 

FiddlerWebDebugger.png

 

 

I hope you've found this Blog useful so let us know by rating or adding a comment.

 

Additional Resources:

 

MyIT Known and Corrected Issues

MyIT 2.2 Patch 1

MyIT Tomcat Logging

How can I restart MyIT Services ?

How can I increase the MyIT Session timeout ?

MyIT 2.1 Administration Console is timing out trying to retrieve Service Requests Definitions

Login page for MyIT keeps spinning

 

 

See more BMC Pulse articles here: BMC Remedy Support Blogs

Share:|

MyIT is a next-generation self-service app that reduces IT friction, cuts support costs, and boosts customer satisfaction. It’s fast. With a swipe, alerts and service updates appear.

 

Picture this…its 9am Monday morning, you've just turned on your computer and you can’t download anything!

 

MyITRetry.jpg

 

How frustrating, if only you’d known there was a problem earlier, perhaps you could have worked around it! Wouldn't it be great if you could see a cell phone notification or email at the same time as your IT Help Desk? We thought you would so we've come up with a way to link MyIT with Truesight Infrastructure Management (TSIM) a tool which finds and resolves issues such as these. With just a couple of clicks on my cell phone I can see the status of all my Services, including my IT Infrastructure!

 

Profilepic.jpg

 

With MyIT you can define Service status manually but if you integrate with TSIM you’ll get real-time business service updates so users can check for themselves. This also gives your helpdesk less of a headache allowing them to focus more on the problem itself.

 

So how does it all work?  To summarise, My IT Tomcat connects to the TSIM cell via BMC Impact Integration Web Services (IIWS) and pulls back the Service Status being monitored by Truesight.

MyITBPPMARCH.png

 

 

Have a look at the above high level diagram for a minute, Tomcat actually uses a provider (set of Java libraries which “provides” business functionality) to connect to TSIM every 60 seconds.

MyITLibraries.png

The actual configuration details for TSIM (as well as the other providers) are held within the “PROVIDER_SETTINGS” table of the MyIT System Database and can be changed from “Features” in the Configuration Tab of the Administration console.

 

When it comes to setting it all up, it’s all done though the Services Tab of the Administration Console so once you click the “Add” button you should be able to see all available TSIM services:

MyITServiceAVAIL.png

So what if things go wrong and we don’t see any Services listed? 

CheckMark.jpg


1.
Rule out the basics, is it supported?  MyIT is currently compatible with TSIM 8.6 and 9.0.

 

2. Is your TSIM Cell configuration correct? For MyIT to communicate with the TSIM cell via IIWS there needs to be a valid entry in the “mcell.dir” files on the TSIM Server. The TSIM components look up the host, port and encryption key from the “mcell.dir” files when establishing connections to the cell:

 

a) mcell.dir in “C:\Program Files (x86)\BMC Software\Impact Web Services\Tomcat\webapps\imws\WEB-INF\etc”

 

E.g

 

cell local mc machinename:1828

gateway.imcomm IIWSGatewayServer mc machinename:1859

 

b) mcell.dir in “C:\Program Files\BMC Software\ProactiveNet\pw\server\etc”.

 

E.g

 

cell Admin  mc  pnetserver:1827

cell IAC  mc  pnetserver:1827

gateway.pn_server  pn_server_pnetserver  mc pnetserver:1851

admin ias_Admin  admin/admin  pnetserver:3084

cell pncell_pnetserver  mc  pnetserver:1828

gateway.ibrsd  IBRSD mc  pnetserver:3115

gateway.imcomm  gw_ps_pncell_pnetserver  mc pnetserver:1839

 

You need to be careful with these files …if there’s a problem with the configuration you might see the following errors in the apache tomcat logs (C:\Program Files\Apache Software Foundation\Tomcat7.0\logs\MyIT2014.xx.xx).

 

ERROR [ServiceAvailabilityPoller] - , Thread ID = 16java.lang.RuntimeException: Error encountered while executing query for service availability data through IIWS

Caused by: org.apache.axis2.AxisFault: Execute API 'QueryComponentsByCondition' failed. Reason: Error in add connection to ImpactManage: local.  Exception message: Cell local is not registered in directory.

 

3. Is the BMC IIWS Service running?  Log on to the server and check if the following highlighted service is in a “started” status:

 

IIWSService.png

 

 

4. Are you sure you have the right IIWS URL specified? When you’re installing MyIT you are given the chance to enter in the IIWS URL or if you are running 2.0 SP1  + you can enter information after the installation but regardless, the URL should be in the following format:

 

http://pnetserver:9080/imws/services/ImpactManager

 

BPPMProviderImage.png

It’s always best to make sure this URL is valid and operational so just paste it into a browser and you should get a similar response to this:

 

IIWA..jpg

So what after all this you still can’t see any services?  Check obvious things like network connectivity and ask yourself questions like “Can I telnet to the Server where IIWS is running?”, “Is there a possibility that anti-virus is blocking the communication?”, “Did the installation complete without errors or warnings?” If all else fails, just log a case with us in BMC Support and we'll take it from there !

Would you like to know more about the other providers ? Watch this space because I'll covering more soon...

 

I hope you've found this Blog useful so I'd appreciate any feedback.

 

Additional Resources:

 

  1. MyITDatasheet
  2. Setting up Services with MyIT
  3. BMC ProactiveNet Performance Management
  4. Troubleshooting IIWShttp://documents.bmc.com/supportu/documents/48/63/244863/244863.pdf

 

KA413810  Cannot integrate MyIT with BPPM

 

MyIT Demo Video

What is MyIT Video

 

See more BMC Pulse articles here:

 

BMC Remedy Support Blogs

Filter Blog

By date:
By tag: