After running 'pw ha enable': INFO 03/21 17:15:01 Library 600002 ++++++++++++++++ HA_CLI ++++++++++++++++++++++++ INFO 03/21 17:15:06 Library 600002 ++++++++++++++++ HA_CLI ++++++++++++++++++++++++ INFO 03/21 17:15:06 Library 600002 ++++++++++++++++ HA_CLI ++++++++++++++++++++++++ ERROR 03/21 17:15:07 jservlets 360715 Exception: java.rmi.ConnectException: Connection refused to host: <host name>; nested exception is: java.net.ConnectException: Connection refused (Connection refused) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at java.rmi.Naming.lookup(Naming.java:101) at com.proactivenet.server.ClientPlatform.newPlatformFactory(ClientPlatform.java:378) at com.proactivenet.server.ClientPlatform.initRMI(ClientPlatform.java:330) at com.proactivenet.server.ClientPlatform.<init>(ClientPlatform.java:129) at com.proactivenet.apps.cmd.ha.CmdHA.enableCmd(CmdHA.java:215) at com.proactivenet.apps.cmd.ha.CmdHA.runCommand(CmdHA.java:104) at com.proactivenet.apps.cmd.ha.CmdHA.main(CmdHA.java:1562) Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:211) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613) ... 11 more INFO 03/21 17:15:07 Invalid Successfully configured Active MQ file operations. null ERROR 03/21 17:15:07 Invalid Unable to read the file [/bmc/TrueSight/pw/custom/conf/ha.conf] Missing Resource String ERROR 03/21 17:15:07 Invalid Unable to read the file [/bmc/TrueSight/pw/custom/conf/ha.conf] Missing Resource String INFO 03/21 17:15:07 Invalid getCellConfiguration() CellName:<cell name> null ERROR 03/21 17:15:07 HA_CLI com.proactivenet.apps.cmd.ha.CmdHA java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:459) at com.proactivenet.apps.cmd.ha.FileManagerUtil.getDefaultProperties(FileManagerUtil.java:138) at com.proactivenet.apps.cmd.ha.CmdHA.enableCmd(CmdHA.java:315) at com.proactivenet.apps.cmd.ha.CmdHA.runCommand(CmdHA.java:104) at com.proactivenet.apps.cmd.ha.CmdHA.main(CmdHA.java:1562) |
The error "Invalid getCellConfiguration() CellName:<cell name> null" suggests that something is wrong with the <cell name> entry in mcell.dir. The entry needs to be separated by tab characters and not space characters. It will fail with the above error if space characters are used. Detecting tabs vs. spaces is a bit tricky. You can use one of the following methods to detect this: - NotePad ++: View -> Show Symbol -> Show All Characters Spaces will be shown as dots. Tabs will be shown as arrows. See the middle entry below which shows highlighted space characters and one tab in the middle: All of the separations should have been tab characters, unlike what is seen above. - Or you can use 'cat -vet mcell.dir' From this command, space characters will be empty. Tab characters will be shown as carrot (^) characters. Please follow these steps: 1. Stop primary TSIM server 2. Take mcell.dir file backup 3. Comment existing <cell name> details in mcell.dir 4. Add below configuration details (All fields are separated with tab character) in mcell.dir file and save the file cell <cell name> mc <host name>:1828 5. Now configure TSIM HA If the error persists send the output from 'pw dump 1' to BMC Support. The first places of focus within the output file will be: - mcell.dir - TrueSightHA_CLI_<host_name>.log - Contents of ./pw/custom/conf |