On the Control-M Workload Change Manager web interface the "View schedule" button is grayed out, even when Control-M/Forecast is activated. |
The GUI Server used by Workload Change Manager is on a different naming context than Forecast. In the wcm_web.log, you can see the GUI Server used by Workload Change Manager and that it cannot find "ForecastService". For example, on the next lines you can see that Workload Change Manager is connected to the GUI Server "GUI-1": 2017-09-08 03:04:28,155 | INFO | Server | | | null | GuiServer() | namingServer: emserver namingPort: 13075 guiServer: GUI-1 2017-09-08 03:04:28,155 | INFO | Server | | | null | GetWcmConfigFolder | Invoke Method 2017-09-08 03:04:28,171 | INFO | Server | | | null | GetWcmConfigFolder | Invoke Method 2017-09-08 03:04:29,624 | INFO | Server | | | null | read_reference_from_ns | ForecastService is not available org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0 Checking the output of "orbadmin ns list" on the Control-M/Enterprise Manager server we can see that Forecast doesn't exist under the "GUI-1" naming context, there's only one GUI Server registered under that naming context: GUI-1: naming context GSR: naming context XMLInvoker: object reference: Protocol: IIOP, Endpoint: emserver:XXXX Forecast exists under the "GUI-2" naming context. GUI-2: naming context GSR: naming context XMLInvoker: object reference: Protocol: IIOP, Endpoint: emserver:XXXX Forecast: naming context RequestSubmitter: object reference: Protocol: IIOP, Endpoint: emserver:XXXX We need to bind Control-M Workload Change Manager to the GUI Server under the naming context that contains Forecast, by doing this Control-M Workload Change Manager will be able to find Forecast. 1. On Control-M/Enterprise Manager navigate to: Windows: "Program Files\BMC Software\Control-M EM 9.0.00\Default\etc" UNIX\Linux: <EM Home>/ctm_em/etc 2. Do a backup of the "WorkloadChangeManager.cfg" file, open it with a text editor and change the next line: From: GuiServer=localhost To: GuiServer=GuiServerName For the example described before, we will need to set it to GUI-2. Example: GuiServer=GUI-2 3. Save the file and recycle the Web Server from the Control-M Configuration Manager. 4. Validate that the "View Schedule" button is available on Control-M Workload Change Manager web interface. |