- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- HP Scripting Tool Kit include File Error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2016 11:22 PM
07-31-2016 11:22 PM
Hello
I'm trying to setup DL360 Gen9 server with HP Scripting Toolkit 10.40
PXE Boot getting Below Error when i tried to PXE Boot capture.sh
Any idea ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2016 11:26 PM
07-31-2016 11:26 PM
Re: HP Scripting Tool Kit include File Error
Looks like it's not mouting to NFS shares which ideally the next steps
I saw NFS share mount issued was fixed for 10.40 but not sure.
Fixes for 10.40
"Fixed issue with mounting NFS shares"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 04:05 AM
08-01-2016 04:05 AM
Re: HP Scripting Tool Kit include File Error
I think I just reoplied in a different thread. You need 'network=1' as a boot option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 08:59 AM
08-01-2016 08:59 AM
Re: HP Scripting Tool Kit include File Error
Yes
root=/dev/ram0 rw ramdisk_size=396452 network=1 sstk_mount=10.1.11.200:/data/hp/hpe-scripting-toolkit-linux-10.40.37 sstk_mount_type=nfs sstk_mount_options=rw,nolock sstk_script=/shell.sh'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 09:28 AM
08-01-2016 09:28 AM
Re: HP Scripting Tool Kit include File Error
So is it working now, or are you still having issues?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 09:30 AM
08-01-2016 09:30 AM
Re: HP Scripting Tool Kit include File Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 10:10 AM
08-01-2016 10:10 AM
SolutionGenerally when I get the include file not found message it has something to do with the network or boot syntax. Since the toolkit now supports pulling the image across using HTTP, I pretty much have abandoned NFS. Originally trying to keep the boot image small for slow networks, you needed an NFS mount to pull the utility tools into the ram drive. For some time now, all the tools are included in the initrd image so there is no need to really have an NFS mount any longer. To add additional scripts into the tarball, I normally just untar the package, add in my custom scripts and files, and then tar everything back up. Here are two of my working boot lines for HTTP and NFS. This is from PXE booting and using ELILO as the boot loader, so you will need to make the proper edits for using pxelinux.0 or Grub2
image=/toolkit10.40-37/vmlinuz
label=toolkit10.40
description = "HP Scripting Toolkit 10.40-37"
initrd=/toolkit10.40-37/initrd.img
append="root=/dev/ram0 rw ramdisk_size=785612 quiet=1 network=1 media=net numa=off sstk_conf=toolkit.conf sstk_script=/shell.sh sstk_tgz=http://x.x.x.x/stk/hpe-scripting-toolkit-linux-10.40-37.tar.gz"
image=/toolkit10.40-37/vmlinuz
label=toolkit10.40nfs
description = "HP Scripting Toolkit 10.40-37 NFS"
initrd=/toolkit10.40-37/initrd.img
append="root=/dev/ram0 rw ramdisk_size=785612 quiet=1 network=1 media=net numa=off sstk_conf=toolkit.conf sstk_script=/shell.sh iso1=nfs://x.x.x.x/data/stk/hpe-scripting-toolkit-linux-10.40.iso"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2016 03:48 PM - edited 08-02-2016 03:48 PM
08-02-2016 03:48 PM - edited 08-02-2016 03:48 PM
Re: HP Scripting Tool Kit include File Error
Thanks Jimmy
http/tar.gz works and nfs/iso didn't work for me but still having an issue for NFS mount.
I'm also trying to capture hardware info and sending output to NFS mount.
how do you usually define sstk_mount option for capturing hardware info ?
sstk_mount does support http ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2016 04:13 PM
08-02-2016 04:13 PM
Re: HP Scripting Tool Kit include File Error
Unfortunately if you need to gather info and save it, you will need to do an NFS mount. You may just need to add an NFS mount back to a writable area from within your script. If I get some time this week I will look at mounting NFS the old way (instead of using NFS to mount an ISO) to verify it still works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2016 04:22 PM
08-02-2016 04:22 PM
Re: HP Scripting Tool Kit include File Error
Thanks..!!
really something is broken with NFS shares
I tried to define sstk_mount via NFS doesn't work and NFS ISO mount doesn't work getting same include file not found issue.
local usb mount options work but I don't want to capture info to USB.
As per document NFS or /dev/xxx only two options avaiable for sstk_mount.
also found out below from 10.40 file, looks like sstk_mount nfs has DEPRECATED now ??
#
# New media parameter
# media=net -- toolkit media is mounted over the network
# media=cdrom -- toolkit media is accessible via CD/DVD ROM drive (including iLO virtual media)
# media=usb -- toolkit media is accessible via a USB key
#
#
label toolkit
kernel vmlinuz
append initrd=initrd.img root=/dev/ram0 rw ramdisk_size=769344 ide=nodma ide=noraid pnpbios=off numa=off media=net iso1=nfs://10.0.0.1/BOOTSTRAP sstk_conf=toolkit.conf sstk_script=/shell.sh hostname=customprefix-
#
# DEPRECATED SYNTAX
#
# For Networking, add "network=1" to the append line in the toolkit section.
#
# For USB CDs, change the ssstk_mount option to "/dev/sda"
# For iLO Virtual CD\DVDs, change the ssstk_mount option to "/dev/hpilo-cdrom".
#
label toolkit_deprecated
kernel vmlinuz
append initrd=initrd.img root=/dev/ram0 rw ramdisk_size=769344 ide=nodma ide=noraid pnpbios=off network=1 sstk_mount=10.0.0.1:/BOOTSTRAP sstk_mount_type=nfs sstk_mount_options=ro,nolock numa=off sstk_conf=toolkit.conf sstk_script=/shell.sh
label bash
kernel vmlinuz
append initrd=initrd.img root=/dev/ram0 rw ramdisk_size=769344 single console=ttyS0,115200n8 console=tty0 ide=nodma ide=noraid pnpbios=off numa=off
label local
localboot 0