Unable to remotely connect to my IBM WebSphere Application Server - websphere

I am using the IBM product: Websphere Application Server (WAS), version: Base 9.0.5.2.
I want to connect remotely to my IBM WAS to collect a particular set of data metrics, and to achieve that I followed the steps mentioned here I cannot use MBean, as it is not supported by IBM and it is only for testing purposes, so all I am left is with option 2 (in the above link).
In the sample test script attached in the above link, all the files that are mentioned, they are the files present on my IBM WAS. Those files aren't present on my remote machine (from where I am trying to connect to my IBM WAS).
I placed those listed files on my remote machine, and still couldn't connect to my IBM WAS.
How shall I test whether I can connect remotely to my IBM WAS or not?
Can somebody please guide me if I'm missing out on any steps?

Verify if your Websphere JMX port is open on both servers ( in the link 2809 )

If you want to access stats provided by PMI infrastructure, then I would consider using PerfServlet app which is discussed here - Retrieving performance data with PerfServlet. It gives you access via http, so heavy client and product libraries needed, and returns XML, which you can parse to get stats you need.
Other option would be to write your custom app which would use JMX Using the JMX interface to develop your own monitoring application and make it available for example as REST service.
Or if you just want to monitor values use dedicated monitoring apps, like IBM Health Center or third party tools.

Related

How to add cluster to my navigation menu in webspere

Hi I want to include cluster option in IBM 8.5 where it is installed on Linux how to add this package through the terminal where in my server menu I have only server types
Your question is not clear enough, but here are my assumptions:
you are using WebSphere Application Server 8.5.5.x
you want to have cluster options in the Web Administrative console (accessed via /ibm/console)
You currently have standalone single server profile, this profile doesnt have cluster management capabilities. You have to create different profile - deployment manager - either via graphical UI - https://www.ibm.com/docs/en/was-nd/8.5.5?topic=mpugui-creating-management-profiles-deployment-managers or via manageprofiles.sh commandline tool - https://www.ibm.com/docs/en/was-nd/8.5.5?topic=mpnzos-manageprofiles-command-1
To create cluster you will need at least one additional profile (appserver or custom) and federate it to the deployment manager.
Here are various installation secenarios (https://www.ibm.com/docs/en/was-nd/8.5.5?topic=installation-planning-install-websphere-application-server)
The simplest clustering scenario would be Scenario 7: Single-machine installation of a cell of application servers and a web server

Configure Rest on IBM MQ Local Installation

I have installed a IBM MQ Developer version on a server, and I need to configure Rest requests, to be more specific it must be able to put message in the queue using a Rest request.
Unfortunately I didn't find any good source of information about this...
You need to run the MQ web server. Use the command strmqweb.
See https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.1.0/com.ibm.mq.ref.adm.doc/q127860_.html

Open Liberty support Network Deployment?

Does Open Liberty support network deployment?
Are we able to buy IBM Support for Open Liberty? and How?
Can Open Liberty be used to replace WebSphere Application server v9 in HA environment? e.g Having Load balancer (hardware) received request from web application and auto distribute received request to 2 or more standalone Open Liberty installed in separate VM/Machine?
Thanks
Your question is a bit vague, so I'll try my best.
Does Open Liberty support network deployment?
Depends what you mean by that support. You can install multiple Open Liberty on multiple VM/machines that will serve your applications and use LB/or IHS to route to them.
You cannot centrally manage via single console, for that you need WebSphere Liberty ND version that supports collectives.
However most recent deployments will use more 'farm' like or container orchestration approaches rather than central management via dedicated manager (as Dmgr in WAS v9).
Are we able to buy IBM Support for Open Liberty? and How?
Yes you can. See Get IBM or Red Hat support for Open Liberty page for general info and contact IBM sales representative for best option for your needs.
Can Open Liberty be used to replace WebSphere Application server v9 in HA environment?
Depends on your application and non-functional requirements. You can setup LB or IHS with plugin (for more intelligent balancing) to route requests to multiple VM/machines with Open Liberty.
Check for example this Configuring IBM HTTP Server for Liberty and here Open Liberty Plugin Configuration. Few manual steps will be needed to edit generated config file to support many servers.

Automatically publish internal web application

I have written a web application that is, typically, installed internally by customers (based on IIS/MSSQL server).
When a customer wants to provide external access to the application, we offer the following supported scenarios:
Publish the application in their DMZ (pretty standard deployment).
Use our own platform where we host the application in our own cloud infrastructure for them.
However, because I have more and more customers who misunderstand the requirements for publishing an internal application, I would like to add a "one click" way of providing that service.
My idea is to have a reverse proxy installed on the customer's web server that will connect to a cloud server we control. When the application starts, it will connect to our server, authenticate and maintain the connection. When a user wants to use the application, she will use an URL that directs it to our server (say https://myapp.mycompany.org/CustomerID or https://CustomerID.myapp.mycompany.org). The server will then lookup the list of connections from reverse proxy to find the one matching the customer ID and, if found, use that connection to relay the end user connection.
In essence, that is the same thing as what Azure Application proxy or TeamViewer do, only without the need for using Azure AD or TeamViewer.
Is there an existing framework I can use for building such a service ? I know I can write it on my own but that is quite a large development.

Can we create multiple servers in the websphere application server profile?

Can we create multiple servers in the websphere application server profile
Usually the default is server1 gets created , when you create the stand alone instance.
Yes, you can via wsadmin scripting, check details here:
Creating a server using scripting
however by default to configure and install app on that server you will need to use console installed on server1 or scripting, so it is a bit troublesome. That server will also share some configuration settings with server1 e.g. security settings.
If you want more isolation it is usually easier to just create another Application Server profile, from the same WebSphere installation (using Profile Management Tool, or manageprofiles script).

Resources