Sommaire Installation sur un système vierge... 1 Mise à jour du produit... 4 Déployer un nouveau client Windows... 5 Déployer un nouveau client Linux... 5 Auteur : Denis Machard Date : 22/03/2015 Version : 1.1 Installation sur un système vierge 1. Prérequis: a. CentOS 5/6/7 or Redhat 5/6/7 b. Réseau configure avec un accès à Internet c. Remplir le tableau ci-dessous Clés Descriptions Valeurs <INSTALL_PATH> Répertoire d installation /opt/xt/ <EXTERNAL_IP> Adresse publique xxx.xxx.xxx.xxx <EXTERNAL_FQDN> FQDN publique xxxx.xxxxxxxx.xxx <MYSQL_IP> Adresse IP pour accéder à MySQL 127.0.0.1 <MYSQL_LOGIN> Identifiant MySQL root <MYSQL_PASSWORD> Mot de passe MySQL xxxxxxx d. Remplacer les X.X.X en fonction de votre version 2. Déposer le package tar.gz sur votre serveur et décompressez le. Aller dans le nouveau répertoire ExtensiveTesting.X.X.X # tar xf ExtensiveTesting-X.X.X.tar.gz # cd ExtensiveTesting-X.X.X 1
3. Exécuter le script install.sh et répondre aux questions comme ci-dessous #./install.sh = - Installation of the XT product - = = Denis Machard = = www.extensivetesting.org = * Detecting Perl [ OK ] * Download automatically all missing packages? [Yes] * In which directory do you want to install the XT product? [/opt/xtc/] * What is the directory that contains the init scripts? [/etc/init.d/] * What is the external ip of your server? [127.0.0.1] <EXTERNAL_IP> * What is the FQDN associated to the external ip of your server? [127.0.0.1] <EXTERNAL_FQDN> * What is the database name? [xtc70] * What is the table prefix? [xtc] * What is the ip of your mysql server? [127.0.0.1] <MYSQL_IP> * What is the login to connect to your mysql server? [root] <MYSQL_LOGIN> * What is the password of previous user to connect to your mysql server? [] <MYSQL_PASSWORD> * What is the sock file of your mysql server? [/var/lib/mysql/mysql.sock] * Do you want to configure iptables automatically? [Yes]? * Do you want to configure php automatically? [Yes]? * Where is your php conf file? [/etc/php.ini] * Do you want to configure apache automatically? [Yes]? * What is the directory that contains the httpd conf file? [/etc/httpd/conf/] * What is the directory that contains the httpd virtual host conf files? [/etc/httpd/conf.d/] * What is the directory that contains the virtual host? [/var/www/] * Do you want to configure selinux automatically? [No]? * What is the path of the openssl binary? [/usr/bin/openssl] In green: Remplacer les clés vertes en fonction du tableau des prérequis In yellow: Garder la valeur par défaut 4. Merci d attendre durant l installation. * Detecting the operating system [ OK ] * Detecting the system architecture [ OK ] * Adding external libraries... [ OK ] * Detecting Apache [ OK ] * Detecting MySQL [ OK ] * Detecting Postfix [ OK ] * Detecting Openssl [ OK ] * Detecting Php [ OK ] * Copying source files [ OK ] * Adding startup service [ OK ] * Updating configuration files [ OK ] * Creating xtc user [ OK ] * Updating folders rights [ OK ] * Updating iptables [ OK ] * Updating php configuration [ OK ] * Updating httpd configuration [ OK ] * Adding wstunnel module [ OK ] * Adding virtual host [ OK ] 2
* Restarting httpd [ OK ] * Restarting firewall [ OK ] * Restarting mysql [ OK ] * Restarting postfix [ OK ] * Adding the XTC database [ OK ] * Starting the XTC X.X.X server [ OK ] 5. Vérifier le statut du serveur # xtctl status Extensive Testing is running Si le serveur ne démarre pas, merci suivre le guide de «troubleshooting». 6. Vous pouvez accéder aux serveurs avec l adresse: https://<external_fqdn>/ Plusieurs comptes existent par défaut (sans mot de passe) - Admin - Tester - Developer - Leader - Automaton Attention: ne pas oublier de changer les mots de passes 3
Mise à jour du produit 1. Exécuter le script update.sh et répondre aux questions comme ci-dessous Note: si aucun produit n est détecté alors la mise à jour est annulée automatiquement. X.X.X : Ancienne version X.X.X : Nouvelle version #./update.sh = - Update of the XT product - = = Denis Machard = = www.extensivetesting.org = Current product version X.X.X Current database name xtxx New product version: X.X.X New database name: xtxx Are you sure to update the product? (yes or no ) yes Starting update... * Stopping the XT X.X.X server [ OK ] * Detecting Perl [ OK ] * Detecting the operating system [ OK ] * Detecting the system architecture [ OK ] * Adding external libraries... [ OK ] * Detecting Apache [ OK ] * Detecting MySQL [ OK ] * Detecting Postfix [ OK ] * Detecting Openssl [ OK ] * Detecting Php [ OK ] * Copying source files [ OK ] * Adding startup service [ OK ] * Updating configuration files [ OK ] * Creating xt user [ OK ] * Updating folders rights [ OK ] * Updating iptables [ OK ] * Updating php configuration [ OK ] * Updating httpd configuration [ OK ] * Adding wstunnel module [ OK ] * Adding virtual host [ OK ] * Restarting httpd [ OK ] * Restarting firewall [ OK ] * Restarting mysql [ OK ] * Restarting postfix [ OK ] * Adding the XT database [ OK ] * Starting the XT X.X.X server [ OK ] * Stopping the XT X.X.X server [ OK ] * Restoring SUT adapters from X.X.X to X.X.X [ OK ] * Restoring SUT libraries from X.X.X to X.X.X [ OK ] * Restoring database from X.X.X to X.X.X [ OK ] * Updating database model to X.X.X [ OK ] * Restoring tests from X.X.X to X.X.X [ OK ] * Restoring tasks from X.X.X to X.X.X [ OK ] * Restarting the new XT X.X.X server [ OK ] 4
Déployer un nouveau client Windows 1. Aller dans le répertoire <INSTALL_PATH>/current/Packages/Client/ 2. Déposer la nouvelle version dans le répertoire /win32/ [ win32]# ls ExtensiveTesting_Client_X.X.X_Setup.exe 3. Redémarrage non nécessaire, il suffit juste de redéployer les clients via la commande suivante: # xtctl deploy Deploying clients... Deploying agent... Deploying probes... Déployer un nouveau client Linux 1. Aller dans le répertoire suivant <INSTALL_PATH>/current/Packages/Client/ 2. Déposer le nouveau client dans /linux2/ [ linux2]# ls ExtensiveTesting_X.X.X_Setup.tar.gz 4. Redémarrage non nécessaire, il suffit juste de redéployer les clients via la commande suivante: # xtctl deploy Deploying clients... Deploying agent... Deploying probes... 5