version 1.4, 2005/04/27 19:02:02
|
version 1.5, 2005/04/27 22:31:28
|
|
|
CIMRepositoryUpdate400 obj; | CIMRepositoryUpdate400 obj; |
obj.preserveConfigSettings(); | obj.preserveConfigSettings(); |
| |
|
// TODO: This is here for now until we can move it into initialize. Right now it doesn't run because qycmsetupr won't work in a multi-threaded environment. See issue #AD2 |
|
obj.doIt(); |
|
|
#pragma convert(37) | #pragma convert(37) |
char rc5[3] = "05"; // rc5 means the CIMOM Server failed to start | char rc5[3] = "05"; // rc5 means the CIMOM Server failed to start |
char cppServ[10] = "QYCMCIMOM"; | char cppServ[10] = "QYCMCIMOM"; |
|
|
// so that iNavigator can start/stop it. | // so that iNavigator can start/stop it. |
// -- Swaps the job user to QSYS. | // -- Swaps the job user to QSYS. |
// -- Changes the authority of QYCMJOBD | // -- Changes the authority of QYCMJOBD |
|
// -- Calls the upgrade utility |
//////////////////////////////////////////////////// | //////////////////////////////////////////////////// |
int ServerProcess::cimserver_initialize(void) | int ServerProcess::cimserver_initialize(void) |
{ | { |
|
|
return(-1); | return(-1); |
} | } |
| |
|
// TODO: add this back in when we fix the problem with setupr not working in a multi-threaded environment. |
// Call into the upgrade utility. This will perform any necessary upgrade step that need to be done. The upgrade program keys off of marker files which are created on install. This means that in most cases, nothing will be done unless the server is starting for the first time after an install. | // Call into the upgrade utility. This will perform any necessary upgrade step that need to be done. The upgrade program keys off of marker files which are created on install. This means that in most cases, nothing will be done unless the server is starting for the first time after an install. |
CIMRepositoryUpdate400 obj; |
// CIMRepositoryUpdate400 obj; |
obj.doIt(); |
// obj.doIt(); |
| |
// TODO: this is currently commented out because it causes build errors - | // TODO: this is currently commented out because it causes build errors - |
// it compiles just fine though. Hopefully this problem will be fixed | // it compiles just fine though. Hopefully this problem will be fixed |