Geekeries !

Fil des billets - Fil des commentaires

Sous-catégories

jeudi, juillet 9 2015

FortiSSLVPNClient bloque à 98% sous windows 8.1

Voici la procédure en cas de probleme avec FortiSSLVPN CLient qui bloque a 98% sur windows 8.1

1. Open IE, go to Options -> Connections -> Remove FortiSSL device

2. Go to Control Panel -> Programs and features -> FortiSSL client -> Open, select REPAIR package

3. Open Network connections and you will se new FortiSSL device with icon of vintage phone.

4. Test and it should work now

Sous windows 7 la desactivation et IPV6 et un reboot suffise souvent a corrgier le probleme

mardi, avril 14 2015

VMware ESXi status S.M.A.R.T

Pour contrôler l'état S.M.A.R.T des disques sur un serveur ESXi un script est a disposition.

Pour l'utiliser :

- Se connecter en SSH sur le serveur

- Se rendre dans le répertoire : /usr/lib/vmware/vm-support/bin

- Exécuter le script : ./smartinfo.sh

Ce qui renvoi un tableau des états S.M.A.R.T de l'ensemble des disques du système.

 Device:  t10.ATA_WDC_WD10EZRX2D22L4HB0_WD2DWCC4J0963826
 Parameter                     Value  Threshold  Worst
 -
 Health Status                 OK     N/A        N/A
 Media Wearout Indicator       N/A    N/A        N/A
 Write Error Count             N/A    N/A        N/A
 Read Error Count              200    51         200
 Power-on Hours                92     0          91
 Power Cycle Count             100    0          100
 Reallocated Sector Count      200    140        200
 Raw Read Error Rate           200    51         200
 Drive Temperature             108    0          103
 Driver Rated Max Temperature  N/A    N/A        N/A
 Write Sectors TOT Count       200    0          200
 Read Sectors TOT Count        200    0          200
 Initial Bad Block Count       N/A    N/A        N/A

mardi, février 10 2015

Configurer un proxy HTTP sur SVN

Pour configurer un proxy HTTP dans SVN la première methode et d'utiliser la variable d'environnement :

export http_proxy=http://mon-proxy-server.com:8080/ (Dommage avec SVN ca ne fonctionne pas)

Pour SVN il faud configurer le fichier :

Win : C:\Documents and Settings\user\Application Data\Subversion\servers Linux: /etc/subversion/servers

Décommenter les lignes ci dessous et completer avec les informations de votre proxy

global http-proxy-host = mon-proxy-server.com http-proxy-port = 8080

si vous avez un message du genre :

svn: C:\Documents and Settings\user\Application Data\Subversion\servers:144: Option expected

C'est que vous avez laissé un espace en début de ligne !

mardi, décembre 30 2014

Mise à jour VMWare ESXi

Voici la procédure utilisé pour migrer mon serveur HP N54L de esxi 5.1 standard vers esxi 5.5 HP Bundle.

1°)Télécharger le Zip de la mise à jour ici : https://www.vmware.com/patchmgr/findPatch.portal

2°)Copier le fichier télécharger dans le datastore

3°)Entrer le serveur en mode maintenance

4°)Dans un CLI lancer la commande :

esxcli software vib update -d /vmfs/volumes/<your_volume>/update-from-esxiXXXXX_update01.zip

5°)Redémarrer le serveur avec la commande : reboot

6°)Quitter le mode maintenance.

Mise à jour avec les VIB HP

Les vib son dispo ici : http://vibsdepot.hpe.com/hpe/

La commande pour mettre à jour :

esxcli software vib install -d http://vibsdepot.hp.com/hpq/<release date="">/index.xml</release>

samedi, janvier 18 2014

Install ESXi 5.X on HP Microserver with 2GB memory

Boot the system from USB Stick with ESXi installer on it.

Once the installer welcome screen shows up, press alt+F1 to go to the first console (login prompt)

Login as root, no password.

  1. cd /usr/lib/vmware/weasel/util

There are a few files but the upgrade_precheck.py is of interest to us

  1. rm upgrade_precheck.pyc // (the compiled version) -
  1. mv upgrade_precheck.py upgrade_precheck.py.old // because the file can not be edited due to some immortal flags and lack of tools to remove these flags
  1. cp upgrade_precheck.py.old upgrade_precheck.py
  1. vi upgrader_precheck.py // then search for line that has ((1024 * 2 ) - 32)

Replace value of MEM_MIN_SIZE =(4 * 1024 -32) Size_MiB with something like this (1 * 1024 -32) and save (:w! in vi)

  1. ps -c | grep weas // find the PID
  1. kill -9 #### // where #### is the python PID

Return to the second console with installer (alt+F2) Continue as normal

- page 2 de 31 -