Skip to main content

Posts

Showing posts with the label Logical Domain

How to avoid Virtual Network Failures After a Live Migration 'extended-mapin-space' is set to 'on' BUG:17694771

HOW TO AVOID EXTENDED-MAPIN-SPACE ISSUE This issue applies to: Oracle VM Sun Software - Generic Solaris SPARC Operating System SPARC Guest domains  Solaris 10 or Solaris 11 on Oracle VM Server for SPARC (LDOMs 2.1 to 3.1) may experience virtual network failures after a live migration operation if 'extended-mapin-space' is set to 'on'. You can check if you have set to 'on' the value extended-mapin-space as below   # ldm list -l | grep extended-mapin-space=on In the /var/adm/messages when the issue is happening you can see the following vnet1: exceeded number of permitted handshake attempts (5) on channel 22 To avoid this issue, set 'extended-mapin-space' to 'off' before executing a live migration. If the described  issue has already occurred, the system can be restored by executing the following commands to re-establish the virtual network connectivity: ldm stop <affected guest domain> ldm unbind <affe

HOW TO TEST LDOM RECOVERY FROM ONE T5 SERVER TO ANOTHER SERVER (T5)

Generate a PANIC with halt command or power off the server that is the recommendation because we will need recover the LDOM in the other  T5 Server server. #halt -d #init 5  and go to OK prompt to power off or do init 0 Restore the XML from the location where you store it and apply it in the T5-X that is OK #ldm add-domain -i underdome.xml Bound the domain #ldm bind-domain underdome #ldm ls start domain (power on the domain) root@t5 # ldm start-domain underdome LDom underdome started If the server is with the flag autoboot in false the server will power on and it will be going to OK prompt, if the flag is in true it will boot the server in multiuser mode, if the server does not have any error . Connect to Console, if you do not know what is the console do the following command   #ldm ls-bindings underdome  And do Telnet to localhost and the port listed in the configuration #telnet 0 5000 ok> boot Verify the zpools   #zpoo

How to create LDOM or Guest Domain

We have asked to Storage Team Two Luns in order to install OS and Oracle, mapped on both T5 We performed a devfsadm or cfgadm -c configure cXX, and previously I copied the ISO into PATH /opt LUNS presented to the T5 Servers  /dev/dsk/c0t60060480000290300399533030303233d0s2 /dev/dsk/c0t60060480000290300399533030303235d0s2 List the current configuration created (You can go to the post LO GICAL DOMAINS) in o rder to configure the Hypervisor for example networking root@t5#ldm ls-services  VCC     NAME             LDOM             PORT-RANGE     primary-vcc0     primary          5000-5100 VSW     NAME             LDOM             MAC               NET-DEV   ID   DEVICE     LINKPROP   DEFAULT-VLAN-ID PVID VID                  MTU   MODE   INTER-VNET-LINK     primary-vsw0     primary          00:14:4f:f8:b6:e4 aggr1     0    switch@0               1               1                         1500         on     primary-vsw1     primary          00:14:4f:f9:b7:e8 aggr2     0

LOGICAL DOMAINS (CONFIGURING CONTROL DOMAIN LIVE MIGRATION)

LOGICAL DOMAINS (CONFIGURING CONTROL DOMAIN LIVE MIGRATION)       Logical Domains (Ldom) is a kind of virtualization that permit to users or administrators , allocate system resources from one server to multiple VM's, where each Virtual Machine can use its own operating system.   You will need to have Oracle Server that support it, for example  T1XXXX until T5XXXX   Now what do you need to configurate it, You need two servers in order to have or testing Live Migration, What configuration we need?   I will show how to configurate the Link Aggregation in order to virtualizate the switch with Aggregation.   1.- The network team need to configurate the interfaces in order to do the Link Aggregation   Once we have received the information from network team that Link Aggregation is configured:   We can proceed to configure two Link Aggregation (host administration 192.168.1.20 /backup 192.168.2.30) root@t5 # dladm create-aggr -P L3 -L active -l net2 -l net4 aggr1 root@t5 # dladm create-a