Posts

Installing RHEL 9 on Synology Virtual Machine Manager (The Easy Way)

If you tried installing RHEL 9 on Synology VMM , you probably hit this nightmare: Installer freezes waiting for multipath siblings of sda Kernel panic “Unable to mount root fs” Black screen forever I spent hours figuring this out. This guide will save you that pain and help you create a Golden Template so you only install once and clone forever. Why RHEL Fails on Synology VMM Synology VMM uses simplified KVM virtualization. RHEL assumes enterprise SAN storage and enables multipath disk detection by default. Synology presents a single virtual disk → RHEL thinks it’s a SAN disk → installer waits forever for extra disk paths → boot fails. The fix is simple once you know it. Step 1 — Create the VM with Correct Settings Create a new VM in Synology Virtual Machine Manager . Use these settings: General OS Type: Linux Version: Other Linux CPU & Memory CPU: 2 vCPU minimum (4 recommended) RAM: 4 GB minimum (8 GB ideal) Boot Mode (IMPORTANT) Use BIOS / Legac...

Java Task Service - Sterling Integrator

import com.sterlingcommerce.woodstock.workflow.Document; import java.io.InputStream; import java.io.InputStreamReader; import java.io.BufferedReader; Document doc = wfc.getPrimaryDocument(); Document outPutDoc = wfc.newDocument(); ; InputStream inS = doc .getInputStream(); BufferedReader br = new BufferedReader( new InputStreamReader( inS )); String strData = “<SampleData>” ; String strLine; while ((strLine = br .readLine()) != null ) {     strData = strData.concat(strLine); } br.close(); strData = strData + “</SampleData>”; outPutDoc. setBody( strData .toString().getBytes()); wfc.putPrimaryDocument( outPutDoc );

System Design Techniques

1. Read-Heavy System: Consider using a cache. 2. Low Latency Requirement: Utilize cache and CDN. 3. Write-Heavy System: Use message queues for async processing. 4. ACID Compliance: Opt for RDBMS or SQL Database. 5. Unstructured Data: Choose NoSQL Database. 6. Complex Data (Videos, Images, Files): Go for Blob/Object storage. 7. Complex Pre-computation: Use Message Queue & Cache. 8. High-Volume Data Search: Consider search index or search engine. 9. Scaling SQL Database: Implement Database Sharding. 10. High Availability, Performance, & Throughput: Use a Load Balancer. 11. Global Data Delivery: Employ a CDN. 12. Graph Data: Utilize Graph Database. 13. Scaling Various Components: Implement Horizontal Scaling. 14. High-Performing Database Queries: Use Database Indexes. 15. Bulk Job Processing: Consider Batch Processing & Message Queues. 16. Server Load Management: Use a Rate Limiter. 17. Microservices Architecture: Utilize an API Gateway. 18. Redundancy for Single Point of Fail...

Product Management Articles

PM interview preparation 1. The only thing that matters by Marc Andreessen : https://lnkd.in/dHYmqkRd 2. Relentlessly resourceful by Paul Graham : https://lnkd.in/d9nGPSFJ 3. Product Management mental models for everyone by Brandon Chu : https://lnkd.in/dzMx4JfW 4. The first principles of product management by Brandon Chu : https://lnkd.in/d4YS_fHi 5. 12 things about product market fit : https://lnkd.in/dyuHB3PC 6. The Minimum Viable Product Manager : https://lnkd.in/d32aBj_y Design thinking process 1. How would you design an interface for a 1000 floor elevator? : https://lnkd.in/dWx2Khxz Building great culture as a PM : 1. How to work with engineers by Julie Zhou : https://lnkd.in/dyY6HsYC 2. How to work with designers by Julie Zhou : https://lnkd.in/dbZCH4cm Execution and Prioritization 1. The time value of shipping by Brandon chu : https://lnkd.in/dvHVpG7D 2. Deadlines by Brandon chu : https://lnkd.in/dNS7ApXh Defensible growth 1. Do things...

Work on Yourself

Image
 

Books

