Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 08:40 AM
chadmjohn@gmail.com
 
Posts: n/a
Default Jumpstart across subnets not using a boot server

I have a need to perform jumpstart installations across subnets and
will not be able to provide a boot server at each subnet. I can create
jumpstart on a bootable cd, which is essentially a portable (yet local
to the installing client)jumpstart installation system or I can create
profile diskettes to be used for the installation information.

Both of these methods suffer from static data. Should I need to change
anything in the JS installation I will then need to redistribute the JS
CDs or Profile disks to all locations in order to guarantee they have
the most recent data.

I would like to be able to boot the system to be installed (not using a
boot server) but retrieve all my information (sysidcfg, rules, profile)
from the centralized JS system.

How can I do this as the system has no knowledge of it's IP (or router)
address at boot time? It is unable to retreive the miniroot without
this information. We do not use DHCP for server IPs so the DHCP
keyword to 'boot' is out of the question.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 08:40 AM
Michael Vilain
 
Posts: n/a
Default Re: Jumpstart across subnets not using a boot server

In article <1118339084.063662.314200@g47g2000cwa.googlegroups .com>,
chadmjohn@gmail.com wrote:

> I have a need to perform jumpstart installations across subnets and
> will not be able to provide a boot server at each subnet. I can create
> jumpstart on a bootable cd, which is essentially a portable (yet local
> to the installing client)jumpstart installation system or I can create
> profile diskettes to be used for the installation information.
>
> Both of these methods suffer from static data. Should I need to change
> anything in the JS installation I will then need to redistribute the JS
> CDs or Profile disks to all locations in order to guarantee they have
> the most recent data.
>
> I would like to be able to boot the system to be installed (not using a
> boot server) but retrieve all my information (sysidcfg, rules, profile)
> from the centralized JS system.
>
> How can I do this as the system has no knowledge of it's IP (or router)
> address at boot time? It is unable to retreive the miniroot without
> this information. We do not use DHCP for server IPs so the DHCP
> keyword to 'boot' is out of the question.


The only way I know how to do this via Jumpstart is the initial
bootstrap must be via DHCP. In order to use RARP, you _must_ use a
multi-homed bootserver on the local net. AFAIK, RARP isn't routeable,
but _maybe_ you could configure your routers to bridge the protocol.
Not sure if that can be done or if it's even desireable. The Solaris
kernel load is via NFS, which can cross segments.

So, unless you switch to DHCP, I think you're out of luck. You'll have
to setup a multi-homed system that runs bootparamd and rarpd.

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 08:40 AM
chadmjohn@gmail.com
 
Posts: n/a
Default Re: Jumpstart across subnets not using a boot server

Per the documentation you are correct. But you can do this (I haven't
made it that far yet) by modifying the information on your boot media.

Basically you make a 'jumpstart on cd' system but instead of installing
from the cd itself the target system obtains it's profile information
from the remote location. I can see it is possible but was hoping
someone had already done the *hacking* of the /etc/rcS script in the
jumpstart system to do it.

Also, DHCP booting is only available in the more current boot proms and
I have a large array of systems (old & new) to deal with.

Some routers can be configured to forward RARP requests but this is not
standard (so not reliable).

Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 08:40 AM
Michael Vilain
 
Posts: n/a
Default Re: Jumpstart across subnets not using a boot server

In article <1118406252.449684.185530@g43g2000cwa.googlegroups .com>,
chadmjohn@gmail.com wrote:

> Per the documentation you are correct. But you can do this (I haven't
> made it that far yet) by modifying the information on your boot media.


So, how would this work on a bare metal machine?

>
> Basically you make a 'jumpstart on cd' system but instead of installing
> from the cd itself the target system obtains it's profile information
> from the remote location. I can see it is possible but was hoping
> someone had already done the *hacking* of the /etc/rcS script in the
> jumpstart system to do it.


This part of the install (the Solaris kernel install) shouldn't be a
problem. It's done via an NFS mount, so you don't need to do this.
Unless I'm missing something on what you're saying...

>
> Also, DHCP booting is only available in the more current boot proms and
> I have a large array of systems (old & new) to deal with.


Yep. That pretty much puts you into the RAPR camp.

>
> Some routers can be configured to forward RARP requests but this is not
> standard (so not reliable).
>
> Thanks.


