8 Haziran 2011 Çarşamba

Sun 7110 disk ünitesinin yeniden kurulması

Sun, hayatta iken ürettiği en güzel ürünlerden bir tanesi olan 7000 serisi ürünleri yeniden kurmak zorunda kalırsak ne yaparız?

1. Sistemi komple Oracle (artık sun öldü.) göndeririz.

2. Sistemi yeniden kurarız. Nasıl?



1. yolu Türkiyede uygulayacak olursanız, uzun zaman beklersiniz.

2. yolu uygulamaksa tam bir uzmanlık işi. Bu konuda bir iki ip ucu vereceğim.



Öncelikle Solaris 11 express kurulu bir sistemimiz olmalı.

Oracle supporttan indirdiğimiz en güncel 7000 serisi yamayı

(incelediğimizde görürüzki tam bir kurulum!!!) solaris 11 express üzerine aşagıdaki gibi yükleriz.



# gzip -d ak-nas-2010-08-17-3-1-1-1-28-nd.pkg.gz

# pkgadd -d ak-nas-2010-08-17-3-1-1-1-28-nd.pkg



tftpd-hpa yı ayarlarız;

TFTP_USERNAME="tftp"

TFTP_DIRECTORY="/tftpboot"

TFTP_ADDRESS="192.168.1.1:69"

TFTP_OPTIONS="--secure"



dhcp servisini ayarlarız;



ddns-update-style none;

option domain-name-servers 192.168.1.1, 160.75.100.20;

default-lease-time 60000;

max-lease-time 720000;

authoritative;

log-facility local7;



option searchlist code 119 = string;

option grubmenu code 150 = text;



subnet 192.168.1.0 netmask 255.255.255.0 {

range 192.168.1.100 192.168.1.200;

option routers 192.168.1.1;

server-name "192.168.1.1";

}



host seyyahi {

option host-name "zfs";

hardware ethernet 00:24:81:5e:f9:2a;

fixed-address 192.168.1.253;

server-name "192.168.1.1";

filename "ak-nas@2010.08.17.1.1,1-1.16-nd/pxegrub";

option grubmenu "ak-nas@2010.08.17.1.1,1-1.16-nd/menu.lst";

option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,bootmenu);

}







host 7110 {

option host-name "7110";

hardware ethernet 00:14:4F:EE:25:CF;

fixed-address 192.168.1.250;

server-name "192.168.1.1";

filename "ak-nas@2010.08.17.3.1,1-1.28-nd/pxegrub";

option grubmenu "ak-nas@2010.08.17.3.1,1-1.28-nd/menu.lst";

option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,bootmenu);

}





son olarakta bir web sunucu ayarlamamız lazım.

web sunucusu olarak nginx kullandım ve bu işlem için gerekli ayarları;



server {

listen 80; ## listen for ipv4; this line is default and implied



root /;



server_name 172.16.250.254;



location / {

root /;

autoindex on;

}

}





Artık sunucumuz biosundan agdan boot etmesini sağlayarak kurulumu yapabiliriz.

Açılısta grubun configfile yüklememiz gerekli bunun için grub geldiğinde;



root (nd)

config (nd)/ak-nas@2010.08.17.3.1,1-1.28-nd/menu.lst.SUNW,iwashi



komutları ile yükletmemiz gerekli.

Ben bu kadar uzun yazmamak için

ak-nas@2010.08.17.3.1,1-1.28-nd/menu.lst.SUNW,iwashi

dosyasını /tftpboot altına menu.7110.lst diye kopyalamıştım.



Sun solaris ve zfs ile bir dönem açmıştı.

inşaallah oracle bu dönemi dahada geliştirir.(Pek umudum yok...)





























































































 

1 yorum:

  1. Great Post, I'm trying to re-install the ZFS applience software onto a 7110 also.
    I've installed Solaris 11 express onto a T5150 and I have the AK-NAS@2010..... update software but I'm struggling to set up the TFTP/DHCP on the Solaris 11 express.

    My 7110 can see the DHCP server and assigns itself an IP but when it trys to boot the pxegrub file it just drops to a grub command prompt.

    Any further insight to what I'm doing wrong will be much appreciated.

    Thanks
    Shaun

    YanıtlaSil