Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Solaris 10 Jumpstart problem

Thread Tools
 
Search this Thread
 
Old 18 January 2006, 09:58 AM
  #1  
Wurzel
Scooby Senior
Thread Starter
iTrader: (1)
 
Wurzel's Avatar
 
Join Date: Nov 2000
Location: Wildberg, Germany/Reading, UK
Posts: 9,706
Likes: 0
Received 73 Likes on 54 Posts
Cool Solaris 10 Jumpstart problem

Everything works fine and the system installs perfectly in unattended mode but the problem I get is after the installation.

my finish script runs and completes ok then the machine should reboot and come up, this works fine with solaris 8 and 9 but soalris 10 throws me a last question which needs a yes no answer and I can not figure out how to automate this answer so the entire installation is unnatended.

the question it asks is about NFS 4

"you have a domain name set do you want to use it or not?"

or something like that anyway.

anybody got any ideas how to either answer this question automatically or stop it from asking it? of course I havea domain name set and of course I want to use it otherwise I would not have set it in the first place would I??

It is really important I resolve this issue as it is screwing up our automated nightly BAT tests.

Cheers
Steve

Last edited by Wurzel; 18 January 2006 at 04:18 PM.
Old 18 January 2006, 05:50 PM
  #2  
Wurzel
Scooby Senior
Thread Starter
iTrader: (1)
 
Wurzel's Avatar
 
Join Date: Nov 2000
Location: Wildberg, Germany/Reading, UK
Posts: 9,706
Likes: 0
Received 73 Likes on 54 Posts
Cool

bump
Old 19 January 2006, 10:08 PM
  #3  
^Qwerty^
Scooby Regular
 
^Qwerty^'s Avatar
 
Join Date: Feb 2002
Location: East Yorkshire
Posts: 1,764
Likes: 0
Received 25 Likes on 19 Posts
Default

I'll try found out, because ours doesn't do that.
Old 20 January 2006, 08:55 AM
  #4  
Wurzel
Scooby Senior
Thread Starter
iTrader: (1)
 
Wurzel's Avatar
 
Join Date: Nov 2000
Location: Wildberg, Germany/Reading, UK
Posts: 9,706
Likes: 0
Received 73 Likes on 54 Posts
Default

Aparently this is a solution to the problem but not exactly what I was looking for.

You need to add this to your finish script so thatit sets the NFS4 Domain name.

set_nfs4_domain ()
{
echo ""
echo "----------------------------------------------"
echo " Setting NFSv4 domain ..."
echo ""

if [ "${VERSION}" != "5.10" ]; then
return
fi

#
# Specify the desired NFSv4 domain (ie. foo.bar)
#
NFS4_DOMAIN=telering

FILE=${BASE}/etc/default/nfs
STATE=${BASE}/etc/.NFS4inst_state.domain
VAR=NFSMAPID_DOMAIN
VALUE=${NFS4_DOMAIN}

#
# The variable (as delivered by the initial install)
# is commented out; uncomment to activate it and set
# it to the specified value.
#
TFILE=${FILE}.$$
sed -e "s/^#[ ]*${VAR}=.*\$/${VAR}=${VALUE}/" ${FILE} > ${TFILE}
mv ${TFILE} ${FILE}

#
# Reset the permissions on the new /etc/default/nfs
# file to whatever it was set to during the install
#
IFILE=`echo ${FILE} | sed -e "s|^${BASE}||g"`
PERM=`grep "^${IFILE} e" ${BASE}/var/sadm/install/contents |
(read f1 f2 f3 f4 f5 ; echo $f4)`
chmod ${PERM} ${FILE}

touch ${STATE}
}
Old 20 January 2006, 04:47 PM
  #5  
druddle
Scooby Regular
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Default

I have seen some interesting things when using SVM to mirror the root disk as part of a S10 jumpstart configuration. When i get a mo I will add some details.

Dave
Old 20 January 2006, 05:10 PM
  #6  
DrEvil
Scooby Regular
 
DrEvil's Avatar
 
Join Date: Oct 2000
Location: Surrey, UK
Posts: 8,384
Likes: 0
Received 0 Likes on 0 Posts
Default

I'm not allowed to use Sol10 yet
Old 20 January 2006, 09:49 PM
  #7  
stevem2k
Scooby Regular
 
stevem2k's Avatar
 
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by druddle
I have seen some interesting things when using SVM to mirror the root disk as part of a S10 jumpstart configuration. When i get a mo I will add some details.

Dave
Please do...

I've only blagged one box for sol10 yet..this year I'll get the buggers off v9

Are you using the JET framework or pure jumpstart ?

Steve
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Abx
Subaru
22
09 January 2016 05:42 PM
PetrolHeadKid
Driving Dynamics
10
05 October 2015 05:19 PM
T.K
General Technical
10
02 October 2015 11:35 AM
the shreksta
Other Marques
26
01 October 2015 02:30 PM
minguela
Wheels And Tyres For Sale
0
29 September 2015 11:28 AM



Quick Reply: Solaris 10 Jumpstart problem



All times are GMT +1. The time now is 05:08 AM.