I have been going through the procedure for replacing the first primary server with the second primary server in a test environment and hit a snag. I did the zman cae <backup_file> -d to export the certificate and remove the role from the server. It exported the certificate fine but the rest of the command failed. Here is the excerpt from the zman log:

DEBUG] [1/27/12 12:59:51 PM] [] [ZMan] [] [Command: cae /backup/testzone_cert.bak -d --TerminalDevice=/dev/pts/1 --ScreenDimension=24 101 ] [] []
[DEBUG] [1/27/12 1:00:06 PM] [] [ZMan] [] [Error:An internal error occurred. Please check the zman log for more information.] [] []
[DEBUG] [1/27/12 1:00:06 PM] [] [CommandRunner] [] [java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.novell.zenworks.zman.CommandRunner.execute(Com mandRunner.java:92)
at com.novell.zenworks.zman.ZMan.executeRunner(ZMan.j ava:321)
at com.novell.zenworks.zman.ZMan.main(ZMan.java:505)
Caused by: com.novell.zenworks.zman.exceptions.ZManException: com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: 1
at com.novell.zenworks.zman.exceptions.ZManExceptionH andler.handleException(ZManExceptionHandler.java:1 97)
at com.novell.zenworks.zman.exceptions.ZManExceptionH andler.handleException(ZManExceptionHandler.java:6 0)
at com.novell.zenworks.zman.exceptions.ZManExceptionH andler.processRemoteException(ZManExceptionHandler .java:390)
at com.novell.zenworks.zman.commands.CAHandler.export CA(CAHandler.java:134)
... 7 more
Caused by: com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: 1
at com.novell.zenworks.zman.exceptions.ZManExceptionH andler.createException(ZManExceptionHandler.java:2 72)
at com.novell.zenworks.zman.exceptions.ZManExceptionH andler.makeDataModelException(ZManExceptionHandler .java:260)
... 9 more
Caused by: com.novell.zenworks.datamodel.exceptions.RemoteDat aModelException: 1
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:501)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.novell.zenworks.datamodel.exceptions.RemoteDat aModelExceptionMarshaler.deserialize(RemoteDataMod elExceptionMarshaler.java:36)
at com.novell.soa.ws.impl.soap.LiteralEncodingStyle.r eadObject(LiteralEncodingStyle.java:256)
at com.novell.soa.ws.impl.soap.LiteralEncodingStyle.r eadObject(LiteralEncodingStyle.java:235)
at com.novell.soa.ws.impl.soap.LiteralEncodingStyle.r eadObject(LiteralEncodingStyle.java:213)
at com.novell.soa.ws.impl.xml.InputStreamImpl.readObj ect(InputStreamImpl.java:80)
at com.novell.zenworks.datamodel.services.zoneconfig. soap.ZoneConfigAdminServiceBinding_Stub.removeZENS erverRoles(ZoneConfigAdminServiceBinding_Stub.java :5939)
at com.novell.zenworks.zman.commands.CAHandler.export CA(CAHandler.java:129)
... 7 more
] [] []
[DEBUG] [1/27/12 1:00:06 PM] [] [ZMan] [] [Command failed (partially or totally)] [] []
[DEBUG] [1/27/12 1:00:06 PM] [] [ZMan] [] [Command completed in 15359 ms] [] []


I tried doing this again with a two step process of exporting the certificate then removing the server role:
zman cae <backup_file>
zman card

The export worked fine but removing the role had the same error as above.

The two servers in this test lab are sles 10 sp3 x64 and virtualized on xenserver 5.6. They are both running zenworks 10.3.1 with the certificate generated during zenworks install on the first server. The database is the stock sybase db on the first server as well. I did not install a zenworks license and they still have about half of the 60day trial remaining.

Is there something I can check to see why this would fail?

Thanks.