Jumpstart Untuk Solaris 10
Ini saya buat jumpstat dr bahasa indonesia, karena sudah bnyak bgt dr yg berbahasa inggris (sengaja)..
Untuk instalasi solaris pake jumpstart dibagi 2 bagian :
1. Langkah instalasi di SERVER JUMPSTART yang dipake buat ngeboot & install solaris dr SERVER lain yang mau di deploy, dibagi dalam beberapa steps :
a. Install SOLARIS buat si mesin ini dulu (install biasa .. pake CD / DVD media instalasi SOLARIS).
b. Buat direktori untuk flar image dan core jumpstart server trus share 2 direktori ntu pake NFS.
untuk kasus gw, gw bikin direktori /export/home/Jumpstart/FLAR untuk tempat naro FLAR IMAGE dan direktori /export/home/SUN/SOLARIS10.
root#mkdir /export/home/Jumpstart/FLAR
root#mkdir /export/home/SUN/SOLARIS10
Sharing 2 direktori ntu dengan menambahkan line dibawah ini ke file /etc/dfs/dfstab
root#share –F nfs –o ro,anon=0 /export/home/Jumpstart/FLAR
root# share –F nfs –o ro,anon=0 /export/home/SUN/SOLARIS10
Trus jalankan command dari terminal
root#shareall
c. Install core jumpstart server di direktori yang udah disiapin.
Mount CD / DVD solaris, untuk kasus saya, saya gunakan DVD solaris 10 (otomatis ke mount pas di asupin ke drive).Jalankan command berikut :
root#cd /cdrom/cdrom0/s0/Tools
root#./setup_install_server /export/home/SUN/SOLARIS10
d. Bikin FLAR IMAGE dr SERVER yang mo di jumpstart trus taro hasil FLAR-nya ke direktori yang udah disiapin. Jalankan command berikut (untuk kasus saya, FLAR dibikin di SERVER JUMPSTART jadi si SERVER JUMPSTART jadi IMAGE buat semua):
root#flarcreate -n TEST -c -S /export/home/Jumpstart/FLAR/TEST.flar
e. Copy beberapa file yang diperlukan trus taro di direktori yang sama dengan direktori tempat naro FLAR IMAGE. Jalankan command berikut :
root#cd /export/home/SUN/SOLARIS10/Misc/jumpstart_sample
root#cp check /export/home/Jumpstart/FLAR/.
f. Bikin file “sysidcfg” di direktori yang sama dengan direktori tempat naro FLAR IMAGE (/export/home/Jumpstart/FLAR/).
Isi file “sysidcfg” (untuk kasus saya) :
timezone=Asia/Jakarta
timeserver=localhost
terminal=sun-cmd
network_interface=nxge0 {
hostname=superpinjal
default_route=192.168.1.1
ip_address=192.168.1.2
netmask=255.255.255.0
protocol_ipv6=no
}
name_service=NONE
security_policy=NONE
g. Bikin file “rule” di direktori yang sama dengan direktori tempat naro FLAR IMAGE.
Isi file “rule” (untuk kasus saya) :
# <matchrule> <pre-inst> <profile> <post-inst>
any - - flar.prof -
h. Bikin file client profile (klo gw namanya “flar.prof”). Isi file “flar.prof” (untuk kasus saya, IP ADDRESS JUMPSTART SERVER : 192.168.1.10, cuman ada 4 partisi /, swap, /export/home, /var, DISK yang dikenali dan saya pakai c1t0d0 liat pake command “format”) :
install_type flash_install
archive_location nfs 192.168.1.10:/volA/jumpstart/UIP/UIP.flar
partitioning explicit
filesys c1t0d0s0 30720 /
filesys c1t0d0s1 65536 swap
filesys c1t0d0s3 20480 /var
filesys c1t0d0s4 20480 /export/home
2. Konfigurasi TFTP SERVER
edit file /etc/inet/inetd.conf dan un-comment line berikut :
#tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
sehingga menjadi
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
khusus untuk SOLARIS 10, jalankan command berikut untuk mendaftarkan XML tftp service ke svc daemon
root#inetconv -i /etc/inet/inetd.conf
dan START tftp server (pastikan ada process tftp setelah start dengan “ps -edf |grep -i tftp”).
3. Konfigurasi /etc/ethers dan /etc/hosts sesuaikan dengan SERVER yang mau diinstall pake cara JUMPSTART. Untuk kasus saya, client yang akan di install menggunakan jumpstart server memiliki MAC ADDRESS : 0:9:3d:14:87:9 dan IP ADDRESS : 192.168.1.20 dengan hostname “GUNDUL”, maka
Isi file /etc/hosts
192.168.1.20 GUNDUL
192.168.1.10 JUMPSTART
Isi file /etc/ethers
0:9:3d:14:87:9 GUNDUL
0:21:28:4:67:50 JUMPSTART
4. Jalankan command “add_install_client” di SERVER JUMPSTART (untuk kasus saya, SOLARIS saya pake sun4v, cara liatnya tinggal “uname -a” aja .. liat disitu deh).
root#./add_install_client \
root#-s JUMPSTART:/export/home/SUN/SOLARIS10 \
root#-c JUMPSTART:/export/home/Jumpstart/FLAR/ \
root#-p JUMPSTART:/export/home/Jumpstart/FLAR/ \
root#GUNDUL sun4v
5. Langkah di sisi SERVER yang mo diinstall solaris pake cara JUMPSTART server.
init 0 (untuk masuk ke OBP), setelah udah masuk ke OBP ketikkan :
root#boot net – install








