por Miguel | Mar 15, 2018 | openldap
While copying some ldap databases to another environment I faced several issues, here I’ll leave a list of useful things to do/check everytime we need to perform this kind of task. Because I’m working with LDAP 2.4 you’ll notice that I’m using...
por Miguel | Feb 8, 2018 | bash, linux
I’ve found two easy ways to round up «ceiling» float numbers with bash. Simply add «0.5» to your floating number and use printf: myfloating=$(echo «14.1129312938+0.5» | bc ) printf ‘%0.f’ $myfloating 15 Or use awk: $myfloating=14.1 echo «$myfloating»...
por Miguel | Ene 23, 2018 | linux
This procedure also worked for me with Asus T103H (next model of T102H). Installing Debian We must consider this device has UEFI, so the bootable pendrive must be created accordingly to it. I followed this procedure and worked great: You can do something like the...
por Miguel | Ene 15, 2018 | oracle, python
Module to compile SOA composites #!/usr/bin/python #miguel.ortiz import os, sys, time import subprocess compositeRealPath = ‘C:/Users/m.ortiz/.babun/cygwin/home/m.ortiz/repo/SOA/SomeService’ scAntpath =...
por Miguel | Oct 20, 2017 | wlst
Using this script I’ve extended its functionality to list all the JMS resources which are: List all JMS Modules: cmo.getJMSSystemResources() JMS Submodules List all Connection Factories: .getConnectionFactories() List all Distributed Topics: distTopic.getName()...
por Miguel | Oct 11, 2017 | wlst
This one is quite simple, here’s a script to list all the persistent file stores from a weblogic using WLST. With ls() you can list all the tree and get an property from it using get(). How to use this script: <MIDDLEWARE_HOME>/soa/common/bin/wlst.sh...
por Miguel | Oct 11, 2017 | wlst
I wanted to retreive all the information from weblogic datasources using WLST such as: Name JNDI Name Connection Pool parameters: URL Driver Class Name Properties passed to the JDBC Driver SetStreamAsBlob Initial Capacity Maximum Capacity I’ve written a script...
por Miguel | Ago 28, 2017 | wlst
Basically we must obtain a list of sca_ resources deployed in our servers, some of them are clusters, although some use different IP/Ports the tool keeps the same. The main document can be found here in the Oracle webiste. Basically, there are two main functions to...
por Miguel | Ago 23, 2017 | oracle, python
If you have Oracle OSB 11.1.1.7.0 or higher this document will help you to automate the compilation process for OSB at project level. Pre-requisites (what I have installed in my environment «for Linux it’s the same, just change the installers and use the...
por Miguel | Ago 7, 2017 | jenkins
Configuring a remote repository from bitbucket into Jenkins is quite simple. Verify you’ve installed the git plugins and everything is up-to-date: Create a new free-style project Configure the project In this step I opted adding my credentials into the URL in...