diff --git a/setup/ajax.dataloader.php b/setup/ajax.dataloader.php new file mode 100644 index 000000000..bc8f75f61 --- /dev/null +++ b/setup/ajax.dataloader.php @@ -0,0 +1,64 @@ +Set("date", time()); + $oChange->Set("userinfo", "Initialization"); + $iChangeId = $oChange->DBInsert(); + $oDataLoader->StartSession($oChange); + } + + $oDataLoader->LoadFile($sFileName); + + if ($sSessionStatus == 'end') + { + $oDataLoader->EndSession(); + } + $sResult = sprintf("Info - loading of %s done. (Overall %d %% completed).", basename($sFileName), $iPercent); + echo $sResult; + setup_web_page::log($sResult); +} +catch(Exception $e) +{ + echo "

An error happened while loading the data

\n"; + echo '

'.$e."

\n"; + setup_web_page::log("Error - An error happened while loading the data. ".$e); + +} + +?> diff --git a/setup/data/01.organizations.xml b/setup/data/01.organizations.xml new file mode 100644 index 000000000..2e0eb1c5b --- /dev/null +++ b/setup/data/01.organizations.xml @@ -0,0 +1,15 @@ + + + +Demo +MCO +implementation +3 + + +Oracle +ORA +production +6 + + \ No newline at end of file diff --git a/setup/data/02.locations.xml b/setup/data/02.locations.xml new file mode 100644 index 000000000..ddfdbf4cf --- /dev/null +++ b/setup/data/02.locations.xml @@ -0,0 +1,22 @@ + + + +Grenoble +production +3 +high +
5 Avenue de la Poste
+France +1 +
+ +Paris +implementation +3 +high +
5 rue de la Paroisse +15eme arrondissement
+France +1 +
+
\ No newline at end of file diff --git a/setup/data/03.persons.xml b/setup/data/03.persons.xml new file mode 100644 index 000000000..fa6317ff5 --- /dev/null +++ b/setup/data/03.persons.xml @@ -0,0 +1,33 @@ + + + +Denis +production +3 +denis.flaven@gmail.com + +29 +Flaven + + + +Quetiez +production +3 +romain.quetiez@gmail.com + +1 +Romain + + + +Taloc +production +3 +erwan.taloc@gmail.com +33172382223 +1 +Erwan +e12345 + + \ No newline at end of file diff --git a/setup/data/04.teams.xml b/setup/data/04.teams.xml new file mode 100644 index 000000000..7773a127e --- /dev/null +++ b/setup/data/04.teams.xml @@ -0,0 +1,19 @@ + + + +Application support +implementation +3 +application@mecanorama.com +33456456788 +29 + + +ITOP admin team +production +3 +combodo@gmail.com +33123453612 +1 + + \ No newline at end of file diff --git a/setup/data/05.pcs.xml b/setup/data/05.pcs.xml new file mode 100644 index 000000000..4af8e9b8a --- /dev/null +++ b/setup/data/05.pcs.xml @@ -0,0 +1,1865 @@ + + + +PC01 +production +3 +high +1 +Compaq +nc6005 + +desktop PC +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.32.14 +10.22.31.1 + + +PC02 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.15 +10.22.31.1 + + +PC03 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.16 +10.22.31.1 + + +PC04 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.17 +10.22.31.1 + + +PC05 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.18 +10.22.31.1 + + +PC06 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.19 +10.22.31.1 + + +PC07 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.20 +10.22.31.1 + + +PC08 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.21 +10.22.31.1 + + +PC09 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.22 +10.22.31.1 + + +PC10 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.23 +10.22.31.1 + + +PC11 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.24 +10.22.31.1 + + +PC12 +production +3 +high +1 +Compaq +nc6008 + +desktop PC +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.32.25 +10.22.31.1 + + +PC13 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.32.26 +10.22.31.1 + + +PC14 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.32.27 +10.22.31.1 + + +PC15 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.32.28 +10.22.31.1 + + +PC16 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.32.29 +10.22.31.1 + + +PC17 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.32.30 +10.22.31.1 + + +PC18 +production +3 +high +1 +Compaq +nc6000 + +desktop PC +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.32.31 +10.22.31.1 + + +PC19 +production +3 +high +1 +Compaq +nc6000 + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.32 +10.22.31.1 + + +PC20 +production +3 +high +1 +Compaq +nc6000 + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.33 +10.22.31.1 + + +PC21 +production +3 +high +1 +Compaq +nc6000 + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.34 +10.22.31.1 + + +PC22 +production +3 +high +1 +Compaq +nc6000 + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.35 +10.22.31.1 + + +PC23 +production +3 +medium +1 +Compaq +nc6000 + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.36 +10.22.31.1 + + +PC24 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.37 +10.22.31.1 + + +PC25 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.38 +10.22.31.1 + + +PC26 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.39 +10.22.31.1 + + +PC27 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.40 +10.22.31.1 + + +PC28 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.41 +10.22.31.1 + + +PC29 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.42 +10.22.31.1 + + +PC30 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.43 +10.22.31.1 + + +PC31 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.44 +10.22.31.1 + + +PC32 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.45 +10.22.31.1 + + +PC33 +production +3 +medium +1 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.32.46 +10.22.31.1 + + +PC34 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.5 +10.22.30.1 + + +PC35 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.6 +10.22.30.1 + + +PC36 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.7 +10.22.30.1 + + +PC37 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.8 +10.22.30.1 + + +PC38 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.9 +10.22.30.1 + + +PC39 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.10 +10.22.30.1 + + +PC40 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.11 +10.22.30.1 + + +PC41 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.12 +10.22.30.1 + + +PC42 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.13 +10.22.30.1 + + +PC43 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.14 +10.22.30.1 + + +PC44 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.15 +10.22.30.1 + + +PC45 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.16 +10.22.30.1 + + +PC46 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.17 +10.22.30.1 + + +PC47 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.18 +10.22.30.1 + + +PC48 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.19 +10.22.30.1 + + +PC49 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.20 +10.22.30.1 + + +PC50 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.21 +10.22.30.1 + + +PC5000 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.33 +10.22.30.1 + + +PC51 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.22 +10.22.30.1 + + +PC52 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.23 +10.22.30.1 + + +PC53 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.24 +10.22.30.1 + + +PC54 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.25 +10.22.30.1 + + +PC55 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.26 +10.22.30.1 + + +PC56 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.27 +10.22.30.1 + + +PC57 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.28 +10.22.30.1 + + +PC58 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.29 +10.22.30.1 + + +PC59 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.30 +10.22.30.1 + + +PC60 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.31 +10.22.30.1 + + +PC61 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.32 +10.22.30.1 + + +PC62 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.33 +10.22.30.1 + + +PC63 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.34 +10.22.30.1 + + +PC64 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.35 +10.22.30.1 + + +PC65 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Celeron 2x 1.6Ghz +60Gb +Windows +XP + +10.22.30.36 +10.22.30.1 + + +PC66 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.37 +10.22.30.1 + + +PC67 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.38 +10.22.30.1 + + +PC68 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.39 +10.22.30.1 + + +PC69 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.40 +10.22.30.1 + + +PC70 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.41 +10.22.30.1 + + +PC71 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.42 +10.22.30.1 + + +PC72 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.43 +10.22.30.1 + + +PC73 +production +3 +medium +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.44 +10.22.30.1 + + +PC74 +production +3 +high +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.45 +10.22.30.1 + + +PC75 +production +3 +high +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.46 +10.22.30.1 + + +PC76 +production +3 +high +29 +Dell +Studio 15 laptop + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.47 +10.22.30.1 + + +PC77 +production +3 +high +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.48 +10.22.30.1 + + +PC78 +production +3 +high +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +XP + +10.22.30.49 +10.22.30.1 + + +PC79 +production +3 +high +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.50 +10.22.30.1 + + +PC80 +production +3 +high +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.51 +10.22.30.1 + + +PC81 +production +3 +high +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.52 +10.22.30.1 + + +PC82 +production +3 +high +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.53 +10.22.30.1 + + +PC83 +production +3 +high +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.54 +10.22.30.1 + + +PC84 +production +3 +high +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.55 +10.22.30.1 + + +PC85 +production +3 +high +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.56 +10.22.30.1 + + +PC86 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.57 +10.22.30.1 + + +PC87 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.58 +10.22.30.1 + + +PC88 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.59 +10.22.30.1 + + +PC89 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.60 +10.22.30.1 + + +PC90 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.61 +10.22.30.1 + + +PC91 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.62 +10.22.30.1 + + +PC92 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.63 +10.22.30.1 + + +PC93 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.64 +10.22.30.1 + + +PC94 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.65 +10.22.30.1 + + +PC95 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.66 +10.22.30.1 + + +PC96 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.67 +10.22.30.1 + + +PC97 +production +3 +low +29 +Toshiba +Satelite L300D + +laptop +2048 +Pentium Dual Core 1.8Ghz +60Gb +Windows +Vista + +10.22.30.68 +10.22.30.1 + + \ No newline at end of file diff --git a/setup/data/06.servers.xml b/setup/data/06.servers.xml new file mode 100644 index 000000000..d83b26677 --- /dev/null +++ b/setup/data/06.servers.xml @@ -0,0 +1,4063 @@ + + + +domino.combodo.com +In Production +3 +high +1 +IBM +Power 520 Express +S4523 +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.10 +10.22.28.1 + + +server02 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.11 +10.22.28.1 + + +server03 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.12 +10.22.28.1 + + +server04 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.13 +10.22.28.1 + + +server05 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.14 +10.22.28.1 + + +server06 +Production Candidate +3 +medium +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.15 +10.22.28.1 + + +server07 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.16 +10.22.28.1 + + +server08 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.17 +10.22.28.1 + + +server09 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.18 +10.22.28.1 + + +server10 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.19 +10.22.28.1 + + +server100 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.109 +10.22.28.1 + + +server101 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.110 +10.22.28.1 + + +server102 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.111 +10.22.28.1 + + +server103 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.112 +10.22.28.1 + + +server104 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.113 +10.22.28.1 + + +server105 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.114 +10.22.28.1 + + +server106 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.115 +10.22.28.1 + + +server107 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.116 +10.22.28.1 + + +server108 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.117 +10.22.28.1 + + +server109 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.118 +10.22.28.1 + + +server11 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.20 +10.22.28.1 + + +server110 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.119 +10.22.28.1 + + +server111 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.120 +10.22.28.1 + + +server112 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.121 +10.22.28.1 + + +server113 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.122 +10.22.28.1 + + +server114 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.123 +10.22.28.1 + + +server115 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.124 +10.22.28.1 + + +server116 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.125 +10.22.28.1 + + +server117 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.126 +10.22.28.1 + + +server118 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.127 +10.22.28.1 + + +server119 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.128 +10.22.28.1 + + +server12 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.21 +10.22.28.1 + + +server120 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.129 +10.22.28.1 + + +server121 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.130 +10.22.28.1 + + +server122 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.131 +10.22.28.1 + + +server123 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.132 +10.22.28.1 + + +server124 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.133 +10.22.28.1 + + +server125 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.134 +10.22.28.1 + + +server126 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.135 +10.22.28.1 + + +server127 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.136 +10.22.28.1 + + +server128 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.137 +10.22.28.1 + + +server129 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.138 +10.22.28.1 + + +server13 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.22 +10.22.28.1 + + +server130 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.139 +10.22.28.1 + + +server131 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.140 +10.22.28.1 + + +server132 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.141 +10.22.28.1 + + +server133 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.142 +10.22.28.1 + + +server134 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.143 +10.22.28.1 + + +server135 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.144 +10.22.28.1 + + +server136 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.145 +10.22.28.1 + + +server137 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.146 +10.22.28.1 + + +server138 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.147 +10.22.28.1 + + +server139 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.148 +10.22.28.1 + + +server14 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.23 +10.22.28.1 + + +server140 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.149 +10.22.28.1 + + +server141 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.150 +10.22.28.1 + + +server142 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.151 +10.22.28.1 + + +server143 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.152 +10.22.28.1 + + +server144 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.153 +10.22.28.1 + + +server145 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.154 +10.22.28.1 + + +server146 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.155 +10.22.28.1 + + +server147 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.156 +10.22.28.1 + + +server148 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.157 +10.22.28.1 + + +server149 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.158 +10.22.28.1 + + +server15 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.24 +10.22.28.1 + + +server150 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.159 +10.22.28.1 + + +server151 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.160 +10.22.28.1 + + +server152 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.161 +10.22.28.1 + + +server153 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.162 +10.22.28.1 + + +server154 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.163 +10.22.28.1 + + +server155 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.164 +10.22.28.1 + + +server156 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.165 +10.22.28.1 + + +server157 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.166 +10.22.28.1 + + +server158 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.167 +10.22.28.1 + + +server159 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.168 +10.22.28.1 + + +server16 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.25 +10.22.28.1 + + +server160 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.169 +10.22.28.1 + + +server161 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.170 +10.22.28.1 + + +server162 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.171 +10.22.28.1 + + +server163 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.172 +10.22.28.1 + + +server164 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.173 +10.22.28.1 + + +server165 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.174 +10.22.28.1 + + +server166 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.175 +10.22.28.1 + + +server167 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.176 +10.22.28.1 + + +server168 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.177 +10.22.28.1 + + +server169 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.178 +10.22.28.1 + + +server17 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.26 +10.22.28.1 + + +server170 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.179 +10.22.28.1 + + +server171 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.180 +10.22.28.1 + + +server172 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.181 +10.22.28.1 + + +server173 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.182 +10.22.28.1 + + +server174 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.183 +10.22.28.1 + + +server175 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.184 +10.22.28.1 + + +server176 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.185 +10.22.28.1 + + +server177 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.186 +10.22.28.1 + + +server178 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.187 +10.22.28.1 + + +server179 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.188 +10.22.28.1 + + +server18 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.27 +10.22.28.1 + + +server180 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.189 +10.22.28.1 + + +server181 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.190 +10.22.28.1 + + +server182 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.191 +10.22.28.1 + + +server183 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.192 +10.22.28.1 + + +server184 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.193 +10.22.28.1 + + +server185 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.194 +10.22.28.1 + + +server186 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.195 +10.22.28.1 + + +server187 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.196 +10.22.28.1 + + +server188 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.197 +10.22.28.1 + + +server189 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.198 +10.22.28.1 + + +server19 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.28 +10.22.28.1 + + +server190 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.199 +10.22.28.1 + + +server191 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.200 +10.22.28.1 + + +server192 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.201 +10.22.28.1 + + +server193 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.202 +10.22.28.1 + + +server194 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.203 +10.22.28.1 + + +server195 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.204 +10.22.28.1 + + +server196 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.205 +10.22.28.1 + + +server197 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.206 +10.22.28.1 + + +server198 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.207 +10.22.28.1 + + +server199 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.208 +10.22.28.1 + + +server20 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.29 +10.22.28.1 + + +server21 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.30 +10.22.28.1 + + +server22 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.31 +10.22.28.1 + + +server23 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.32 +10.22.28.1 + + +server24 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.22.28.33 +10.22.28.1 + + +server25 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.34 +10.22.28.1 + + +server26 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.35 +10.22.28.1 + + +server27 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.36 +10.22.28.1 + + +server28 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.37 +10.22.28.1 + + +server29 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.38 +10.22.28.1 + + +server30 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.39 +10.22.28.1 + + +server31 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.40 +10.22.28.1 + + +server32 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.41 +10.22.28.1 + + +server33 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.42 +10.22.28.1 + + +server34 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.43 +10.22.28.1 + + +server35 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.44 +10.22.28.1 + + +server36 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.45 +10.22.28.1 + + +server37 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.46 +10.22.28.1 + + +server38 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.47 +10.22.28.1 + + +server39 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.48 +10.22.28.1 + + +server40 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.49 +10.22.28.1 + + +server41 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.50 +10.22.28.1 + + +server42 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.51 +10.22.28.1 + + +server43 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.52 +10.22.28.1 + + +server44 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.53 +10.22.28.1 + + +server45 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.54 +10.22.28.1 + + +server46 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.55 +10.22.28.1 + + +server47 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.56 +10.22.28.1 + + +server48 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.57 +10.22.28.1 + + +server49 +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.3 + +10.22.28.58 +10.22.28.1 + + +server50 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.59 +10.22.28.1 + + +server51 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.60 +10.22.28.1 + + +server52 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.61 +10.22.28.1 + + +server53 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.62 +10.22.28.1 + + +server54 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.63 +10.22.28.1 + + +server55 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.64 +10.22.28.1 + + +server56 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.65 +10.22.28.1 + + +server57 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.66 +10.22.28.1 + + +server58 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.67 +10.22.28.1 + + +server59 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.68 +10.22.28.1 + + +server60 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.69 +10.22.28.1 + + +server61 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.70 +10.22.28.1 + + +server62 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.71 +10.22.28.1 + + +server63 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.72 +10.22.28.1 + + +server64 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.73 +10.22.28.1 + + +server65 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.74 +10.22.28.1 + + +server66 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.75 +10.22.28.1 + + +server67 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.76 +10.22.28.1 + + +server68 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.77 +10.22.28.1 + + +server69 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.78 +10.22.28.1 + + +server70 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.79 +10.22.28.1 + + +server71 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.80 +10.22.28.1 + + +server72 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.81 +10.22.28.1 + + +server73 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.82 +10.22.28.1 + + +server74 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.83 +10.22.28.1 + + +server75 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.84 +10.22.28.1 + + +server76 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.85 +10.22.28.1 + + +server77 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.86 +10.22.28.1 + + +server78 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.87 +10.22.28.1 + + +server79 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.88 +10.22.28.1 + + +server80 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.89 +10.22.28.1 + + +server81 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.90 +10.22.28.1 + + +server82 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.91 +10.22.28.1 + + +server83 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.92 +10.22.28.1 + + +server84 +Production Candidate +3 +high +1 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.93 +10.22.28.1 + + +server85 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.94 +10.22.28.1 + + +server86 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.95 +10.22.28.1 + + +server87 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.96 +10.22.28.1 + + +server88 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.97 +10.22.28.1 + + +server89 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.98 +10.22.28.1 + + +server90 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.99 +10.22.28.1 + + +server91 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.100 +10.22.28.1 + + +server92 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.101 +10.22.28.1 + + +server93 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.102 +10.22.28.1 + + +server94 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.103 +10.22.28.1 + + +server95 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.104 +10.22.28.1 + + +server96 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.105 +10.22.28.1 + + +server97 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.11 + +10.22.28.106 +10.22.28.1 + + +server98 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.107 +10.22.28.1 + + +server99 +Production Candidate +3 +high +29 +HP + + +8Gb +rp3440 +4 +4x120Gb +200Gb +HP-UX +11.23 + +10.22.28.108 +10.22.28.1 + + +srv01.combodo.com +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.32.28.11 +10.32.28.1 + + +srv02.combodo.com +Production Candidate +3 +high +1 +HP + + +8Gb +rp3410 +4 +4x120Gb +200Gb +HP UX +11.23 + +10.32.28.12 +10.32.28.1 + + +srv03.combodo.com +Production Candidate +3 +high +1 +IBM + + +8Gb +Power 520 Express +4 +4x120Gb +200Gb +AIX +4.1 + +10.32.28.13 +10.32.28.1 + + +srv04.combodo.com +Production Candidate +3 +high +1 +HP + + +8Gb +rp3410 +4 +4x120Gb +200Gb +HP UX +11.23 + +10.32.28.14 +10.32.28.1 + + \ No newline at end of file diff --git a/setup/data/07.applications.xml b/setup/data/07.applications.xml new file mode 100644 index 000000000..c6adc3609 --- /dev/null +++ b/setup/data/07.applications.xml @@ -0,0 +1,33 @@ + + + +Oracle 10g +production +3 +high +5 +2008-11-05 00:00:00 +10g +Database + + +outlook Office +production +3 +high +2 +2008-12-30 00:00:00 +8.4 +Mail client + + +Outlook server +implementation +3 +high +5 +2008-12-20 00:00:00 +8.1 +Mail Server + + \ No newline at end of file diff --git a/setup/data/08.nw-devices.xml b/setup/data/08.nw-devices.xml new file mode 100644 index 000000000..97e6a2200 --- /dev/null +++ b/setup/data/08.nw-devices.xml @@ -0,0 +1,71 @@ + + + +router01 +production +3 +high +1 +Cisco +6500 +S2345985 +switch +10.25.3.45 +10.25.3.1 +8.2 +flash :1=16.48MB +public +private + + +router02 +production +3 +high +1 +Cisco +6500 +S2345985 +switch +10.25.3.46 +10.25.3.1 +8.2 +flash :1=16.48MB +public +private + + +router03 +production +3 +high +1 +Cisco +6500 +S2345985 +switch +10.25.3.47 +10.25.3.1 +8.2 +flash :1=16.48MB +public +private + + +switch01 +production +3 +high +1 + + + +switch + + + + + + + + \ No newline at end of file diff --git a/setup/data/09.links_contacts.xml b/setup/data/09.links_contacts.xml new file mode 100644 index 000000000..ebd943f13 --- /dev/null +++ b/setup/data/09.links_contacts.xml @@ -0,0 +1,23 @@ + + + +8 +7 +business model expert + + +21 +2 +owner + + +7 +5 +Server Owner + + +8 +21 +Team Leader + + \ No newline at end of file diff --git a/setup/data/10.workgroups.xml b/setup/data/10.workgroups.xml new file mode 100644 index 000000000..714771512 --- /dev/null +++ b/setup/data/10.workgroups.xml @@ -0,0 +1,17 @@ + + + +FLS Desktop +production +3 +8 +1st level support + + +FLS Network +production +3 +8 +2nd level support + + \ No newline at end of file diff --git a/setup/data/11.incidents.xml b/setup/data/11.incidents.xml new file mode 100644 index 000000000..a448488d7 --- /dev/null +++ b/setup/data/11.incidents.xml @@ -0,0 +1,132 @@ + + + +I-000001 +PC issue +Desktop +3 +WorkInProgress +there is an issue with my PC + +2009-02-10 21:30:55 + + + +21 +not able to start IE +19 +7 +We are about to connect to your PC via Netmeeting and troubleshoot what's up. + +Then we will try to contact Microsoft to understand if it is a known issue +critical +1 + + + +I-000002 +Network issue +Network +3 +Assigned +No more access to the network +Network connectivity lost +2009-02-19 19:07:25 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +7 +high +24 +21 +need to investigate the network +low +2 + + + +I-000003 +Disk Failure on Server01 +Server +3 +WorkInProgress +Partition /var is no more accessible. +It seems that hard disk is broken +Filesystem is full +2009-03-21 08:27:46 +2009-02-10 22:25:00 +2009-02-10 00:25:00 +0000-00-00 00:00:00 +20 +Really important for the business +19 +7 +There are lot of logs file to be trimed +medium +2 + + + +I-000004 +Oracle Database down on domino +Server +3 +New +Database Oracle is no more accessible on Server01 +Customer cannot access Order web site. +2009-03-17 09:31:09 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +7 +Very critical +19 +0 + +low +0 + + + +I-000005 +Issue with my pc +Desktop +3 +Assigned +My PC is locked +We have to analyze +2009-03-01 23:22:38 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +7 + +19 +20 + +medium +1 + + + +I-000006 +Demo +Server +3 +New +gdfgl + +2009-03-18 22:00:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +20 +personne ne peut acceder au site de paris +19 +0 + +low +0 + + + \ No newline at end of file diff --git a/setup/data/12.relatedtickets.xml b/setup/data/12.relatedtickets.xml new file mode 100644 index 000000000..dd5eeaa71 --- /dev/null +++ b/setup/data/12.relatedtickets.xml @@ -0,0 +1,8 @@ + + + +2 +1 +Real cause is a network incident + + \ No newline at end of file diff --git a/setup/data/13.infratickets.xml b/setup/data/13.infratickets.xml new file mode 100644 index 000000000..4d9974843 --- /dev/null +++ b/setup/data/13.infratickets.xml @@ -0,0 +1,33 @@ + + + +125 +6 +c'est down + + +5 +3 +main application is broken + + +5 +2 +no more access to network + + +2 +1 +not able to start IE + + +28 +5 +not able to work + + +5 +4 +Order web site is no more working + + \ No newline at end of file diff --git a/setup/data/14.contacttickets.xml b/setup/data/14.contacttickets.xml new file mode 100644 index 000000000..2b24a6215 --- /dev/null +++ b/setup/data/14.contacttickets.xml @@ -0,0 +1,13 @@ + + + +8 +1 +Team that need to be informed + + +21 +3 +to be informed + + \ No newline at end of file diff --git a/setup/data/15.changetickets.xml b/setup/data/15.changetickets.xml new file mode 100644 index 000000000..bdbb71970 --- /dev/null +++ b/setup/data/15.changetickets.xml @@ -0,0 +1,85 @@ + + + +CM-0000003 +1st change +Routine +Desktop +reason +20 +3 +PlannedScheduled +2009-02-19 21:35:47 +2009-02-18 18:33:14 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +There is no impact +19 +21 +19 +20 +19 +7 +No +I would like to install SQL plus on my laptop. +Could you make it please +We will push via netmeeting the package and install it at 10:00 tomorrow +If there is any issue we will uninstall it +0 + + +CM-0000004 +Oracle upgrade on domino +Routine +Application +Patch Installation for Oracle +21 +3 +Approved +2009-03-17 14:50:34 +2009-03-17 14:50:34 +2009-02-24 00:00:00 +2009-02-24 02:00:00 +0000-00-00 00:00:00 +application impacted +19 +20 +19 +21 +19 +7 +Yes +We wan to install last Oracle Patch in order to fix rollback management issues +We will install patch and reboot the server +If not working we will remove this patch +0 + + +CM-0000005 +IOS upgrade +Routine +Desktop +security issue +21 +3 +New +2009-04-04 23:23:37 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 + +19 +21 +19 +20 +19 +7 +No +Upgrade to new IOS due to security reason + + +0 + + \ No newline at end of file diff --git a/setup/data/16.infrachangetickets.xml b/setup/data/16.infrachangetickets.xml new file mode 100644 index 000000000..af099731b --- /dev/null +++ b/setup/data/16.infrachangetickets.xml @@ -0,0 +1,23 @@ + + + +22 +2 +impacted application + + +5 +2 +impacted server + + +2 +1 +PC where to install new appli + + +6 +3 +router not available + + \ No newline at end of file diff --git a/setup/data/17.contactchangetickets.xml b/setup/data/17.contactchangetickets.xml new file mode 100644 index 000000000..d22e88992 --- /dev/null +++ b/setup/data/17.contactchangetickets.xml @@ -0,0 +1,23 @@ + + + +7 +1 +DB admin + + +20 +2 +Db administrator + + +21 +1 +notify me + + +7 +2 +Server Owner for reboot + + \ No newline at end of file diff --git a/setup/data/18.contracts.xml b/setup/data/18.contracts.xml new file mode 100644 index 000000000..4de2eff8e --- /dev/null +++ b/setup/data/18.contracts.xml @@ -0,0 +1,23 @@ + + + +Oracle Support +3 +6 +Software support +8 +Gold +Global +Yearly +30000 +Euros +This contract define Oracle Support contract between Mecanorama and Oracle company. + +Yearly cost is 30.000 euros +2009-02-22 18:54:14 +2009-03-04 00:01:38 +Signed +Software +3 + + \ No newline at end of file diff --git a/setup/data/19.infracontracts.xml b/setup/data/19.infracontracts.xml new file mode 100644 index 000000000..509a3d947 --- /dev/null +++ b/setup/data/19.infracontracts.xml @@ -0,0 +1,9 @@ + + + +22 +1 +Office Hour +Gold + + \ No newline at end of file diff --git a/setup/data/20.contactcontracts.xml b/setup/data/20.contactcontracts.xml new file mode 100644 index 000000000..f33a08332 --- /dev/null +++ b/setup/data/20.contactcontracts.xml @@ -0,0 +1,13 @@ + + + +21 +1 +Contract Manager + + +8 +1 +Team in charge to manage Oracle + + \ No newline at end of file diff --git a/setup/data/21.auditcategories.xml b/setup/data/21.auditcategories.xml new file mode 100644 index 000000000..ae806c855 --- /dev/null +++ b/setup/data/21.auditcategories.xml @@ -0,0 +1,8 @@ + + + +Devices in production +Checking all devices in production +bizDevice: status = 'production' + + \ No newline at end of file diff --git a/setup/data/22.auditrules.xml b/setup/data/22.auditrules.xml new file mode 100644 index 000000000..8298ae182 --- /dev/null +++ b/setup/data/22.auditrules.xml @@ -0,0 +1,17 @@ + + + +Devices in production on a Location not in production + +bizDevice: location_id IN (bizLocation: status != 'production') +false +1 + + +Devices not attached to a monitoring group + +bizDevice: PKEY IS infra_id IN (lnkInfraGrouping: infra_group_id IN (bizInfraGroup: type = 'Monitoring')) +true +1 + + \ No newline at end of file diff --git a/setup/data/export.cmd b/setup/data/export.cmd new file mode 100644 index 000000000..5c95ce860 --- /dev/null +++ b/setup/data/export.cmd @@ -0,0 +1,27 @@ +SET WEBROOT=http://localhost:81 +SET USER=Erwan +SET PWD=Taloc +REM The order (numbering) of the files is important since +REM it dictates the order to import them back +wget --output-document=01.organizations.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizOrganization&format=xml" +wget --output-document=02.locations.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizLocation&format=xml" +wget --output-document=03.persons.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizPerson&format=xml" +wget --output-document=04.teams.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizTeam&format=xml" +wget --output-document=05.pcs.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizPC&format=xml" +wget --output-document=06.servers.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizServer&format=xml" +wget --output-document=07.applications.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizApplication&format=xml" +wget --output-document=08.nw-devices.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizNetworkDevice&format=xml" +wget --output-document=09.links_contacts.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT lnkContactRealObject&format=xml" +wget --output-document=10.workgroups.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizWorkgroup&format=xml" +wget --output-document=11.incidents.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizIncidentTicket&format=xml" +wget --output-document=12.relatedtickets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT lnkRelatedTicket&format=xml" +wget --output-document=13.infratickets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT lnkInfraTicket&format=xml" +wget --output-document=14.contacttickets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT lnkContactTicket&format=xml" +wget --output-document=15.changetickets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizChangeTicket&format=xml" +wget --output-document=16.infrachangetickets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT lnkInfraChangeTicket&format=xml" +wget --output-document=17.contactchangetickets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT lnkContactChange&format=xml" +wget --output-document=18.contracts.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT bizContract&format=xml" +wget --output-document=19.infracontracts.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT lnkInfraContract&format=xml" +wget --output-document=20.contactcontracts.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT lnkContactContract&format=xml" +wget --output-document=21.auditcategories.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT AuditCategory&format=xml" +wget --output-document=22.auditrules.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT AuditRule&format=xml" diff --git a/setup/export_menus.cmd b/setup/export_menus.cmd new file mode 100644 index 000000000..e7cc514af --- /dev/null +++ b/setup/export_menus.cmd @@ -0,0 +1,6 @@ +SET WEBROOT=http://localhost:81 +SET USER=Erwan +SET PWD=Taloc +REM The order (numbering) of the files is important since +REM it dictates the order to import them back +wget --output-document=1.menus.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT menuNode WHERE type%%3D%%27application%%27&format=xml" diff --git a/setup/index.php b/setup/index.php index d8ed9b4a5..20a5472fb 100644 --- a/setup/index.php +++ b/setup/index.php @@ -8,6 +8,7 @@ require_once('../core/cmdbsource.class.inc.php'); require_once('./setuppage.class.inc.php'); define('TMP_CONFIG_FILE', '../tmp-config-itop.php'); define('FINAL_CONFIG_FILE', '../config-itop.php'); +define('SETUP_DATA_DIR', './data'); define('PHP_MIN_VERSION', '5.2.0'); define('MYSQL_MIN_VERSION', '5.0.0'); @@ -173,60 +174,45 @@ function CreateAdminAccount(setup_web_page $oP, Config $oConfig, $sAdminUser, $s } /** - * Helper function to load the standard menus into the database - */ -function LoadStandardMenus(setup_web_page $oP) + * Scans the ./data directory for XML files and output them as a Javascript array + */ +function PopulateDataFilesList(setup_web_page $oP) { - $oP->log('Info - LoadStandardMenus'); - - $oXml = simplexml_load_file('menus.xml'); - $aReplicas = array(); - foreach($oXml as $oXmlMenu) + if ($hDir = @opendir(SETUP_DATA_DIR)) { - $iPreviousId = (integer)$oXmlMenu['id']; // Mandatory to cast - $iParentId = (integer)$oXmlMenu->parent_id; // Mandatory to cast - // echo "

PreviousId = $iPreviousId; parent_id: $iParentId

\n"; - $oMenuNode = MetaModel::NewObject('menuNode'); - $oMenuNode->Set('name', $oXmlMenu->name); - $oMenuNode->Set('label', $oXmlMenu->label); - $oMenuNode->Set('hyperlink', $oXmlMenu->hyperlink); - $oMenuNode->Set('template', $oXmlMenu->template); - $oMenuNode->Set('rank', $oXmlMenu->rank); - $oMenuNode->DBInsert(); - $iDstId = $oMenuNode->GetKey(); - $aReplicas[$iPreviousId] = array('dstObj' => $oMenuNode, 'parentId' => $iParentId); - } - - foreach($aReplicas as $iKey => $aReplica) - { - $iSrcParentId = $aReplica['parentId']; - if ($iSrcParentId != 0) + $aFilesToLoad = array(); + // This is the correct way to loop over the directory. (according the documentation) + while (($sFile = readdir($hDir)) !== false) { - if (isset($aReplicas[$iSrcParentId])) + $sExtension = pathinfo($sFile, PATHINFO_EXTENSION ); + if (strcasecmp($sExtension, 'xml') == 0) { - $oParentMenu = $aReplicas[$iSrcParentId]['dstObj']; - $oMenu = $aReplica['dstObj']; - $oMenu->Set('parent_id', $oParentMenu->GetKey()); - $oMenu->DBUpdate(); + $aFilesToLoad[] = SETUP_DATA_DIR.'/'.$sFile; } + } + closedir($hDir); + // Load order is important we expect the files to be ordered + // like numbered 1.Organizations.xml 2.Locations.xml , etc. + asort($aFilesToLoad); + // Menus can be loaded any time... like here at the end + + $oP->add("\n"); } - - $oP->ok("Standard menus have been created successfully."); - return true; -} - -/** - * Helper function to load sample data into the database - */ -function LoadSampleData(setup_web_page $oP) -{ - $oP->log('Info - LoadSampleData'); - - $oP->ok("Sample data loaded into the database."); - return true; -} - + else + { + $oP->error("Data directory (".SETUP_DATA_DIR.") no found or not readable."); + } +} /** * Display the form for the first step of the configuration wizard @@ -241,7 +227,7 @@ function DisplayStep1(setup_web_page $oP) { $sRedStar = '*'; $oP->add("

Step 1: Configuration of the database connection

\n"); - $oP->add("
\n"); + $oP->add("\n"); // Form goes here $oP->add("
Database connection\n"); $aForm = array(); @@ -367,28 +353,34 @@ function DisplayStep4(setup_web_page $oP, Config $oConfig, $sAdminUser, $sAdminP $oP->add("

iTop configuration wizard

\n"); $oP->add("

Creation of the administrator account

\n"); - $oP->add("\n"); + $oP->add("\n"); if (CreateAdminAccount($oP, $oConfig, $sAdminUser, $sAdminPwd)) { $oP->add("

Step 4: Loading of sample data

\n"); $oP->p("
Do you want to load sample data into the database ? \n"); - $oP->p(" Yes, for testing purposes, populate the database with sample data.\n"); + $oP->p(" Yes, for testing purposes, populate the database with sample data.\n"); $oP->p(" No, this is a production system, I will load real data myself.\n"); $oP->p("
\n"); - $oP->add("\n"); // To be compatible with login page - $oP->add("\n"); // To be compatible with login page - $oP->add("\n"); $oP->add("\n"); $oP->add("    \n"); - $oP->add("\n"); + $oP->add("\n"); } else { // Creation failed $oP->add("\n"); } - // Form goes here + // End of visible form $oP->add("\n"); + // Hidden form + $oP->add("
\n"); + $oP->add("\n"); // To be compatible with login page + $oP->add("\n"); // To be compatible with login page + $oP->add("\n"); + $oP->add("
\n"); + $oP->add_linked_script('./jquery.progression.js'); + + PopulateDataFilesList($oP); } /** * Display the form for the fifth (and final) step of the configuration wizard @@ -396,7 +388,7 @@ function DisplayStep4(setup_web_page $oP, Config $oConfig, $sAdminUser, $sAdminP * 1) Creating the final configuration file * 2) Prompting the user to make the file read-only */ -function DisplayStep5(setup_web_page $oP, Config $oConfig, $sAuthUser, $sAuthPwd, $bLoadSampleData) +function DisplayStep5(setup_web_page $oP, Config $oConfig, $sAuthUser, $sAuthPwd) { try { @@ -419,11 +411,7 @@ function DisplayStep5(setup_web_page $oP, Config $oConfig, $sAuthUser, $sAuthPwd $oP->add("

iTop configuration wizard

\n"); $oP->add("

Configuration completed

\n"); $oP->add("
\n"); - LoadStandardMenus($oP); - if ($bLoadSampleData) - { - LoadSampleData($oP); - } + $oP->ok("The initialization completed successfully."); // Form goes here $oP->add("\n"); $oP->add("    \n"); @@ -535,10 +523,9 @@ switch($sOperation) case 'step5': $oP->no_cache(); $oP->log("Info - ========= Wizard step 5 ========"); - $bLoadSampleData = (Utils::ReadParam('sample_data', 'no') == 'yes'); $sAdminUser = Utils::ReadParam('auth_user'); $sAdminPwd = Utils::ReadParam('auth_pwd'); - DisplayStep5($oP, $oConfig, $sAdminUser, $sAdminPwd, $bLoadSampleData); + DisplayStep5($oP, $oConfig, $sAdminUser, $sAdminPwd); break; default: diff --git a/setup/jquery.progression.js b/setup/jquery.progression.js new file mode 100644 index 000000000..9f9d4ea52 --- /dev/null +++ b/setup/jquery.progression.js @@ -0,0 +1,193 @@ +/* + * Progression - jQuery plugin for Progress Bar 1.3 + * + * http://www.anthor.net/fr/jquery-progression.html + * + * Copyright (c) 2008 FOURNET Loïc + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + */ + +(function($) { + $.fn.progression = function(options) { + // Récupération des options par défaut + var opts = $.extend({ + Current: 50, + Maximum: 100, + Background: '#FFFFFF', + TextColor: '#000000', + aBackground: '#FF0000', + aTextColor: '#FFFFFF', + BorderColor: '#000000', + Animate: true, + AnimateTimeOut: 3000, + Easing: 'linear', + startFct : null, + endFct : null + }, $.fn.progression.defaults, options); + + if(options) + var newCurrent = options.Current; + + // Boucle sur les éléments appelés + return this.each(function() { + $this = $(this); // Elément en cours + $innerdiv=$this.find(".progress"); // On recherche si l'élément a déjà été traité + + // Options Spécifiques + Métadata ? + var o = $.metadata ? $.extend({}, opts, $this.metadata()) : opts; + + // Premier traitement de l'élément, pour la mise en place + if($innerdiv.length!=1) + BuildBarre($this, o); + else + { + // Si c'est une nouvelle valeur, la fonction doit avoir la priorité sur les métadata + if(newCurrent) + o.Current = newCurrent; + o.Maximum = parseInt($this.attr('pmax')); + } + + // Valeur supérieur au maximum ? + if( o.Current > o.Maximum ) + { + debug('La valeur demandee doit etre inférieur ou egale a la valeur maximale.') + return false; + } + + // Calcul du pourcentage actuel + var aWidth = Math.round(parseInt($this.attr('pcur'))/o.Maximum*100); + // Calcul du nouveaux pourcentage + var Width = Math.round(parseInt(o.Current)/o.Maximum*100); + + //Start Callback + if (typeof o.startFct == 'function') + o.startFct(o); + + if(o.Animate) + { + var oldCurrent = parseInt($this.attr('pcur')); + var Steps = Math.abs(oldCurrent - o.Current); + var StepsTimeOut = Math.floor(o.AnimateTimeOut/o.Maximum); + + $innerdiv.queue("fx", []); + $innerdiv.stop(); + $innerdiv.animate({ width: Width+"%" }, { + duration: Math.round(StepsTimeOut*(Steps+1)), + queue: false, + easing: o.Easing, + complete: function(){ + if (typeof o.endFct == 'function') + o.endFct(o); + } + }); + + for (i=0; i<=Steps; i++) { + $innerdiv.animate({opacity: 1},{ + duration: Math.round(StepsTimeOut*i), + queue: false, + complete: function(){ + if(oldCurrent<=o.Current) + $(this).progressionSetTextTo(oldCurrent++); + else + $(this).progressionSetTextTo(oldCurrent--); + } + }); + } + } + else + { + $innerdiv.css({ width: Width+'%' }); + $innerdiv.progressionSetTextTo(o.Current); + + if (typeof o.endFct == 'function') + o.endFct(o); + } + }); + }; + + // Fonction de création de la barre + function BuildBarre($this, o) { + // On vide la barre + $this.html(''); + + $this.css({ + textAlign: 'left', + position: 'relative', + overflow: 'hidden', + backgroundColor: o.Background, + borderColor: o.BorderColor, + color: o.TextColor + }); + // Si largeur Spécifique + if(o.Width) + $this.css('width', o.Width); + // Si hauteur Spécifique + if(o.Height) + $this.css({ height: o.Height, lineHeight: o.Height }); + // Si image de fond + if(o.BackgroundImg) + $this.css({ backgroundImage: 'url(' + o.BackgroundImg + ')' }); + + $innerdiv=$("
"); + + $("
 
").css({ + position: 'absolute', + width: '100%', + height: '100%', + textAlign: 'center' + }).appendTo($this); + + $(" ") + .css({ + position: 'absolute', + width: $this.width(), + textAlign: 'center' + }) + .appendTo($innerdiv); + + $this.append($innerdiv); + + // On applique le CSS de $innerdiv + $innerdiv.css({ + position: 'absolute', + width: 0, + height: '100%', + overflow: 'hidden', + backgroundColor: o.aBackground, + color: o.aTextColor + }); + // Si image de fond active + if(o.aBackgroundImg) + $innerdiv.css({ backgroundImage: 'url(' + o.aBackgroundImg + ')' }); + + $this.attr('pmax', o.Maximum); + $this.attr('pcur', 0); + }; + + // Fonction pour aller à une valeur précise + $.fn.progressionSetTextTo = function(i) { + return this.each(function() { + $this = $(this).parent(); + if($this.attr('pmax')!=100) + $this.find(".text").html(i+"/"+$this.attr('pmax')); + else + $this.find(".text").html(i+" %"); + + $this.attr('pcur', i); + }); + }; + + // Fonction d'impression dans la console javascript + function debug($txt) { + if (window.console && window.console.log) + window.console.log('jQuery Progression: ' + $txt); + }; + + + $.fn.progression.defaults = {}; + +})(jQuery); \ No newline at end of file diff --git a/setup/menus.xml b/setup/menus.xml index c3cb970ff..ca6bdeb5d 100644 --- a/setup/menus.xml +++ b/setup/menus.xml @@ -1,25 +1,25 @@ - - - -0 -Admin Tools - -UI.php + + + +0 +Admin Tools + +UI.php -7 -application - - -5 -All Applications - -UI.php + +7 +application + + +5 +All Applications + +UI.php -999 -application - - -5 -All Circuits - -UI.php + +999 +application + + +5 +All Circuits + +UI.php -999 -application - - -64 -All Contracts - -./UI.php + +999 +application + + +64 +All Contracts + +./UI.php -2 -application - - -5 -All Interfaces - -UI.php +</div> +2 +application + + +5 +All Interfaces + +UI.php -999 -application - - -5 -All Network devices - -UI.php + +999 +application + + +5 +All Network devices + +UI.php -999 -application - - -5 -All Patches - -UI.php + +999 +application + + +5 +All Patches + +UI.php -999 -application - - -5 -All PCs - -UI.php + +999 +application + + +5 +All PCs + +UI.php -999 -application - - -5 -All Servers - -UI.php + +999 +application + + +5 +All Servers + +UI.php -999 -application - - -1 -Audit - -/pages/audit.php - -4 -application - - -17 -Backup & Restore - -./db_importer.php - -998 -application - - -0 -Change Management - -./UI.php - +999 +application + + +1 +Audit + +/pages/audit.php + +4 +application + + +17 +Backup & Restore + +./db_importer.php + +998 +application + + +0 +Change Management + +./UI.php + -4 -application - - -66 -Closed Changes - -UI.php + +4 +application + + +66 +Closed Changes + +UI.php -2 -application - - -61 -Closed Incident - -./UI.php +</div> +2 +application + + +61 +Closed Incident + +./UI.php -2 -application - - -1 -Configuration Items - -UI.php +</div> +2 +application + + +1 +Configuration Items + +UI.php -2 -application - - -0 -Configuration Management - -UI.php +</table> +2 +application + + +0 +Configuration Management + +UI.php -2 -application - - -1 -Contacts - -UI.php +</table> + + +2 +application + + +1 +Contacts + +UI.php -1 -application - - -17 -CSV import - -csvimport.php - -998 -application - - -1 -Document - -UI.php +</table> +1 +application + + +17 +CSV import + +csvimport.php + +998 +application + + +17 +Data Model + +schema.php + +999 +application + + +1 +Document + +UI.php -6 -application - - -17 -Export - -./export.php - -1000 -application - - -1 -Grouping - -UI.php +</div> +6 +application + + +17 +Export + +./export.php + +1000 +application + + +1 +Grouping + +UI.php -3 -application - - -0 -Incident Management - -./UI.php - +3 +application + + +0 +Incident Management + +./UI.php + -3 -application - - -61 -Known Errors - -./UI.php +</table> + +3 +application + + +61 +Known Errors + +./UI.php -999 -application - - -1 -Locations - -UI.php +</div> +999 +application + + +1 +Locations + +UI.php -5 -application - - -0 -My Bookmarks - -UI.php - -7 -user - - -57 -My Cisco Devices - -UI.php - -1 -user - - -57 -My Client Server - -UI.php - -1 -user - - -64 -Negociating contracts - -UI.php +</div> +5 +application + + +64 +Negociating contracts + +UI.php -1 -application - - -17 -Objects Schema - -schema.php - -999 -application - - -66 -Open Changes - -./UI.php +</div> +1 +application + + +66 +Open Changes + +./UI.php -1 -application - - -61 -Open Incidents - -UI.php +</div> +1 +application + + +61 +Open Incidents + +UI.php -1 -application - - -2 -Persons - -UI.php +</div> +1 +application + + +2 +Persons + +UI.php -7 -application - - -17 -Run queries - -./sibusql.php - -1001 -application - - -66 -Scheduled Outages - -./UI.php +</div> +7 +application + + +17 +Run queries + +./sibusql.php + +1001 +application + + +66 +Scheduled Outages + +./UI.php -999 -application - - -0 -Service Management - -./UI.php - +999 +application + + +0 +Service Management + +./UI.php + -5 -application - - -2 -Teams - -UI.php +<tr> +<td class="dashboard"> +<p style="text-align:left; font-family:Verdana, Arial, sans-serif; font-size:16px;">Contracts ending in 30 days</p> +<itopblock BlockClass="DisplayBlock" objectclass="bizContract" type="list" parameters="dashboard:true" asynchronous="false" encoding="text/oql">SELECT bizContract WHERE bizContract.end_prod = (TO_DAYS(NOW()) + TO_DAYS(30))</itopblock> +</td> +</tr> +</table> + +5 +application + + +2 +Teams + +UI.php -8 -application - - -17 -Universal Search - -UniversalSearch.php - -999 -application - - \ No newline at end of file +</div> +8 +application + + +17 +Universal Search + +UniversalSearch.php + +999 +application + + +0 +Welcome + +./UI.php + +1 +application + + diff --git a/setup/orange-progress.gif b/setup/orange-progress.gif new file mode 100644 index 000000000..eec03c09e Binary files /dev/null and b/setup/orange-progress.gif differ diff --git a/setup/setup.js b/setup/setup.js index 90ccb9f7e..f407a199d 100644 --- a/setup/setup.js +++ b/setup/setup.js @@ -74,6 +74,9 @@ function DoSubmit(sMsg, iStep) bResult = false; } break; + + case 4: + bResult = DoLoadDataAsynchronous(); } if (bResult) { @@ -81,3 +84,55 @@ function DoSubmit(sMsg, iStep) } return bResult; } + +var aFilesToLoad = new Array(); + +function DoLoadDataAsynchronous() +{ + // Check if sample data must be loaded, or just the menus + aFilesToLoad[aFilesToLoad.length] = './menus.xml'; // First load the menus + if (($("#sample_data:checked").length == 1)) + { + PopulateDataFilesList(); // Function created in PHP to get the list of XML files on the server + } + $('#setup').block({message: '

Loading data...

0%

'}); + $('#progress').progression( {Current:0, Maximum: 100, aBackgroundImg: 'orange-progress.gif', aTextColor: '#000000'} ); + LoadNextDataFile('', ''); + return false; // Stop here for now +} + +var iCounter = 0; + +function LoadNextDataFile(sData, sTextStatus) +{ + //$("#progress").html(sData); + if (iCounter < aFilesToLoad.length) + { + if (iCounter == (aFilesToLoad.length - 1)) + { + // Last file in the list (or only 1 file), this completes the session + sSessionStatus = 'end'; + } + else if (iCounter == 0) + { + // First file in the list, start the session + sSessionStatus = 'start'; + } + else + { + sSessionStatus = 'continue'; + } + iPercent = Math.round((100.0 * (1+iCounter)) / aFilesToLoad.length); + sFileName = aFilesToLoad[iCounter]; + //alert('Loading file '+sFileName+' ('+iPercent+' %) - '+sSessionStatus); + $("#progress").progression({ Current: iPercent }); + iCounter++; + $.get( 'ajax.dataloader.php', { 'file': sFileName, 'percent': iPercent, 'session_status': sSessionStatus }, LoadNextDataFile, 'html'); + } + else + { + // We're done + $('#setup').unblock(); + $('#GoToNextStep').submit(); // Use the hidden form to navigate to the next step + } +} diff --git a/setup/setuppage.class.inc.php b/setup/setuppage.class.inc.php index 9cec218db..4ed7aade4 100644 --- a/setup/setuppage.class.inc.php +++ b/setup/setuppage.class.inc.php @@ -90,6 +90,14 @@ table.formTable { .wizhelp { color: #333; font-size: 8pt; +} +#progress { + border:1px solid #000000; + width: 180px; + height: 20px; + line-height: 20px; + text-align: center; + margin: 5px; } "); } @@ -154,7 +162,7 @@ table.formTable { return parent::output(); } - public function log($sText) + public static function log($sText) { $hLogFile = @fopen(INSTALL_LOG_FILE, 'a'); if ($hLogFile !== false) diff --git a/setup/xmldataloader.class.inc.php b/setup/xmldataloader.class.inc.php new file mode 100644 index 000000000..ee8d5c016 --- /dev/null +++ b/setup/xmldataloader.class.inc.php @@ -0,0 +1,278 @@ +StartSession(); + * $oLoader->LoadFile('./organizations.xml'); + * $oLoader->LoadFile('./locations.xml'); + * $oLoader->EndSession(); + */ +class XMLDataLoader +{ + protected $m_aKeys; + protected $m_aObjectsCache; + protected $m_bSessionActive; + protected $m_oChange; + protected $m_sCacheFileName; + + public function __construct($sConfigFileName) + { + $this->m_aKeys = array(); + $this->m_aObjectsCache = array(); + $this->m_oChange = null; + $this->m_sCacheFileName = dirname(__FILE__).'/'.KEYS_CACHE_FILE; + $this->InitDataModel($sConfigFileName); + $this->LoadKeysCache(); + $this->m_bSessionActive = true; + + } + + public function StartSession($oChange) + { + $this->m_oChange = $oChange; + $this->m_bSessionActive = true; + } + + public function EndSession() + { + $this->ResolveExternalKeys(); + $this->m_bSessionActive = false; + } + + public function __destruct() + { + // Stopping in the middle of a session, let's save the context information + if ($this->m_bSessionActive) + { + $this->SaveKeysCache(); + } + else + { + $this->ClearKeysCache(); + } + } + + /** + * Initializes the ORM (MetaModel) + */ + protected function InitDataModel($sConfigFileName, $bAllowMissingDatabase = true) + { + require_once('../core/coreexception.class.inc.php'); + require_once('../core/attributedef.class.inc.php'); + require_once('../core/filterdef.class.inc.php'); + require_once('../core/stimulus.class.inc.php'); + require_once('../core/MyHelpers.class.inc.php'); + require_once('../core/expression.class.inc.php'); + require_once('../core/cmdbsource.class.inc.php'); + require_once('../core/sqlquery.class.inc.php'); + require_once('../core/dbobject.class.php'); + require_once('../core/dbobjectsearch.class.php'); + require_once('../core/dbobjectset.class.php'); + require_once('../core/userrights.class.inc.php'); + MetaModel::Startup($sConfigFileName, $bAllowMissingDatabase); + } + + /** + * Stores the keys & object cache in a file + */ + protected function SaveKeysCache() + { + $hFile = @fopen($this->m_sCacheFileName, 'w'); + if ($hFile !== false) + { + $sData = serialize( array('keys' => $this->m_aKeys, + 'objects' => $this->m_aObjectsCache, + 'change' => $this->m_oChange)); + fwrite($hFile, $sData); + fclose($hFile); + } + else + { + echo "

Error: Cannot write to file: '{$this->m_sCacheFileName}'!

"; + } + } + + /** + * Loads the keys & object cache from the tmp file + */ + protected function LoadKeysCache() + { + $sFileContent = @file_get_contents($this->m_sCacheFileName); + if (!empty($sFileContent)) + { + $aCache = unserialize($sFileContent); + $this->m_aKeys = $aCache['keys']; + $this->m_aObjectsCache = $aCache['objects']; + $this->m_oChange = $aCache['change']; + } + } + + /** + * Remove the tmp file used to store the keys cache + */ + protected function ClearKeysCache() + { + if(is_file($this->m_sCacheFileName)) + { + unlink($this->m_sCacheFileName); + } + else + { + //echo "

Hm, it looks like the file does not exist!!!

"; + } + $this->m_aKeys = array(); + $this->m_aObjectsCache = array(); + } + + /** + * Helper function to load the objects from a standard XML file into the database + */ + function LoadFile($sFilePath) + { + global $aKeys; + + $oXml = simplexml_load_file($sFilePath); + + $aReplicas = array(); + foreach($oXml as $sClass => $oXmlObj) + { + $iSrcId = (integer)$oXmlObj['id']; // Mandatory to cast + + // Import algorithm + // Here enumerate all the attributes of the object + // for all attribute that is neither an external field + // not an external key, assign it + // Store all external keys for further reference + // Create the object an store the correspondence between its newly created Id + // and its original Id + // Once all the objects have been created re-assign all the external keys to + // their actual Ids + $oTargetObj = MetaModel::NewObject($sClass); + foreach(MetaModel::ListAttributeDefs($sClass) as $sAttCode=>$oAttDef) + { + if (($oAttDef->IsWritable()) && ($oAttDef->IsScalar()) && ($sAttCode != 'finalclass') ) + { + if ($oAttDef->IsExternalKey()) + { + $iDstObj = (integer)($oXmlObj->$sAttCode); + $iExtKey = $this->GetObjectKey($oAttDef->GetTargetClass(), $iDstObj); + if ($iExtKey == 0) + { + $iExtKey = -$iDstObj; // Convention: Unresolved keys are stored as negative ! + } + $oTargetObj->Set($sAttCode, $iExtKey); + } + else + { + $oTargetObj->Set($sAttCode, (string)$oXmlObj->$sAttCode); + } + } + } + $this->StoreObject($sClass, $oTargetObj, $iSrcId); + } + return true; + } + + /** + * Get the new ID of an object in the database given its original ID + * This may fail (return 0) if the object has not yet been created in the database + * This is why the order of the import may be important + */ + protected function GetObjectKey($sClass, $iSrcId) + { + if (isset($this->m_aKeys[$sClass]) && isset($this->m_aKeys[$sClass][$iSrcId])) + { + return $this->m_aKeys[$sClass][$iSrcId]; + } + return 0; + } + + /** + * Store an object in the database and remember the mapping + * between its original ID and the newly created ID in the database + */ + protected function StoreObject($sClass, $oTargetObj, $iSrcId) + { + try + { + if (is_subclass_of($oTargetObj, 'CMDBObject')) + { + $iObjId = $oTargetObj->DBInsertTracked($this->m_oChange); + } + else + { + $iObjId = $oTargetObj->DBInsert(); + } + + } + catch(Exception $e) + { + echo $e->GetHtmlDesc(); + } + $aParentClasses = MetaModel::EnumParentClasses($sClass); + $aParentClasses[] = $sClass; + foreach($aParentClasses as $sObjClass) + { + $this->m_aKeys[$sObjClass][$iSrcId] = $iObjId; + } + $this->m_aObjectsCache[$sClass][$iObjId] = $oTargetObj; + } + + /** + * Maps an external key to its (newly created) value + */ + protected function ResolveExternalKeys() + { + foreach($this->m_aObjectsCache as $sClass => $oObjList) + { + foreach($oObjList as $oTargetObj) + { + $bChanged = false; + $sClass = get_class($oTargetObj); + foreach(MetaModel::ListAttributeDefs($sClass) as $sAttCode=>$oAttDef) + { + if ( ($oAttDef->IsExternalKey()) && ($oTargetObj->Get($sAttCode) < 0) ) // Convention unresolved key = negative + { + $iExtKey = $this->GetObjectKey($oAttDef->GetTargetClass(), -$oTargetObj->Get($sAttCode)); + if ($iExtKey == 0) + { + echo "Warning: unresolved extkey in $sClass::".$oTargetObj->GetName()."(".$oTargetObj->GetKey().")::$sAttCode=".$oAttDef->GetTargetClass()."[".$oTargetObj->Get($sAttCode)."]
\n"; + echo "
aKeys[".$oAttDef->GetTargetClass()."]:\n";
+							print_r($this->m_aKeys[$oAttDef->GetTargetClass()]);
+							echo "
\n"; + } + else + { + $bChanged = true; + $oTargetObj->Set($sAttCode, $iExtKey); + } + } + } + if ($bChanged) + { + try + { + if (is_subclass_of($oTargetObj, 'CMDBObject')) + { + $oTargetObj->DBUpdateTracked($this->m_oChange); + } + else + { + $oTargetObj->DBUpdate(); + } + } + catch(Exception $e) + { + echo $e->GetHtmlDesc(); + } + } + } + } + + return true; + } +} +?>