199 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
IBM Business Process Manager 8.5.7 Cumulative Fix 2017-06 Released
Fri, Jun 23rd 2017 72
IBM Redbook - Governing Operational Decisions in an Enterprise Scalable Way
Wed, Jun 21st 2017 51
NullPointerException seen when using BPMConfig.sh to create a second IBM BPM Deployment Environment
Mon, Jun 19th 2017 37
IBM BPM and DB2 and Permissions and Users and So On and So Forth :-)
Mon, Jun 19th 2017 29
WebSphere Liberty - Single Sign-On
Sat, Jun 17th 2017 41
WebSphere Liberty Collectives - Deploying Node.JS using REST
Fri, Jun 16th 2017 32
Node.JS - Unknown SSL protocol error
Fri, Jun 16th 2017 31
Top 10
IBM Business Process Manager 8.5.7 Cumulative Fix 2017-06 Released
Fri, Jun 23rd 2017 72
Transport Layer Security (TLS) 1.2 and SoapUI
Fri, Jun 12th 2015 59
IBM Redbook - Governing Operational Decisions in an Enterprise Scalable Way
Wed, Jun 21st 2017 51
Executing external Python/Jython scripts from within WebSphere Application Server's wsadmin tool
Thu, Feb 27th 2014 46
WebSphere Liberty - Single Sign-On
Sat, Jun 17th 2017 41
NullPointerException seen when using BPMConfig.sh to create a second IBM BPM Deployment Environment
Mon, Jun 19th 2017 37
Hmmmm, HTTP404 and SRVE0190E seen with IBM HTTP Server and WebSphere Application Server
Fri, Nov 14th 2014 34
Hmmm, macOS Sierra and XQuartz and X11
Thu, Oct 27th 2016 34
IBM HTTP Server / IBM WebSphere Plugin - Using Transport Layer (TLS) 1.2
Tue, Nov 10th 2015 33
WebSphere Liberty Collectives - Deploying Node.JS using REST
Fri, Jun 16th 2017 32


Red Hat Enterprise Linux 7 - Driving Network Manager via Command-Line
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

This is definitely a WIP, and results from my experiences with Red Hat Enterprise Linux 7.3, which does networking subtly differently to older versions of RHEL.

Having restored a VM from an OVA export ( using VMware Fusion on macOS ), I realised that I no longer had any network connectivity, even though the VM configuration hadn't changed.

I saw this from the VM console, whilst logged in as a root.

Firstly I checked the IP stack with ifconfig : -