Here are the some of the Best book collections,  High Performance Habits: How Extraordinary People Become That Way , Hardcover  Getting Things Done : The Art of Stress-Free Productivity by David Allen 52 Red Pills You Can't Order Change The 7 Habits of Highly Effective People Rich Dad Poor Dad  The 4 Hour Work Week High Performance Habits Read People Like a Book Getting Things Done The 80/20 Principle Holy Cow  

Update sharedLocation in InstallationManager (IBM Sterling B2B Integrator)

First of all the following value has to be unique to each install of Sterling Integrator. If you accidentally used shared location for cluster installation your second node installation not going to work. So here is how we can fix this. 1. Go to user home and move $USERHOME$/IBM/IBMSHARED to new local location. 2. Update the reference in  /home/user/var/ibm/InstallationManager/installRegistry.xml           That's it. This will fix First node IBMSHARED location and we can proceed with second node installation. How to verify? 1. Go to InstallManager tools     cd /InstallationManager/IM_Linux/tools  2. ./imcl listInstalledPackages -verbose Validate the output something like below, [Shared] Shared resources directory: /opt/ibm/IBMIMShared [Package group] Name: Sterling Integrator Installation directory: /opt/ibm/sfg Translations: Architecture: 64-bit [Package] Name: IBM Sterling B2B Integrator (com.ibm.sterling.in...

Enable CBC Ciphers in B2Bi v5.2.6.4, B2Bi v6.0, SFG v2.2.6.4 and SFG v6.0

Some of the IBM Sterling B2B Integrator(SI) customers wants to avoid SSH handshake using CBC Cipher as it is vulnerable. The link  http://www.kb.cert.org/vuls/id/958563  explains that CBC Ciphers are security vulnerable and the solution is to use CTR Cipher instead of CBC Cipher. However, in SI versions 5020602 and 5020603, maverick (the third party api used for SSH/SFTP) version used is 1.4.60 which mandates that CBC Cipher should be present in Client side. Hence, disabling the CBC support using the security property supportCBCCiphers=false will result in SFTP communication failure with key based authentication. To enforce the use of CTR Cipher in SI, we have introduced two new properties : SSHServerCipherList, SSHClientCipherList a) security.SSHServerCipherList is the property to restrict the list of server side ciphers. In the SFTP Server adapter, "Preferred Cipher" drop down will pick the values specified in this property list. b) security.SSHClientCipherList is...

PGP - Generate Import Export PGP Keys

Generate PGP Keys gpg --gen-key Enter Key details, Email, Expiration etc., Export Secret Key gpg --export-secret-key -a MY_PGP_KEY >> /tmp/MY_PGP_KEY.key Export Public Key gpg --export -a MY_PGP_KEY >> /tmp/MY_PGP_KEY.asc Import Secret Key gpg --import /tmp/MY_PGP_KEY.key Import Public Key gpg --import /tmp/MY_PGP_KEY.asc Update Key Trust Trust after importing the Key gpg --edit-key $trust $5 $save

Update SSH Config to accept ssh-dss Key

Add the following lines of code to the file called config under .ssh folder, If you don't find a file with the name config create one, .ssh\config Host * HostkeyAlgorithms +ssh-dss PubkeyAcceptedKeyTypes +ssh-dss Note: When server respond with ssh-dss some ssh clients don't accept the connection. If you get ssh returns “Bad owner or permissions on ~/.ssh/config” then please change the permissions as follows, chmod 600 ~/.ssh/config

Generate Self-Sign Certificate with SHA512

openssl req -newkey rsa:2048 -sha512 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem openssl x509 -text -noout -in certificate.pem openssl pkcs12 -inkey key.pem -in certificate.pem -export -out certificate.p12 openssl pkcs12 -in certificate.p12 -noout -info openssl pkcs12 -inkey key.pem -in certificate.pem -export -out certificate.p12 openssl pkcs12 -in certificate.p12 -noout -info openssl pkcs12 -in /tmp/certificate.p12 -nokeys -out sirish_test.cer

Sterling Integrator User, Workflow Queries

