Pages

Thursday, September 8, 2011

How to delete mirror


You can delete your mirror device. It is very simple like the steps below.

  1. See your file system which is mounted from mirror device. For example you have filesystem /sample that is mounted from mirror device d1
    bash-3.00# df -h /sample
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d1 940M 1.0M 883M 1% /sample
  1. See your mirror configuration. In this example you can see there are a mirror called d1, with 2 submirrors called d11 and d12.
    bash-3.00# metasatt tat|more
d1: Mirror
Submirror 0: d11
State: Okay
Submirror 1: d12
State: Resyncing
Resync in progress: 2 % done

Monday, July 25, 2011

How to configure IPv6 IPMP


IPMP enable to recover from network path failures. If a failure occurs in one network link and an alternate link is configured, IP address can fails over. So network access changes automatically from the failed link to the alternate link, providing uninterrupted access to the network. Here is tips to configure IPMP with Ipv6. You need Solaris 8 10/00 as minimum.

  1. Verify the solaris OS release
    # more /etc/release
    Solaris 10 5/08 s10x_u5wos_10 X86
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 24 March 2008
  2. In SPARC system, you must configure the host to have unique MAC address for each interface.
    # eeprom "local-mac-address?" 
    local-mac-address?=false 
    # eeprom "local-mac-address?=true" 
    # eeprom "local-mac-address?" 
    local-mac-address?=true

How to delete a zone


You can delete a non global zone if you no longer need it. Below is tips to delete non global zone. Fot this example your non global zone name is zone1.

  1. Shutdown non global zone
    # init 0
  2. See the status of non global zone. If your non global zone is already down, status become 'installed'.
    root@solaris-sunray # zoneadm list -cp
    0:global:running:/::native:shared
    2:zone1:installed:/export/home/zone1:3bec2239-802b-e1b4-99dd-bd732571e925:native:shared
  3. Uninstall non global zone. Your non global status become 'configured'.
    root@solaris-sunray # zoneadm -z zone1 uninstall
    root@solaris-sunray # zoneadm list -cp
    0:global:running:/::native:shared
    2:zone1:configured:/export/home/zone1:3bec2239-802b-e1b4-99dd-bd732571e925:native:shared
  4. Delete non global zone.
    root@solaris-sunray # zoneadm -z zone1 delete