Friday, September 30, 2005

To troubleshoot finish script

/var/sadm/system/logs/finish.log on the client

To troubleshoot begin script

/tmp/begin.log on the client

"panic - boot: Could not mount filesystem"

Failed to mount root (/) filesystem defined in /etc/bootparams
Solution:
Check /etc/bootparams, and share the correct dir with -o ro,anon=0 options
* ro,anon=0 are required

"Could not find matching rule in rules.ok"

did not run ./check to update rules.ok

Only sysidcfg can provide these four

1) protocol_ipv6=
2) default_route=
3) security_policy=
4) root_password=

To enable TFTP

1) /etc/inet/inetd.conf
2) inetconv

Client stops booting with a numeric value 23e00

unable to obtain bootparams file :
1) /etc/bootparams has no info for the client
2) rpc.bootparamd not running
solution :
1) add_install_client
2) /etc/init.d/boot.server checks for /tftpboot dir before starting rpc.bootparamd

"Timeout waiting for ARP/RARP packet" once

TFTP problem :
1) no correct entry in /tftpboot
2) inetd does not start in.tftpd
solution :
1) add_install_client
2) svc:/network/tftp is enabled

"Timeout waiting for ARP/RARP packet" repeatedly

problem with RARP
solution :
1) /etc/ethers, /etc/inet/hosts
2) network connectivity

Thursday, September 29, 2005

modify_install_server script creates an

interactive Web Start boot image for JumpStart clients
* ./modify_install_server /export/install ../s1
* s1 is the location of Web Start boot image

Make cd image and mount it locally (3)

1) mkisfofs -R /cdrom > cdrom.iso
2) lofiadm -a cdrom.iso
3) mount -F hsfs /dev/lofi/1 /mnt/lofs
* lofiadm -d /dev/lofi/1 when finished

Finish script is used to (2)

1) transfer files from a backup
2) touch /a/noautoshutdown (turn off automatic power management)

Developer cluster is called

SUNWCprog

Core cluster is known as

SUNWCreq

List all clusters

grep METACLUSTER /var/sadm/system/admin/.clustertoc

Begin script is used to

back up data from the client

rules.ok that matches any machine

any - - generic -

add_install_client inspects nsswitch.conf for

bootparams: and makes sure that "files" goes first

Wednesday, September 28, 2005

Add locale.time to NIS Makefile (4)

1) Copy "timezone.time" and add after last "*.time" entry
2) Replace every "timezone" word with "locale"
3) Append "locale" to all: directive
4) Add after auto.home:
locale: locale.time

Set /etc/locale to C for SolarisCert domain

SolarisCert C

Set /etc/locale to C for helium only

helium C

/etc/locale in NIS replaces

system_locale in sysidcfg

For NIS to give "timeserver" identification param

"timehost" in /etc/inet/hosts

If identification is provided by several means

sysidcfg overwrites all other

add_install_client -s

path to installation image

add_install_client script requires

/etc/ethers and /etc/inet/hosts entries

Boot image takes up

260MB

Server that has to be on the same subnet

boot server
* RARP uses broadcast

add_install_client adds only one entry in dfstab

share -F nfs -o ro,anon=0 /export/install
* Must add manually: share -F nfs -o ro /export/config

/tftpboot contains a

link that is a hexadecimal IP address of a client, pointing to "inetboot" for the client platform

Convert 192.168.2.3 to hexadecimal

bc
obase=16
192
C0
168
A8
2
2
3
3
"Control-D"
* use ibase=16 to convert from hexadecimal

Dirs for config files and images

/export/config : sysidcfg, rules.ok, profile
/export/install : boot and install images

Number of fields in rules.ok

5 : hostname blade - profile1 -
- : pre- and post- install scripts
profile1 : blade's profile class file

add_install_client -c and -p

-c : location of class file defined in rules.ok
-p : location of sysidcfg
* psysid - ny, prosto psih

add_install_client must be run on

boot server only

Boot server only

setup_install_server -b

IIBC services need to be provided for clients

I - identification : sysidcfg
I - installation : installation image
B - boot : in.rarpd, in.tftpd, bootparams
C - configuration : rules.ok (./check), profile class file