Initialisation et arrêt des systèmes Oracle® Solaris 11.2

Quitter la vue de l'impression

Mis à jour : Juillet 2014
 
 

SPARC: Initialisation à partir d'un autre système d'exploitation ou environnement d'initialisation

  1. Prenez le rôle root.

    Reportez-vous à la section A l’aide de vos droits administratifs attribués du manuel Sécurisation des utilisateurs et des processus dans Oracle Solaris 11.2 .

  2. Affichez l'invite PROM ok.
    # init 0
  3. (Facultatif)Affichez la liste des environnements d'initialisation disponibles à l'aide de la commande boot avec l'option –L.
  4. Pour initialiser une entrée spécifiée, saisissez son numéro et appuyez sur la touche Entrée :
    Select environment to boot: [1 - 2]:
  5. Pour initialiser le système, suivez les instructions qui s'affichent à l'écran.
    To boot the selected entry, invoke:
    boot [<root-device>] -Z rpool/ROOT/boot-environment
    ok boot -Z rpool/ROOT/boot-environment

    Par exemple :

    # boot -Z rpool/ROOT/zfs2BE
  6. Une fois le système initialisé, vérifiez l'environnement d'initialisation actif.
    # prtconf -vp | grep whoami
  7. (Facultatif)Pour afficher le chemin d'initialisation pour l'environnement d'initialisation actif, tapez la commande suivante :
    # prtconf -vp | grep bootpath
  8. (Facultatif)Pour déterminer si l'environnement d'initialisation correct a été initialisé, tapez la commande suivante :
    # df -lk
Exemple 4-18  SPARC: Initialisation à partir d'un environnement d'initialisation de remplacement

Cet exemple illustre l'exécution de la commande boot –Z pour initialiser un système SPARC à partir d'un environnement d'initialisation de remplacement.

# init 0
root@system-28:~# svc.startd: The system is coming down.  Please wait.
svc.startd: 126 system services are now being stopped.
Jul  3 22:11:33 system-28 syslogd: going down on signal 15
svc.startd: Killing user processes.
umount: /home busy
Jul  3 22:11:50 The system is down.  Shutdown took 23 seconds.
syncing file systems... done
Program terminated
{1c} ok boot -L

SC Alert: Host System has Reset

Sun Fire T200, No Keyboard
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.30.4.d, 16256 MB memory available, Serial #74139288.
Ethernet address 0:14:4f:6b:46:98, Host ID: 846b4698.

Boot device: /pci@780/pci@0/pci@9/scsi@0/disk@0,0:a  File and args: -L
1 Oracle Solaris 11.2 SPARC
2 s11u2_backup
3 s11u2_backup2
Select environment to boot: [ 1 - 3 ]: 3

To boot the selected entry, invoke:
boot [<root-device>] -Z rpool/ROOT/s11u2_backup2

Program terminated
{0} ok boot -Z rpool/ROOT/s11u2_backup2

SC Alert: Host System has Reset

Sun Fire T200, No Keyboard
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.30.4.d, 16256 MB memory available, Serial #74139288.
Ethernet address 0:14:4f:6b:46:98, Host ID: 846b4698.



Boot device: /pci@780/pci@0/pci@9/scsi@0/disk@0,0:a  \
File and args: -Z rpool/ROOT/s11u2_backup2
SunOS Release 5.11 Version 11.2 64-bit
Copyright (c) 1983, 2014, Oracle and/or its affiliates. All rights reserved.
WARNING: consconfig: cannot find driver for
screen device /pci@780/pci@0/pci@8/pci@0/TSI,mko@0
Loading smf(5) service descriptions: Loading smf(5)
service descriptions: Hostname: system-28
.


system-28 console login: Jul  3 22:39:05 system-28