From what I recall (before the days of DHCP Jumpstart), the bootstap
process is the following:

-> client bootprom issues rarp request to host
<- boot host returns ip address from boot host rarpd's
reading /etc/ethers or ethers map OR dhcp host returns
ip address and bootfile
-> client boot prom issues tftp request
<- boot host returns tftpd reading /tftpboot/IPADDR
(linked to inetboot for arch) OR bootfile dhcp host sent
-> client runs inetboot which issues whoami to boothost
or dhcp host to obtain boot parameters
<- boot or dhcp host returns bootparamd's hostname from /etc/hosts
or host map
-> client's inetboot issues getfile to host
<- boot host's bootparamd reads /etc/bootparams to
get client's root location if dhcp is not used
-> client's inetboot issues NFS mount of root filesystem
on responding host
-> client's inetboot opens and reads kernel of NFS mounted root

So the rarp/boot server has to be on the same segment as the client (or
the server is multi-homed). If you use dhcp, it can be anywhere on the
network, even across routers. The load server can be on another net
or can be on the same system as the boot server.

Configuration files:

/etc/hosts
/etc/ethers
/etc/dfs/dfstab (to serve the root filesystems)
/etc/bootparams
/tftpboot/IPADDR -> inetboot for specific architecture and OS


No matter what way you slice this, I think you're SOL without DHCP or a
multi-homed boot server. If you want to "roll your own" network boot,
great. But the sysadmin that replaces you will most likely scrap it and
curse your name and your children's children.

Good luck. You need it.

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 08:40 AM
Scott Packard
 
Posts: n/a
Default Re: Jumpstart across subnets not using a boot server

On Thu, 09 Jun 2005 10:44:44 -0700, chadmjohn wrote:

> I have a need to perform jumpstart installations across subnets and
> will not be able to provide a boot server at each subnet. I can create
> jumpstart on a bootable cd, which is essentially a portable (yet local
> to the installing client)jumpstart installation system or I can create
> profile diskettes to be used for the installation information.
>
> Both of these methods suffer from static data. Should I need to change
> anything in the JS installation I will then need to redistribute the JS
> CDs or Profile disks to all locations in order to guarantee they have
> the most recent data.
>
> I would like to be able to boot the system to be installed (not using a
> boot server) but retrieve all my information (sysidcfg, rules, profile)
> from the centralized JS system.
>
> How can I do this as the system has no knowledge of it's IP (or router)
> address at boot time? It is unable to retreive the miniroot without
> this information. We do not use DHCP for server IPs so the DHCP
> keyword to 'boot' is out of the question.


You can't, afaik, so you can do image installs which requires a visit
to each host and an image of each architecture, or you can go out to Fry's
and buy a dozen of their $179.99 PCs, reload them with Linux and configure
them to be rarp servers, and hang one on each subnet.

Regards, Scott
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2008, 08:40 AM
David Magda
 
Posts: n/a
Default Re: Jumpstart across subnets not using a boot server

Michael Vilain <vilain@spamcop.net> writes:

> So, unless you switch to DHCP, I think you're out of luck. You'll
> have to setup a multi-homed system that runs bootparamd and rarpd.


In addition to using DHCP it may be necessary to configure the routers
in question to forward the DHCP UDP broadcasts to the DHCP server.

With Cisco's IOS this is done with the "helper-address" configuration
command. For JunOS you use the "bootp" statement in the [edit
forwarding-options helpers] hierarchy level.

--
David Magda <dmagda at ee.ryerson.ca>
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-16-2008, 08:41 AM
Barbie LeVile
 
Posts: n/a
Default Re: Jumpstart across subnets not using a boot server

On 9 Jun 2005 10:44:44 -0700
chadmjohn@gmail.com wrote:

[snip]

use a solaris laptop as bootserver or some old box that is not used
anymore?




--
Barbie - Prayers are like junkmail for Jesus

I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last
week. Time to die.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-16-2008, 08:41 AM
Chris Lawson
 
Posts: n/a
Default Re: Jumpstart across subnets not using a boot server

