10 Replies Latest reply on May 13, 2010 6:20 PM by Bill Robinson

    Reboot Script for JumpStart

    Edwin Lindeman

      Anyone have  example of a Reboot Script for provisioning a Solaris SPARC server via JumpStart?

        • 1. Re: Reboot Script for JumpStart
          Bill Robinson

          It's probably going to have to be in expect and your appserver would have to be able to access the rsc or access a console server.  I've never seen customers use this...

          • 2. Re: Reboot Script for JumpStart
            Edwin Lindeman

            thanks bill i didn't enter anything. I'm testing JumpStart here and getting things going.  I've configured everything and started a job however looks like my job stops on step 6 of the provisioning. per below

             

            Info May 13, 2010 2:28:07 PM Running provisioning job with data store: SolarisSPARC10
            Info May 13, 2010 2:28:08 PM Preparing jumpstart sysidcfg file
            Info May 13, 2010 2:28:08 PM Preparing jumpstart profile file
            Info May 13, 2010 2:28:08 PM Preparing jumpstart begin script file
            Info May 13, 2010 2:28:08 PM Preparing BladeLogic finish script file
            Info May 13, 2010 2:28:08 PM Preparing user finish script file
            Info May 13, 2010 2:28:08 PM Preparing jumpstart finish script file
            Info May 13, 2010 2:28:08 PM Preparing jumpstart reboot script file
            Info May 13, 2010 2:28:08 PM copying sysidcfg file to //10.4.8.6/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F/sysidcfg
            Info May 13, 2010 2:28:08 PM copying profile file to //10.4.8.6/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F/profile
            Info May 13, 2010 2:28:08 PM copying begin script file to //10.4.8.6/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F/begin.sh
            Info May 13, 2010 2:28:08 PM copying BladeLogic finish script file to //10.4.8.6/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F/blfinish.sh
            Info May 13, 2010 2:28:08 PM copying user finish script file to //10.4.8.6/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F/userfinish.sh
            Info May 13, 2010 2:28:08 PM copying finish script file to //10.4.8.6/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F/finish.sh
            Info May 13, 2010 2:28:08 PM copying reboot script file to //10.4.8.6/export/installserver/BladeLogic/00-03-BA-09-1A-3F/reboot.sh
            Info May 13, 2010 2:28:08 PM copying agent installer
            Info May 13, 2010 2:28:10 PM copying bmisolaris callback agent
            Info May 13, 2010 2:28:10 PM creating new rules file
            Info May 13, 2010 2:28:10 PM will add a new rule entry for in file //10.4.8.6/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F/rules
            Info May 13, 2010 2:28:10 PM copying new rules file to //10.4.8.6/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F/rules
            Info May 13, 2010 2:28:10 PM copying rule checker script to //10.4.8.6/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F/checkRule.sh
            Info May 13, 2010 2:28:10 PM executing rule checker script
            Info May 13, 2010 2:28:10 PM Validating rules...

            Info May 13, 2010 2:28:10 PM The custom JumpStart configuration is ok.

            Info May 13, 2010 2:28:10 PM rule checker succeeded
            Info May 13, 2010 2:28:10 PM copying add install client script to //10.4.8.6/export/installserver/BladeLogic/00-03-BA-09-1A-3F/addInstall.sh
            Info May 13, 2010 2:28:10 PM executing add install client script
            Info May 13, 2010 2:28:11 PM
            To enable 010003BA091A3F in the DHCP server, ensure that
            the following Sun vendor-specific options are defined
            (SinstNM, SinstIP4, SinstPTH, SrootNM, SrootIP4,
            SrootPTH, and optionally SbootURI, SjumpCF and SsysidCF),
            and add a macro to the server named 010003BA091A3F,
            containing the following option values:

              Install server      (SinstNM)  : 10.4.8.6

            Info May 13, 2010 2:28:12 PM   Install server IP   (SinstIP4) : ip-addr-for-10.4.8.6
              Install server path (SinstPTH) : /export/installserver/solaris10_1009
              Root server name    (SrootNM)  : dsmdc-admin-nfs
              Root server IP      (SrootIP4) : 10.4.4.203
              Root server path    (SrootPTH) : /export/installserver/solaris10_1009/Solaris_10/Tools/Boot
              Boot file           (BootFile) : 010003BA091A3F
              Profile location    (SjumpsCF) : 10.4.8.6:/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F
              sysidcfg location   (SsysidCF) : 10.4.8.6:/export/jumpstart/BladeLogic/00-03-BA-09-1A-3F

            Info May 13, 2010 2:28:12 PM add install client succeeded
            Info May 13, 2010 2:28:12 PM executing reboot script
            Info May 13, 2010 2:28:13 PM reboot script succeeded

             

            I've never seen the message

            To enable 010003BA091A3F in the DHCP server, ensure that
            the following Sun vendor-specific options are defined
            (SinstNM, SinstIP4, SinstPTH, SrootNM, SrootIP4,
            SrootPTH, and optionally SbootURI, SjumpCF and SsysidCF),
            and add a macro to the server named 010003BA091A3F,
            containing the following option values:

              Install server      (SinstNM)  : 10.4.8.6

            • 3. Re: Reboot Script for JumpStart
              Bill Robinson

              Yeah, that's fine.

               

              You need to goto the target server and run a 'boot net  - install'  from the obp

              1 of 1 people found this helpful
              • 4. Re: Reboot Script for JumpStart
                Paul Seager-Smith

                Have you configured all the DHCP options? Jumpstart needs a whole bunch of additional options set in DHCP to get it to work - that's what the message is referring to. Check the jumpstart docs for details.

                 

                Paul

                1 of 1 people found this helpful
                • 5. Re: Reboot Script for JumpStart
                  Bill Robinson

                  Not for sparc.  Is this for sparc or x86 ?

                  • 6. Re: Reboot Script for JumpStart
                    Edwin Lindeman

                    this is for sparc


                    • 7. Re: Reboot Script for JumpStart
                      Edwin Lindeman

                      i start my provisioning Job i run a boot  net - install and only thing i'm getting is

                      Timeout waiting for ARP/RARP  packet

                      • 8. Re: Reboot Script for JumpStart
                        Bill Robinson

                        does the dhcp server on the network have bootp enabled?

                        • 9. Re: Reboot Script for JumpStart
                          Edwin Lindeman

                          yes bootp is enabled on the DHCP server.

                          • 10. Re: Reboot Script for JumpStart
                            Edwin Lindeman

                            ran into this article and going to make the neccesary changes tomorow when i get back into the office.

                             

                            http://www.sunmanagers.org/pipermail/summaries/2006-January/007060.html