ifconfig -a

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 00:50:56:38:a3:ca  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0  KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 4  bytes 340 (340.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 340 (340.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


So I've got an Ethernet interface - ens33 - which has no IP address.

Using Network Manager CLI, I checked the connection: -

nmcli connection

NAME         UUID                                  TYPE            DEVICE 
eno16777736  13756690-ac77-b776-4fc1-f5535cee6f16  802-3-ethernet  

which showed that the internal connection ( eno16777736 ) wasn't mapped to the ens33 interface.

This is easily resolved: -

nmcli connection modify eno16777736 connection.interface-name ens33

where I join the connection to the interface.

Now ifconfig shows a pukka IP address: -

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.153.130  netmask 255.255.255.0  broadcast 192.168.153.255
        inet6 fe80::20c:29ff:fefe:a16a  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:fe:a1:6a  txqueuelen 1000  (Ethernet)
        RX packets 127  bytes 15722 (15.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 84  bytes 11401 (11.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 4  bytes 340 (340.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 340 (340.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


The actual IP configuration is, as before, handled via a script: -

/etc/sysconfig/network-scripts/ifcfg-eno16777736

TYPE="Ethernet"
BOOTPROTO="dhcp"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="eno16777736"
UUID="28ca0f72-3f90-41d1-a2f7-5ec6ea5fffbc"
DEVICE=ens33
ONBOOT="yes"
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes


which shows that the connection is using DHCP.

If I wanted to allocate a static IP address, I'd change the file as follows: -

TYPE="Ethernet"
BOOTPROTO="static"
IPADDR=192.168.153.133
NETMASK=255.255.255.0
GATEWAY=192.168.153.2

DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="eno16777736"
UUID="28ca0f72-3f90-41d1-a2f7-5ec6ea5fffbc"
DEVICE=ens33
ONBOOT="yes"
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes


and restart the network service: -

service network restart

Restarting network (via systemctl):                        [  OK  ]

we now have this: -

ifconfig ens33

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.153.133  netmask 255.255.255.0  broadcast 192.168.153.255
        inet6 fe80::20c:29ff:fefe:a16a  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:fe:a1:6a  txqueuelen 1000  (Ethernet)
        RX packets 961  bytes 88811 (86.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 539  bytes 75366 (73.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

So, to conclude, we have an interface - ens33 - and a Network Manager connection - eno16777736 - and NMCLI can show the join: -

nmcli connection

NAME         UUID                                  TYPE            DEVICE 
eno16777736  28ca0f72-3f90-41d1-a2f7-5ec6ea5fffbc  802-3-ethernet  ens33  

Thanks to this: -


and this: -


for inspiration.

For the record, at some point, I also had to do this: -

Map physical connection to interface

nmcli connection add type ethernet con-name ens33 ifname eth0

but I can't recall precisely how/why I got there, so we'll bank that for now :-)


---------------------
http://portal2portal.blogspot.com/2017/02/red-hat-enterprise-linux-7-driving.html
Feb 08, 2017
7 hits



Recent Blog Posts
72
IBM Business Process Manager 8.5.7 Cumulative Fix 2017-06 Released
Fri, Jun 23rd 2017 6:28p   Dave Hay
What's New in IBM Business Process Manager V8.5.7 Cumulative Fix 2017.06Update to IBM BPM V8.5.7 Cumulative Fix 2017.06 to experience all of the highlights, such as these added abilities and improvements:IBM BPM on Cloud • Reduce overhead and downtime for client applications by using the new service accounts for password administrationIBM BPM • Develop user interfaces more easily • Get usage metrics by using IBM Cloud Product Insights • Determine artifact usage in the web IBM Process De
51
IBM Redbook - Governing Operational Decisions in an Enterprise Scalable Way
Wed, Jun 21st 2017 9:25a   Dave Hay
Penned, in part, by two of my immediate colleagues in the IBM Professional Cloud Services here in the UK :-) This IBM® Redbooks® publication introduces operational decision governance and describes in details how to implement it using the IBM Operational Decision Manager (ODM) platform. ODM allows businesses to automate and manage day to day operational decisions. It provides an integrated repository and management components for line-of-business, subject-matter experts to directly participate
37
NullPointerException seen when using BPMConfig.sh to create a second IBM BPM Deployment Environment
Mon, Jun 19th 2017 3:02p   Dave Hay
I saw this earlier whilst attempting to create a second Deployment Environment, of type Process Server, within an existing BPM Advanced 8.5.7 cell, which already had a Process Centre Deployment Environment therein: -/opt/ibm/WebSphere/AppServer/bin/BPMConfig.sh -create -de /mnt/ResponseFiles/Advanced-PS-ThreeClusters-DB2.propertiesLogging to file /opt/ibm/WebSphere/AppServer/logs/config/BPMConfig_20170619-153221.log.The 'BPMConfig.sh -create -de /mnt/ResponseFiles/Advanced-PS-ThreeClusters-DB2.
29
IBM BPM and DB2 and Permissions and Users and So On and So Forth :-)
Mon, Jun 19th 2017 2:57p   Dave Hay
I've seen this exception: -com.ibm.db2.jcc.am.SqlSyntaxErrorException: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=DB2USER1.LSW_SYSTEM_SCHEMA, DRIVER=4.18.60before, as per these posts: -IBM BPM to DB2 - You WILL respect my authorityIBM BPM 8.5.0.1 - Booting the BootstrapHowever, this time it's subtly different.gives us an SQL exception code, which DB2 can debug for us: -db2 ? SQL0204which returns: -SQL0204N "" is an undefined name.Note t
41
WebSphere Liberty - Single Sign-On
Sat, Jun 17th 2017 5:31a   Dave Hay
This is on my reading list: -Cross-domain single sign-on using SAML 2.0 with WebSphere Liberty, Part 1 - Configure a service provider-initiated SSO with identity propagationCross-domain single sign-on using SAML 2.0 with WebSphere Liberty, Part 2 - Set up a secure hybrid cloud environment with IBM BluemixCross-domain single sign-on using SAML 2.0 with WebSphere Liberty, Part 3 - Integrate Microsoft Windows authentication by using SPNEGOMust get around to it Source: https://en.wiktionary.org/wiki
32
WebSphere Liberty Collectives - Deploying Node.JS using REST
Fri, Jun 16th 2017 8:19p   Dave Hay
This is definitely a Work-In-Progress …..Using this as input: -Deploying Node.js servers using deployment REST APIsI started by using a REST client within Chrome ( called Restlet ): -with this JSON as input: -{ "rule":"Node.js Server Rule", "hosts":["wlpn.uk.ibm.com"], "variables": [ { "name":"applicationPackage","value":"helloworld-1.0.0.tgz" }, { "name":"serverName", "value":"Server1" }, { "name":"clusterName", "value":"Cluster1" }, { "name"
31
Node.JS - Unknown SSL protocol error
Fri, Jun 16th 2017 3:34p   Dave Hay
So I've been tinkering with HTTPS servers in Node.JS, and was following this thread: -How to create an https server?which has one create a public/private key pair, and then generate a self-signed certificate.Having done this, I created a simple server: -server.js var http = require('https');var fs = require('fs'); var options = { key: fs.readFileSync('key.pem'), cert: fs.readFileSync('cert.pem')};var server = http.createServer(options, function(req, res) { res.writeHead(200); re
30
IBM Rational Software Architect Designer on macOS - java.lang.RuntimeException: No application id has been found.
Fri, Jun 16th 2017 2:46p   Dave Hay
I hit this today: -having installed IBM Rational Software Architect Designer 9.6 on my Mac.Looking at the log: -cat /Users/davidhay/.eclipse/org.eclipse.platform_4.6.1_443275834_macosx_cocoa_x86_64/configuration/1497623600763.log.!SESSION Fri Jun 16 15:33:20 BST 2017 ------------------------------------------!ENTRY org.eclipse.equinox.launcher 4 0 2017-06-16 15:33:20.767!MESSAGE Could not find extension: com.ibm.cds!SESSION 2017-06-16 15:33:20.690 -----------------------------------------------e
20
WebSphere Liberty Profile - 17.0.0.2 is out ....
Wed, Jun 14th 2017 5:47a   Dave Hay
From this: -Recommended updates for WebSphere Application Serverwe have this: -17.0.0.2: WebSphere Application Server Liberty 17.0.0.2Readme for IBM WebSphere Application Server Liberty 17.0.0.2Fix list for IBM WebSphere Application Server Liberty - Continous DeliveryDownloaded it, installed it, using it ( for a Collective Controller to manage NodeJS runtimes !! )So #LifeIsGood
7
After Atom on Centos, Atom on Ubuntu is soooo much easier
Thu, Jun 8th 2017 9:45a   Dave Hay
After yesterday's post: - Using Atom Text Editor on CentOS Linux doing it on Ubuntu is SOO much easier: - Download it wget https://atom.io/download/deb Install it sudo dpkg --install /home/hayd/Downloads/atom-amd64.deb Fix up the dependencies ( including Git ) sudo apt-get -f install Use it atom Job's a good 'un




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition