Have You Tried Turning It Off And On Again?
"The IT Crowd"
Undoubtedly, IBM support are good guys but they have not enough a fantasy, a flight of mind, an imagination. They are limited by official guides and reglaments.
Not so long ago they created a new portal named dwAnswers, and now they are inventing questions and answering themself on them.
Yesterday I saw a good question and the typical answer of IBM support. Let's look at it:
I need to modify the hostname of my physical machine / virtual machine.And the answer:
Which steps do I have to follow to change the hostname in the configuration of my IBM Business Process Manager environment?
Currently, the IBM Business Process Manager does not support to change the hostname in an already configured BPM environment as the hostname is stored in too many configuration files and database tables.The author, sit down, you get the bad mark!
It is also not supported to clone a virtual machine image with an already configured BPM environment and adjust the hostname there.
You have to install and configure BPM in the new environment from scratch.
OK, let's help the poor guy don't stay in class after school.
I have got:
IBM BPM Advanced 8.5.5 Process Center with Oracle 11g DB on SLES.
One cluster, one node. Server has name by default: linux-hfu7.
I don’t like this name and I want to rename it to bpmpc01.
My environment is working:
1. For any case do the full resynchronizing.
2. Stop the environment.
3. Stop Oracle DB.
4. Change the hostname
wasadmin@bpmpc01:~> ping bpmpc01
PING bpmpc01 (192.168.214.137) 56(84) bytes of data.
64 bytes from bpmpc01 (192.168.214.137): icmp_seq=1 ttl=64 time=0.026 ms
64 bytes from bpmpc01 (192.168.214.137): icmp_seq=2 ttl=64 time=0.030 ms
5. I use the good guide http://java.boot.by/ibm-317/apas02.html
wasadmin@bpmpc01:/ibm/bpm85/bin> ./wsadmin.sh -conntype NONE -lang jython
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7031I: For help, enter: "print Help.help()"
6. We have two nodes: dmgrNode and serverNode. So you need change hostname in both. Let's do it.
wsadmin>AdminConfig.modify('(cells/linux-hfu7Cell01/nodes/linux-hfu7CellManager01|serverindex.xml#ServerIndex_1)', "[[hostName bpmpc01]]")
wsadmin>AdminConfig.modify('(cells/linux-hfu7Cell01/nodes/linux-hfu7Node01|serverindex.xml#ServerIndex_1)', "[[hostName bpmpc01]]")
6. Start Deployment Manader
7. Open ISC and change the hostname in Virtual Hosts on every server (include DM, NA)
8. Do the command:
./syncNode.sh localhost <port> -username <name> -password <password>
9. Change listener and network service configuration for Oracle and start Oracle.
10. Change the hostname for REST services using ISC.
11. Change the hostname in BPM configuration files (99Local etc, about 6 links).
12. Do the full resynchronizing.
13. Start NA and Deployment Environment.
14. Create new certificates for WAS. I don't describe this process because to describe it takes me much time than do it. There is no interesting here. May be next time. You must create new root certificate, new certificates for nodes and add them into trust stores.
15. At last - full restart of environment, NA, DM.
16. The result is:
We see the new hostname in the address bar and our BPM works.
It took me only 40 minutes of clear time.