Monday, October 21, 2019

Elastic Search - Some checks to be done


When building search indexes for the first time  you might get weird errors

1. Continuing from previous failed.. when  you are running it for the first time.. 
2. Node url not defined

Do the below checks to resolve issues.

1. Go to PeopleTools -> Search Framework -> Search Instance and check the value of URL in Call Back Properties. The general format is: http://:/PSIGW/PeopleSoftServiceListeningConnector/
* Note the
2. Go to PeopleTools -> Integration Broker -> Configuration -> Service Configuration and then to Setup Target Locations. Make sure that there is the same node name specified here. Also if you need to updated it – make sure you update the UDI servers too.
3. Go to PeopleTools -> Integration Broker -> Integration Setup and go to the default local node definition. Go to the Portal tab and you may find the Content URI Text and POrtal URI Text empty. You can notice reference to the error received?

Saturday, May 11, 2019

Change ESAdmin Password - Elastic Search

Steps To Change Elasticsearch Password
1. Change directory to ES_HOME/bin
2. Run the following to change the password for esadmin user, enter ‘Y’ when prompted for password change. For the default user, “esadmin”, default password is “esadmin”:
elasticsearchuser.bat adduser esadmin
User Exists. Do you wish to change the password?(Y/N)Y
Enter your old password:
Enter new password:
Confirm new password:
Password for esadmin changed.
3. Run the following to change the password for people user, enter ‘Y’ when prompted for password change. For the default user, “people”, default password is “peop1e”:
elasticsearchuser.bat adduser people
User Exists. Do you wish to change the password?(Y/N)Y
Enter your old password:
Enter new password:
Confirm new password:
Password for people changed.
4. To add new users, follow Step 1, with new username and password. To add roles to these users, run the following:
elasticsearchuser.bat addrole user1
Enter password:
Enter comma seperated list of roles : admin,read,security
Roles added for user user1C

Wednesday, May 30, 2018

Check Windows service and start if down

@ECHO OFF
SET SName=%~1
 
SC QUERYEX "%SName%" | FIND "STATE" | FIND /v "RUNNING" > NUL && (
    ECHO %SName% is not running
    ECHO START %SvcName%
 
    NET START "%SName%" > NUL || (
        ECHO "%SName%" wont start
        EXIT /B 1
    )
    ECHO "%SName%" is started
    EXIT /B 0
) || (
    ECHO "%SName%" is running
    EXIT /B 0
)

Saturday, August 19, 2017

Elastic Search

           Many times we have seen clips of a kid / adult standing in a room and all sort of numbers , characters, equations revolving around him!!!! 

          Some may see it as a millions of thoughts and numbers going through the mind of the person and being able to understand all that or something “out of world” is going to happen..
  
For me .. being into the technology is just data  

Have we ever wonder with the advent of this inventions in technology world there is so much of data that is floating around that is being used for a variety of purposes?  Every time you tap your finger on a keyboard of any size/shape/material you are unleashing data.  

From out of this world say Mars to a trivial thing like booking an Uber to work. 

So, how do I search this data, so that I be optimally used for the benefit of every one.  That’s where elastic search comes into play.   ElasticSearch is spreading it’s wings very very fast .. and I am amazed with the ease with which it functions. 

So, what is Elastic Search 
It’s a opensource software that makes massive amounts of structured and unstructured data available for search, logging, analytics and more in mission critical systems and applications. 
ElasticSearch is based on LUCENE. LUCENE is an information retrieval software library. 

Before I dive into Elastic search , let me give you a few use case of how different corporates from different businesses use Elastic Search.  

So, let me start from the Mars 

NASA : uses the ELK stack (ElasticSearch, LogStash , Kibana)  
Nasa says the uses the ELK stack to log more than 30K messages and 100k 4 times everyday from Mars ROVER to optimize our space missions 

The Guardian uses it for marketing Insights , Business Development and to capture customer sentiments. 

Goldman Sachs/ Verizon use it for IT Operations, Application Management. Verizon’s Elastic Search works for over 500 million documents.

Facebook uses it for variety of things along with ElasticSearch’s Security Plugin. 

Ebay/ Github uses it for Website Search / Internal and Intranet Search and url searchs. Github everyone know .. every line of code that your search uses Elastic Search.  

Wikimedia – Full text searches are powered by Elastic Search

UBER – Information about your ride every 4 seconds is sent to Elastic search. This is used for get your details, drivers detail and used so that they can serve you better. 
 
 
 
I was exposed to Elastic Search when Oracle PeopleSoft started using it for searches with PeopleSoft Applications. As a PeopleSoft Administrator, Elastic Search lifted off from the me the burden of maintaining SES search.  Elastic Search is fast to install and so easy to implement and almost zero maintenance. 
 
PeopleSoft Search Framework integrates with Elasticsearch to allow for high availability, failover, and scalable search deployments for PeopleSoft users 
 
The searches implemented in SES can be easily built in ElasticSearch, just Undeploy  - Re-Deploy and Rebuilt. 
 
Taking control fo the logs can also be done with ElasticSearch 
 
 
Advantage of moving to Elastic Search 
  • Better crawl and search capabilities and performance 
  • Better resource utilization 
  • Easy to install and maintain 
More to come...