30.07.2015 Views

Unix2Aix - ou comment devenir un parfait admin AIX ... - Linux-France

Unix2Aix - ou comment devenir un parfait admin AIX ... - Linux-France

Unix2Aix - ou comment devenir un parfait admin AIX ... - Linux-France

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1. Démarrage du système : initinittab : 10 niveaux d’exécution (de 0 à 9). Par défaut : 2.Commandes :shutdown -m : passe en mode mono-utilisateur, arrête TCP/IPtelinit 2 : repasse au niveau d’exécution 2P<strong>ou</strong>r éditer /etc/inittab et garantir qu’il n’y a auc<strong>un</strong>e erreur de syntaxe (p<strong>ou</strong>vant entraîner le nonredémarrage de la machine), utiliser les commandes :mkitabchitab, etrmitab.P<strong>ou</strong>r que le système relise le fichier /etc/inittab, exécuter :# telinit q#P<strong>ou</strong>r afficher le niveau d’exécution c<strong>ou</strong>rant :# who -r. r<strong>un</strong>-level 2 30 déc 10:01 2 0 S#Top2. Démarrage des services : System Res<strong>ou</strong>rce ControllerLa gestion des services se fait avec SRC (System Res<strong>ou</strong>rce Controller).On distingue s<strong>ou</strong>s <strong>AIX</strong> deux notions :<strong>un</strong> s<strong>ou</strong>s-système, conçu p<strong>ou</strong>r exécuter <strong>un</strong>e tâche bien définie (exemple : lpd)<strong>un</strong> gr<strong>ou</strong>pe de s<strong>ou</strong>s systèmes (exemple : spooler).Les commandes :lssrc permet d’afficher l’état des SRCstartrsc permet de démarrer <strong>un</strong> gr<strong>ou</strong>pe <strong>ou</strong> <strong>un</strong> s<strong>ou</strong>s-systèmestopsrc permet d’arrêter <strong>un</strong> gr<strong>ou</strong>pe <strong>ou</strong> <strong>un</strong> s<strong>ou</strong>s-systèmerefresh rafraîchir (relire le fichier de configuration) <strong>un</strong> gr<strong>ou</strong>pe <strong>ou</strong> <strong>un</strong> s<strong>ou</strong>s-système. Eh <strong>ou</strong>i killall-HUP inetd ça ne marchera pas, il faut faire <strong>un</strong> refresh -s inetd.Les options -s et -g permettent de sélectionner <strong>un</strong> système <strong>ou</strong> <strong>un</strong> gr<strong>ou</strong>pe.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!