Active Worksflows in Sterling Integrator select DISTINCT NAME , WC2.WORKFLOW_ID, sysdate - START_T AS TIMEDIFF From WORKFLOW_CONTEXT WC, ( SELECT MAX(STEP_ID) STEP_ID , MIN(START_TIME) START_T, WORKFLOW_ID FROM WORKFLOW_CONTEXT GROUP BY WORKFLOW_ID ) WC2, WFD WHERE WC.WORKFLOW_ID = WC2.WORKFLOW_ID AND WC.STEP_ID = WC2.STEP_ID AND WC.NEXT_AI_ID != -1 AND WC.WFD_ID = WFD.WFD_ID AND WC.WFD_VERSION = WFD.WFD_VERSION AND BASIC_STATUS = 0 Sterling Integrator User & User Associated Groups List  select YFS_USER.LOGINID, YFS_USER_GROUP.USERGROUP_NAME from YFS_USER, YFS_USER_GROUP, YFS_USER_GROUP_LIST where YFS_USER.USER_KEY=YFS_USER_GROUP_LIST.USER_KEY and YFS_USER_GROUP.USERGROUP_KEY=YFS_USER_GROUP_LIST.USERGROUP_KEY

SSHKeyGrabber in Sterling Integrator not working

http://www-01.ibm.com/support/docview.wss?uid=swg21628336 Sometimes SSHKeyGrabber don't work when we trying to extract Known Host Key from Sterling Integrator UI. The work around for this is disable StrictHostKeyChecking and download the Key from Linux/Windows and Check in the key to Sterling Integrator. $ssh -o StrictHostKeyChecking=no user@sftp.host.com -p 22 Above command will save host key to known_hosts file located .~/.ssh/known_hosts Note: Remove excess content from host key and just keep the key from ssh-rsa followed the key. 

B2BI MESA API/JAR's for Custom Service Development

asset.jar b2b_aee.jar b2b_base.jar b2b_oba.jar ebics.jar entities.jar gis.jar install_foundation.jar mailbox.jar maverick-all.jar perimeter.jar platform_activemq.jar platform_activity.jar platform_afc.jar platform_afc_security.jar platform_aop.jar platform_asi.jar platform_baseutils.jar platform_dv.jar platform_ifcbase.jar platform_ifcui.jar platform_osgi.jar platform_security.jar platform_services.jar resources.jar soap.jar standards.jar translator.jar

Launching ikeyman from IBM JDK

Navigate to IBM JDK bin directory and execute the following command, C:\Sirish\Softwares\ibm_sdk80\bin>java com.ibm.gsk.ikeyman.Ikeyman

Integration Concepts

Amazon EC2 (Amazon Elastic Compute Cloud)? Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage. Amazon EC2 enables you to scale up or down to handle changes in requirements or spikes in popularity, reducing your need to forecast traffic. Amazon S3? Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S3 has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global ...

Wake up before your competition do!

Image
Some inspiration from 5AM group on Facebook You might not have a competitive advantage over your competition and maybe you don't have all the tools and resources to play with the big boys in your industry. ~ But one thing you do have is the ability to out work your competition! ~ You don't need to come up with anymore excuses about why you aren't where you want to be, what you need to do is get up earlier, show up and show the world you're not here to make up the numbers and be another statistic! ~ If you're not prepared to out work your competition and wake up before 5am every single day then maybe it's time to ask yourself how serious you are about your goals and dreams! ~ Stop doing normal things and stop performing at average levels because that is exactly why you aren't where you want to be... ~ Be unusual, be abnormal, be obsessed, be prepared to wake up at 4:00am and work harder than anyone you've ever met because that is the only way you're e...

Grab Known Host Key From Remote SFTP Server in OpenSSH Format

1. Get the host key by running this command: ssh-keyscan > /tmp/ssh_out.openssh 2. Convert the host key format by running this command: ssh-keygen -l -f /tmp/ssh_out.openssh

Watch "Webinar : Practical SOA for the Solution Architect" on YouTube

https://www.youtube.com/watch?v=1KXKppaOgtY&feature=youtu.be

Determine Which version of Windows Installer is installed

To determine which version of Windows Installer is installed on a computer, follow these steps: 1) Click Start, click Run, type %systemroot%\system32, and then click. OK. 2) Right-click Msi.dll, and then click. Properties. 3) Click the Version tab, and then note the File version number.