Posts

Updating bashrc file in Ubuntu

Update bashrc file for to default required path variables, xclock setup etc. I find this is clean way then setting up or updating path variables under each user profile unless it is mandatory. This is clean way for sandbox setup at least not for production though. .bashrc file location: /etc/bash.bashrc ####Sirish Reddy: Settings ######## PATH=/u01/app/jdk1.6.0_25/bin:$PATH export LANG=en_US xhost local:oracle xhost local:sirishg xhost local:apache

"Mayor Billy Kenoi, of Hawai'i Island, at HPU's commencement" on YouTube

Image

How To Learn Anything in 20 Hours

Image
Here is the interesting video I came across which teach the logic on how to learn anything in 20 Hours, Interesting... 

Setting up VisualVM from Sterling Integrator

1. Download  VisualVM      https://java.net/projects/visualvm/downloads/download/release138/visualvm_138.zip 2. Find the value of the property called  ACTIVEMQ_JMX_PORT from sandbox.cfg. 3. Add Remote Host First and under Remote Host add Add JMX Connection.      < SI HOST Name >:< ACTIVEMQ_JMX_PORT >     No need of providing user credentials and Save the connection. 

Enable External Purge in Sterling Integrator

Starting an External Purge Procedure If you have a cluster installation, make sure that you are not running the external purge on another node of the cluster. If you are running the external purge on more than one node, it will cause database locks. For more information, see  Monitoring an External Purge . Important:  It is the customer's responsibility to keep exactly one of these external purge processes running in the cluster. If you need to shut down the hardware that is running the external purge, you must run the external purge on a different node. Disable the default Purge service. Click  Deployment  >  Schedules , search for PurgeService, and then clear the  Enabled  checkbox for PurgeService. Note:  If you have customized the Schedule_PurgeService business process, you need to add your customized code to the new Schedule_PurgeService business process. The new Schedule_PurgeService business process includes a warning mess...

Remote FTP Directory Sync using lftp

http://www.cyberciti.biz/faq/lftp-mirror-example/ $lftp user@my.ftp.com $ mirror -c source target Reverse Sync to Server: Change local directory to  where you saved the files /home/somedirectory $ lcd /home/somedirectory $ mirror -R

Enterprise Logging with Logstash

Basic Flow of Logstash? LS Agent(s) (Installed on App Server(s)) --> RabbitMQ --> LS Server --> Elasticsearch Server <-- Kibana <-- end user. So which scripting language is recommended to parse the logs or data? There is a bunch of plugins for logstash but mostly we use the grok filter. https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html It takes grok expressions which can be the special grok or even ruby regexes with named captures. If you need help building patterns to match your logs, you will find the http://grokdebug.herokuapp.com and http://grokconstructor.appspot.com/ applications quite useful! We need to include Puppet in setup or we can manage with out puppet? Puppet manages LS Agents on all servers. We create filters and apply them based off the server hostgroup and also input files. Videos on Logstash: https://www.youtube.com/watch?v=96og3aIgyrc https://www.youtube.com/watch?v=Kqs7UcCJquM htt...