RAFW. New server defs for existing Cell Environment
Hello,
for BF/RAFW 7.1.1.4; I know there's no way to add new servers definition to an existing cell environment created with the "Read Existing Cell Definition", but manually creating the files and directories. However, could it be possible to follow this other procedure?: 1. Backup cell definition File System in RAFW server 2. Re-run the "Read Existing Cell Definition" with the same environment name (so all BF projects and environment variables won't change) 3. Copy back all the propertie files that were present in the previous Cell Definition is there anything I'm missing? Anything that could collide following this recreation process? Thanks in advance for your help. Regards, Jorge. |
4 answers
Jorge,
Good question, this set of steps should provide what you are looking for. Your set of steps is close, but essentially you want to replace the xml files, the only properties files you want to bring back into the newly created environment are the application deployment properties files. ************************************************************* Using the zip and env gen wizard approach ************************************************************* Starting topology Cell with dmgr and 2 managed nodes, node01 and node02 1 cluster (named cluster) with 1 app server on each node added a new cluster named newcluster, with 2 app serves 1 on each node. From the rafw_home/user/environments directory * Create a zip of the environment as it currently is zip -r test_was01-was70_nd_cell.zip TEST_WAS01/cells/was70_nd_cell * Save the zip file, you could also just place it somewhere else in the previous step mv test_was01-was70_nd_cell.zip ~ * Create a new cluster using the WAS admin console * Run the existing cell wizard again to import the new cell topology or use the GUI wizard bin/rafwEnvBuild.sh -i -existing * Unzip the saved file, but exclude all of the .properties files unzip ~/test_was01-was70_nd_cell.zip -d . -x */*.properties * Unzip the properties files in the apps/properties directory unzip ~/test_was01-was70_nd_cell.zip TEST_WAS01/cells/was70_nd_cell/apps/properties/* -d . |
Hello Tim,
that's it, I meant the deployment properties files :) On the other hand, why do I need step #5 of unzipping the saved environment? I guess that in the case I haven't modified anything from the original first read of the cell environment, I can avoid this step and go directly to unzipping the properties files in the apps directory, right? Thanks! Jorge. |
Yes, you certainly could. The reason for doing the other files is if you've pulled in configuration files for the cell already. For example if you ran the Project that gets created by the existing cell wizard, it will run was_common_configure_all at all scopes. That's a whole lot of resource data you don't want to lose if you're just trying to add a node/cluster/server etc.
--tim |
Got it!
Thanks a lot for your help Tim. Regards, Jorge. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.