Planifiez tous les déploiements DIO à l'avance pour réduire les indisponibilités.
![]() | Mise en garde - Le domaine primary n'a plus accès au périphérique DVD intégré si vous affectez l'emplacement /SYS/MB/SASHBA1 sur un système SPARC T3-1 ou SPARC T4-1 à un domaine DIO. Les systèmes SPARC T3-1 et SPARC T4-1 comportent deux emplacements d'E/S directes pour un stockage intégré ; ces emplacements sont représentés par les chemins /SYS/MB/SASHBA0 et /SYS/MB/SASHBA1. Outre des disques intégrés à têtes multiples, l'emplacement /SYS/MB/SASHBA1 héberge le périphérique DVD intégré. Par conséquent, si vous affectez /SYS/MB/SASHBA1 à un domaine DIO, le domaine primary n'a plus accès au périphérique DVD intégré. Les systèmes SPARC T3-2 et SPARC T4-2 ont un emplacement SASHBA unique hébergeant tous les disques intégrés ainsi que le périphérique DVD intégré. Par conséquent, si vous affectez SASHBA à un domaine DIO, les disques intégrés et le périphérique DVD intégré sont prêtés au domaine DIO et ne sont pas disponibles pour le domaine primary. |
Pour obtenir un exemple d'ajout de périphérique d'extrémité PCIe pour créer un domaine d'E/S, reportez-vous à la section Planification de la configuration des périphériques d'extrémité PCIe.
Le SE Oracle Solaris 11 inclut les NCP suivants :
DefaultFixed – Vous permet d'utiliser la commande dladm ou ipadm pour gérer la mise en réseau
Automatique – Vous permet d'utiliser la commande netcfg ou netadm pour gérer la mise en réseau
Assurez-vous à l'aide de la commande netadm list que le NCP DefaultFixed est activé. Reportez-vous au Chapitre 7, Using Datalink and Interface Configuration Commands on Profiles du manuel Oracle Solaris Administration: Network Interfaces and Network Virtualization .
La sortie de la commande ldm list-io -l montre comment les périphériques d'E/S sont actuellement configurés. Vous pouvez obtenir des informations plus détaillées à l'aide de la commande prtdiag -v.
primary# ldm list-io -l NAME TYPE BUS DOMAIN STATUS ---- ---- --- ------ ------ niu_0 NIU niu_0 primary [niu@480] niu_1 NIU niu_1 primary [niu@580] pci_0 BUS pci_0 primary [pci@400] pci_1 BUS pci_1 primary [pci@500] /SYS/MB/PCIE0 PCIE pci_0 primary OCC [pci@400/pci@2/pci@0/pci@8] SUNW,emlxs@0/fp/disk SUNW,emlxs@0/fp/tape SUNW,emlxs@0/fp@0,0 SUNW,emlxs@0,1/fp/disk SUNW,emlxs@0,1/fp/tape SUNW,emlxs@0,1/fp@0,0 /SYS/MB/PCIE2 PCIE pci_0 primary OCC [pci@400/pci@2/pci@0/pci@4] pci/scsi/disk pci/scsi/tape pci/scsi/disk pci/scsi/tape /SYS/MB/PCIE4 PCIE pci_0 primary OCC [pci@400/pci@2/pci@0/pci@0] ethernet@0 ethernet@0,1 SUNW,qlc@0,2/fp/disk SUNW,qlc@0,2/fp@0,0 SUNW,qlc@0,3/fp/disk SUNW,qlc@0,3/fp@0,0 /SYS/MB/PCIE6 PCIE pci_0 primary EMP [pci@400/pci@1/pci@0/pci@8] /SYS/MB/PCIE8 PCIE pci_0 primary EMP [pci@400/pci@1/pci@0/pci@c] /SYS/MB/SASHBA PCIE pci_0 primary OCC [pci@400/pci@2/pci@0/pci@e] scsi@0/iport@1 scsi@0/iport@2 scsi@0/iport@4 scsi@0/iport@8 scsi@0/iport@80/cdrom@p7,0 scsi@0/iport@v0 /SYS/MB/NET0 PCIE pci_0 primary OCC [pci@400/pci@1/pci@0/pci@4] network@0 network@0,1 /SYS/MB/PCIE1 PCIE pci_1 primary OCC [pci@500/pci@2/pci@0/pci@a] SUNW,qlc@0/fp/disk SUNW,qlc@0/fp@0,0 SUNW,qlc@0,1/fp/disk SUNW,qlc@0,1/fp@0,0 /SYS/MB/PCIE3 PCIE pci_1 primary OCC [pci@500/pci@2/pci@0/pci@6] network@0 network@0,1 network@0,2 network@0,3 /SYS/MB/PCIE5 PCIE pci_1 primary OCC [pci@500/pci@2/pci@0/pci@0] network@0 network@0,1 /SYS/MB/PCIE7 PCIE pci_1 primary EMP [pci@500/pci@1/pci@0/pci@6] /SYS/MB/PCIE9 PCIE pci_1 primary EMP [pci@500/pci@1/pci@0/pci@0] /SYS/MB/NET2 PCIE pci_1 primary OCC [pci@500/pci@1/pci@0/pci@5] network@0 network@0,1 ethernet@0,80 /SYS/MB/NET0/IOVNET.PF0 PF pci_0 primary [pci@400/pci@1/pci@0/pci@4/network@0] maxvfs = 7 /SYS/MB/NET0/IOVNET.PF1 PF pci_0 primary [pci@400/pci@1/pci@0/pci@4/network@0,1] maxvfs = 7 /SYS/MB/PCIE5/IOVNET.PF0 PF pci_1 primary [pci@500/pci@2/pci@0/pci@0/network@0] maxvfs = 63 /SYS/MB/PCIE5/IOVNET.PF1 PF pci_1 primary [pci@500/pci@2/pci@0/pci@0/network@0,1] maxvfs = 63 /SYS/MB/NET2/IOVNET.PF0 PF pci_1 primary [pci@500/pci@1/pci@0/pci@5/network@0] maxvfs = 7 /SYS/MB/NET2/IOVNET.PF1 PF pci_1 primary [pci@500/pci@1/pci@0/pci@5/network@0,1] maxvfs = 7
Reportez-vous à l'étape 2 de la section Procédure de création d'un domaine root par affectation d'un bus PCIe.
Reportez-vous à l'étape 3 de la section Procédure de création d'un domaine root par affectation d'un bus PCIe.
Reportez-vous à l'étape 4 de la section Procédure de création d'un domaine root par affectation d'un bus PCIe.
La commande suivante utilise l'interface réseau igb0 :
primary# ls -l /dev/igb0 lrwxrwxrwx 1 root root 46 Jul 30 17:29 /dev/igb0 -> ../devices/pci@500/pci@0/pci@8/network@0:igb0
Dans cet exemple, le périphérique physique de l'interface réseau utilisée par le domaine primary est connecté au périphérique d'extrémité PCIe (pci@500/pci@0/pci@8), qui correspond à la liste de MB/NET0 à l'étape 1. Par conséquent, vous ne voulez pas supprimer ce périphérique du domaine primary. Vous pouvez assigner en toute sécurité tous les autres périphériques PCIe aux autres domaines, car ils ne sont pas utilisés par le domaine primary.
Si l'interface réseau utilisée par le domaine primary se trouve sur un bus que vous voulez assigner à un autre domaine, le domaine primary doit être reconfiguré pour utiliser une interface réseau différente.
Dans cet exemple, vous pouvez supprimer les périphériques d'extrémité PCIE2, PCIE3, PCIE4 et PCIE5, car ils ne sont pas utilisés par le domaine primary.
![]() | Mise en garde - Ne supprimez pas les périphériques utilisés ou requis par le domaine primary. Ne supprimez pas un bus dont les périphériques (tels que les ports réseau) sont utilisés par un domaine. Si vous supprimez par erreur les mauvais périphériques, utilisez la commande ldm cancel-reconf primary pour annuler la reconfiguration retardée sur le domaine primary. |
Vous pouvez supprimer plusieurs périphériques à la fois pour éviter plusieurs réinitialisations.
primary# ldm start-reconf primary primary# ldm set-io iov=on pci_1 All configuration changes for other domains are disabled until the primary domain reboots, at which time the new configuration for the primary domain will also take effect. primary# ldm remove-io /SYS/MB/PCIE1 primary ------------------------------------------------------------------------------ Notice: The primary domain is in the process of a delayed reconfiguration. Any changes made to the primary domain will only take effect after it reboots. ------------------------------------------------------------------------------ primary# ldm remove-io /SYS/MB/PCIE3 primary ------------------------------------------------------------------------------ Notice: The primary domain is in the process of a delayed reconfiguration. Any changes made to the primary domain will only take effect after it reboots. ------------------------------------------------------------------------------ primary# ldm remove-io /SYS/MB/PCIE5 primary ------------------------------------------------------------------------------ Notice: The primary domain is in the process of a delayed reconfiguration. Any changes made to the primary domain will only take effect after it reboots. ------------------------------------------------------------------------------
La commande suivante enregistre la configuration dans un fichier nommé dio :
primary# ldm add-config dio
primary# shutdown -i6 -g0 -y
primary# ldm list-io NAME TYPE BUS DOMAIN STATUS ---- ---- --- ------ ------ niu_0 NIU niu_0 primary niu_1 NIU niu_1 primary pci_0 BUS pci_0 primary pci_1 BUS pci_1 primary IOV /SYS/MB/PCIE0 PCIE pci_0 primary OCC /SYS/MB/PCIE2 PCIE pci_0 primary OCC /SYS/MB/PCIE4 PCIE pci_0 primary OCC /SYS/MB/PCIE6 PCIE pci_0 primary EMP /SYS/MB/PCIE8 PCIE pci_0 primary EMP /SYS/MB/SASHBA PCIE pci_0 primary OCC /SYS/MB/NET0 PCIE pci_0 primary OCC /SYS/MB/PCIE1 PCIE pci_1 OCC /SYS/MB/PCIE3 PCIE pci_1 OCC /SYS/MB/PCIE5 PCIE pci_1 OCC /SYS/MB/PCIE7 PCIE pci_1 primary EMP /SYS/MB/PCIE9 PCIE pci_1 primary EMP /SYS/MB/NET2 PCIE pci_1 primary OCC /SYS/MB/NET0/IOVNET.PF0 PF pci_0 primary /SYS/MB/NET0/IOVNET.PF1 PF pci_0 primary /SYS/MB/NET2/IOVNET.PF0 PF pci_1 primary /SYS/MB/NET2/IOVNET.PF1 PF pci_1 primary
primary# ldm add-io /SYS/MB/PCIE3 ldg1
primary# ldm bind ldg1 primary# ldm start ldg1 LDom ldg1 started
Assurez-vous que le périphérique réseau est disponible, puis configurez le périphérique réseau à utiliser dans le domaine.
primary# dladm show-dev nxge0 link: unknown speed: 0 Mbps duplex: unknown nxge1 link: unknown speed: 0 Mbps duplex: unknown nxge2 link: unknown speed: 0 Mbps duplex: unknown nxge3 link: unknown speed: 0 Mbps duplex: unknown
primary# dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE net0 Ethernet unknown 0 unknown nxge0 net1 Ethernet unknown 0 unknown nxge1 net2 Ethernet unknown 0 unknown nxge2 net3 Ethernet unknown 0 unknown nxge3