Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
solaris [2008/11/15 07:50] – gerard | solaris [2017/08/25 09:56] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Distributions utilisées sur les machines du labo ====== | ====== Distributions utilisées sur les machines du labo ====== | ||
+ | depuis 2011, deux machines sont maintenues | ||
+ | * antigone [[reserve: | ||
+ | * fury Solaris 10 | ||
+ | |||
+ | |||
* Solaris < | * Solaris < | ||
- | * [[reserve:Solaris Express]] sur portables (dellgh) | + | * [[http:// |
- | * [[reserve: | + | * [[reserve: |
- | * [[reserve:nexenta]] testée puis deinstallée | + | * [[http:// |
====== Outils d' | ====== Outils d' | ||
- | * [[reserve: | + | * [[reserve: |
- | * [[reserve: | + | * [[reserve: |
====== Infodocs ====== | ====== Infodocs ====== | ||
+ | * PDF en local [[file:/// | ||
+ | * [[http:// | ||
* [[http:// | * [[http:// | ||
* Gestion de ressources sous Solaris 10 [[http:// | * Gestion de ressources sous Solaris 10 [[http:// | ||
Ligne 38: | Ligne 46: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | |||
+ | |||
====== Tips ====== | ====== Tips ====== | ||
- | [[http:// | + | ===== modifier grub dans opensolaris (boot zfs) ===== |
+ | Avant le boot zfs, il suffisait de booter sur un cd, de monter la partition ufs contenant le /. Avec zfs, il faut récupérer le pool, et accéder à / | ||
+ | |||
+ | Lorsqu' | ||
+ | < | ||
+ | jack@opensolaris: | ||
+ | pool: rpool | ||
+ | id: 7697179275706784463 | ||
+ | | ||
+ | status: The pool was last accessed by another system. | ||
+ | action: The pool can be imported using its name or numeric identifier and | ||
+ | the ' | ||
+ | see: http:// | ||
+ | config: | ||
+ | |||
+ | rpool | ||
+ | c3d0s0 | ||
+ | jack@opensolaris: | ||
+ | cannot mount '/ | ||
+ | cannot mount '/ | ||
+ | jack@opensolaris: | ||
+ | NAME USED AVAIL REFER MOUNTPOINT | ||
+ | rpool | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | rpool/ | ||
+ | </ | ||
+ | /rpool est donc directement accessible: | ||
+ | < | ||
+ | jack@opensolaris: | ||
+ | splashimage / | ||
+ | background 215ECA | ||
+ | timeout 30 | ||
+ | default 3 | ||
+ | #---------- ADDED BY BOOTADM - DO NOT EDIT ---------- | ||
+ | # | ||
+ | |||
+ | title Windows | ||
+ | rootnoverify (hd0,0) | ||
+ | chainloader +1 | ||
+ | |||
+ | # Unknown partition of type 5 found on / | ||
+ | # It maps to the GRUB device: (hd0,1) . | ||
+ | title opensolaris-5 | ||
+ | findroot (pool_rpool, | ||
+ | bootfs rpool/ | ||
+ | kernel$ / | ||
+ | module$ / | ||
+ | # | ||
+ | title opensolaris | ||
+ | findroot (pool_rpool, | ||
+ | bootfs rpool/ | ||
+ | kernel$ / | ||
+ | module$ / | ||
+ | # | ||
+ | title opensolaris-nv | ||
+ | findroot (pool_rpool, | ||
+ | bootfs rpool/ | ||
+ | kernel$ / | ||
+ | module$ / | ||
+ | # | ||
+ | </ | ||
+ | par contre, pour accéder à passwd/ | ||
+ | * http:// | ||
+ | * http:// | ||
+ | |||
+ | |||
+ | ===== Générer un core sur un kernel pour analyse ===== | ||
+ | en cas de problème, et qu'on soit obligé de faire un '' | ||
+ | < | ||
+ | sc> break -c | ||
+ | Are you sure you want to send a break to the system [y/n]? y | ||
+ | Enter | ||
+ | SC Alert: SC Request to send Break to host. | ||
+ | #. to return to ALOM. | ||
+ | Debugging requested; hardware watchdog suspended. | ||
+ | Type ' | ||
+ | {1b} ok sync | ||
+ | |||
+ | panic[cpu27]/ | ||
+ | |||
+ | sched: software trap 0x7f | ||
+ | pid=0, pc=0xf0246438, | ||
+ | g1-g7: 10528d0, 1, 186c400, 0, 0, 0, 2a101901cc0 | ||
+ | |||
+ | 00000000fee79cd0 unix: | ||
+ | %l0-3: 0000000001856e88 000000000188f340 000000000188f000 000000000000017f | ||
+ | %l4-7: 0000000001872c00 0000000000000000 000000000186c400 000000000000001f | ||
+ | 00000000fee79da0 unix: | ||
+ | %l0-3: 000000000182ffd8 0000000000000000 0000000000000001 0000000000000001 | ||
+ | %l4-7: 0000000001822c00 00000000f0200000 0000000001000000 000000000101b59c | ||
+ | 00000000fee79e50 unix: | ||
+ | %l0-3: 0000000000000016 00000000fee79701 00000000f0200000 00000000fff78000 | ||
+ | %l4-7: 0000000001009008 0000000000000000 0000000000000000 00000000f01237f0 | ||
+ | |||
+ | syncing file systems... done | ||
+ | dumping to / | ||
+ | 5% done | ||
+ | |||
+ | |||
+ | </ | ||
+ | la commande sync déclenche le dump du kernel à l' | ||
+ | |||
+ | ===== utilisation de snoop pour debuger un client dhcp ===== | ||
+ | [[http:// | ||
+ | |||
+ | ===== autres outils ===== | ||
+ | * [[http:// | ||
+ | |||
+ | ===== réparer un mirroir SVM ===== | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Anciennes notes ===== | ||
+ | |||
+ | |||
+ | * [[http:// | ||
+ | |||
===== Sauver un fs en cours d' | ===== Sauver un fs en cours d' | ||
Ligne 49: | Ligne 189: | ||
</ | </ | ||
- | ====== Commandes pour changer la configuration du serveur X (Ultra5, 10, SB100) | + | ===== Ajouter un menu dans gdm ===== |
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | ====== Commandes pour changer la configuration du serveur X (Ultra5, 10, SB100) ====== | ||
+ | < | ||
m64config -propt # pour connaitre la configuration actuelle | m64config -propt # pour connaitre la configuration actuelle | ||
m64config -res \? # les configs possibles | m64config -res \? # les configs possibles | ||
Ligne 64: | Ligne 209: | ||
/ | / | ||
+ | </ | ||
====== Une comparaison des outils entre Linux et Solaris | ====== Une comparaison des outils entre Linux et Solaris | ||
Ligne 85: | Ligne 230: | ||
====== SFE ====== | ====== SFE ====== | ||
- | * [[http:// | + | * [[http:// |
Ligne 167: | Ligne 312: | ||
===== le fichier .pkgtoolrc ===== | ===== le fichier .pkgtoolrc ===== | ||
+ | |||
+ | |||
Ligne 177: | Ligne 324: | ||
installra les packages dans / | installra les packages dans / | ||
+ | ====== SourceJuicer ====== | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ====== SVM ====== | ||
+ | SVM: Solaris Volume Manager, utilisé essentiellement pour faire du mirroir (RAID1 logiciel) | ||
+ | |||
+ | ===== Avantages ===== | ||
+ | |||
+ | ===== Inconvénients ===== | ||
+ | en cas de problème, on ne peut pas réparer en single-user (FIXME), il faut casser le mirroir (modifier /etc/system et / | ||
+ | |||
+ | ===== Ressources ===== | ||
+ | * [[http:// |