SANboot adalah sebuah teknologi dimana menggunakan media SAN Storage (FC) sebagai disk OS (booting) sebagai disk internal, karena menggunakan media SAN Storage diperlukan HBA (host bus adapter) pada server. Topologinya seperti ini;

Berikut cara yang digunakan untuk konfigurasi dari sisi OK prompt;

Melihat FC
{8} ok probe-scsi-all
/pci@2,600000/SUNW,qlc@0,1
Adapter portID – fbf00
************** Fabric Attached Devices **************
  Dev# 0(0)   PortID 64c100    Port WWN 50060e8005c0c020
   LUN    0(0)    DISK  HITACHI OPEN-V      -SUN6007
   LUN    1(1)    DISK  HITACHI OPEN-V      -SUN6007

/pci@2,600000/SUNW,qlc@0
Adapter portID – 10bf00
************** Fabric Attached Devices **************
  Dev# 0(0)   PortID c8c100    Port WWN 50060e8005c0c030
   LUN    0(0)    DISK  HITACHI OPEN-V      -SUN6007
   LUN    1(1)    DISK  HITACHI OPEN-V      -SUN6007

ADD FC port1
{8} ok nvalias sanboot /pci@2,600000/SUNW,qlc@0

Melihat Ethernet Card
{8} ok watch-net-all
/pci@3,700000/network@0,3
mif-link-up timeout
link down

/pci@3,700000/network@0,2
mif-link-up timeout
link down

/pci@3,700000/network@0,1
mif-link-up timeout
link down

/pci@3,700000/network@0
mif-link-up timeout
link down
ADD Ethernet card
{8} ok nvalias net /pci@3,700000/network@0
{8} ok devalias
net                      /pci@3,700000/network@0
sanboot                  /pci@2,600000/SUNW,qlc@0
name                     aliases

{8} ok printenv
Variable Name           Value                          Default Value

keyboard-layout                                       
local-mac-address?      true                           true
silent-mode?            false                          false
scsi-initiator-id       7                              7
ansi-terminal?          true                           true
screen-#columns         80                             80
screen-#rows            34                             34
oem-logo                                               No default
oem-logo?               false                          false
oem-banner                                             No default
oem-banner?             false                          false
error-reset-recovery    boot                           boot
load-base               16384                          16384
network-boot-arguments                                
boot-command            boot                           boot
diag-file                                             
diag-device             net                            net
boot-file                                             
boot-device             disk net                       disk net
multipath-boot?         false                          false
nvramrc                 devalias net /pci@3,7000 …  
security-password                                      No default
security-#badlogins     0                              No default
no-attr-relaxed-order?  false                          false
diag-level              min                            min
security-mode           none                           No default
use-nvramrc?            true                           false
fcode-debug?            false                          false
auto-boot?              true                           true
diag-switch?            false                          false

Ubah boot-device Menjadi “sanboot net”
{8} ok setenv boot-device sanboot net
boot-device =           sanboot net

{8} ok printenv                     
Variable Name           Value                          Default Value

keyboard-layout                                       
local-mac-address?      true                           true
silent-mode?            false                          false
scsi-initiator-id       7                              7
ansi-terminal?          true                           true
screen-#columns         80                             80
screen-#rows            34                             34
oem-logo                                               No default
oem-logo?               false                          false
oem-banner                                             No default
oem-banner?             false                          false
error-reset-recovery    boot                           boot
load-base               16384                          16384
network-boot-arguments                                
boot-command            boot                           boot
diag-file                                             
diag-device             net                            net
boot-file                                             
boot-device             sanboot net                    disk net
multipath-boot?         false                          false
nvramrc                 devalias net /pci@3,7000 …  
security-password                                      No default
security-#badlogins     0                              No default
no-attr-relaxed-order?  false                          false
diag-level              min                            min
security-mode           none                           No default
use-nvramrc?            true                           false
fcode-debug?            false                          false
auto-boot?              true                           true
diag-switch?            false                          false
{8} ok                        
{8} ok

Jika Sudah selesai tinggal di reset
{8} ok reset-all

Categories: SUN Server

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

4 × three =