chadmjohn@gmail.com wrote:
> I have a need to perform jumpstart installations across subnets and
> will not be able to provide a boot server at each subnet. I can create
> jumpstart on a bootable cd, which is essentially a portable (yet local
> to the installing client)jumpstart installation system or I can create
> profile diskettes to be used for the installation information.
>


<snip>

Perhaps WAN Boot would do what you're looking for.

Overview
http://www.sun.com/software/whitepap...secure_wan.pdf

How to
http://docs.sun.com/app/docs/doc/817...kv4nh4g?a=view

--
Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-16-2008, 08:44 AM
Jay G. Scott
 
Posts: n/a
Default Re: Jumpstart across subnets not using a boot server

In article <42b1d7c6$0$305$cc9e4d1f@news-text.dial.pipex.com>,
Chris Lawson <newsgroups@spamtrap.com> wrote:
>chadmjohn@gmail.com wrote:
>> I have a need to perform jumpstart installations across subnets and
>> will not be able to provide a boot server at each subnet. I can create
>> jumpstart on a bootable cd, which is essentially a portable (yet local
>> to the installing client)jumpstart installation system or I can create
>> profile diskettes to be used for the installation information.
>>

>
><snip>
>
>Perhaps WAN Boot would do what you're looking for.
>
>Overview
>http://www.sun.com/software/whitepap...secure_wan.pdf
>
>How to
>http://docs.sun.com/app/docs/doc/817...kv4nh4g?a=view
>
>--
>Chris



on sparc, what i do is put an ordinary solaris distribution
CD (the 1 of 2 CD, ie, the CD with the boot image on it)
and say:
boot cdrom - install nfs://<ipaddress>/tmp/Q/v440m.tar dhcp nowin

the ipaddress is the ip address of the jumpstart server.
we assume you can do nfs across subnets.
my dhcp server will give the machine its hostname and ip.
the v440m.tar is a tar file of the machine's profile,
rules.ok, sysidcfg, ....
it lives in /tmp/Q so i don't have to type so much.


or you can try a Begin script that mounts the
OS distribution under /cdrom.....


--
Jay Scott 512-835-3553 gl@arlut.utexas.edu
Head of Sun Support, Sr. Operating Systems Specialist
Applied Research Labs, Computer Science Div. S224
University of Texas at Austin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-16-2008, 08:44 AM
Michael Vilain
 
Posts: n/a
Default Re: Jumpstart across subnets not using a boot server

In article <dbjjrn$hcl$1@ns3.arlut.utexas.edu>,
gl@csdsun1.arlut.utexas.edu (Jay G. Scott) wrote:

> In article <42b1d7c6$0$305$cc9e4d1f@news-text.dial.pipex.com>,
> Chris Lawson <newsgroups@spamtrap.com> wrote:
> >chadmjohn@gmail.com wrote:
> >> I have a need to perform jumpstart installations across subnets and
> >> will not be able to provide a boot server at each subnet. I can create
> >> jumpstart on a bootable cd, which is essentially a portable (yet local
> >> to the installing client)jumpstart installation system or I can create
> >> profile diskettes to be used for the installation information.
> >>

> >
> ><snip>
> >
> >Perhaps WAN Boot would do what you're looking for.
> >
> >Overview
> >http://www.sun.com/software/whitepap...secure_wan.pdf
> >
> >How to
> >http://docs.sun.com/app/docs/doc/817...kv4nh4g?a=view
> >
> >--
> >Chris

>
>
> on sparc, what i do is put an ordinary solaris distribution
> CD (the 1 of 2 CD, ie, the CD with the boot image on it)
> and say:
> boot cdrom - install nfs://<ipaddress>/tmp/Q/v440m.tar dhcp nowin
>
> the ipaddress is the ip address of the jumpstart server.
> we assume you can do nfs across subnets.
> my dhcp server will give the machine its hostname and ip.
> the v440m.tar is a tar file of the machine's profile,
> rules.ok, sysidcfg, ....
> it lives in /tmp/Q so i don't have to type so much.
>
>
> or you can try a Begin script that mounts the
> OS distribution under /cdrom.....


The OP wants to boot across nets with RAPR and only a single boot
server. He's been told he can't do that and needs to switch to DHCP to
boot across routers. AFAIK, you can't boot without a multihomed boot
server as the rarp/bootp protocol isn't routable (but dhcp is).

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:03 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563