Sponsored Content
Full Discussion: x86.miniroot questions
Operating Systems Solaris x86.miniroot questions Post 302259425 by Diabolist on Tuesday 18th of November 2008 05:18:27 AM
Old 11-18-2008
You aren't specifying an interface in your sysidcfg file are you?

I suppose I could post the macros to support my above post:

Code:
dhtadm -A -m PXEClient:Arch:00000:UNDI:002001 -d ":BootSrvA=10.1.4.240:BootFile=SUNW.i86pc:"

dhtadm -A -s SinstNM -d 'Vendor=SUNW.i86pc,11,ASCII,1,0'
dhtadm -A -s SinstPTH -d 'Vendor=SUNW.i86pc,12,ASCII,1,0'
dhtadm -A -s SinstIP4 -d 'Vendor=SUNW.i86pc,10,ASCII,1,0'
dhtadm -A -s SrootNM -d 'Vendor=SUNW.i86pc,3,ASCII,1,0'
dhtadm -A -s SrootPTH -d 'Vendor=SUNW.i86pc,4,ASCII,1,0'
dhtadm -A -s SrootIP4 -d 'Vendor=SUNW.i86pc,2,ASCII,1,0'
dhtadm -A -s SjumpsCF -d 'Vendor=SUNW.i86pc,14,ASCII,1,0'
dhtadm -A -s SsysidCF -d 'Vendor=SUNW.i86pc,13,ASCII,1,0'
dhtadm -A -s SbootURI -d 'Vendor=SUNW.i86pc,16,ASCII,1,0'

dhtadm -A -m JUMP.i86 -d ":BootSrvA=10.1.4.240:BootFile=SUNW.i86pc:"
dhtadm -M -m JUMP.i86 -e 'SinstNM=servernamehere'
dhtadm -M -m JUMP.i86 -e 'SinstPTH=/jumpstart'
dhtadm -M -m JUMP.i86 -e 'SinstIP4=10.1.4.240'
dhtadm -M -m JUMP.i86 -e 'SrootNM=servernameher'
dhtadm -M -m JUMP.i86 -e 'SrootPTH=/jumpstart/x86/Solaris_10_5/Solaris_10/Tools/Boot'
dhtadm -M -m JUMP.i86 -e 'SrootIP4=10.1.4.240'
dhtadm -M -m JUMP.i86 -e 'SjumpsCF=10.1.4.240:/jumpstart'
dhtadm -M -m JUMP.i86 -e 'SsysidCF=10.1.4.240:/jumpstart/Sysidcfg'

I don't think you'll need all those options, but, just to be complete...

I tried to get this as close as I could to your environment, but you'll have to double check everything Smilie I don't want to be responsible for mucking up your stuff. This is just what works for me.

If you have a multi-homed jumpstart server, and you aren't using the primary interface, you'll need to modify the add_install_client script and change this line:

SERVER=`uname -n`

To whatever your hostname on the interface is. I think you would have run into that issue already tho.
 

8 More Discussions You Might Find Interesting

1. HP-UX

HP on x86

i am an AIX system administrator, but i never work before on HP-UX, so my question is can i run an HP-UX on x86 PC and from where can i get a version of HP-UX for evaluation or free!! Thanks (4 Replies)
Discussion started by: TheEngineer
4 Replies

2. Linux

linux-gate - x86 - a few questions

I'm aware of the linux-gate VDSO used to implement the sysenter mechanism for system calls. On older kernels this was mapped to a static location in the address space of each process. Newer kernels allow this to be dynamically located (though I don't think it's used by any distribution yet). How... (0 Replies)
Discussion started by: G_Morgan
0 Replies

3. Solaris

determining miniroot revision

Hi guys I have a bunch of x4100's x4140's etc with solaris 10 update4 running on them but I suspect that when a lot of these boxes were originally built, the jumpstart process used an update2 miniroot, now as far as i understand it, the miniroot used at jumpstart is the miniroot that stays on... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

4. Solaris

Sparc or x86 - General questions

Hi all, Now Sun provides a large range of x86 servers and Solaris is running fine on both x86/sparc. For new projects mainly running Oracle DB on SAN, I am wondering which architecture is best for our new projets. As we won't go for high end servers (using around 4 or 8 Cpu's par host is... (6 Replies)
Discussion started by: manifesto
6 Replies

5. Solaris

luupgrade Solaris8 to 10u5 "cannot unmount miniroot"

Installation details: Product Result More Info 1. Live Upgrade Installed Available 2. Done Enter the number corresponding to the desired selection for more information, or enter 2 to continue : root@plato /backup # luupgrade -c -s /sol10u5 The media is a... (7 Replies)
Discussion started by: awoodby
7 Replies

6. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

7. Solaris

Miniroot download slow from WANBoot server

I recently configured a WANBoot server on a Ldom 2.0 running Solaris10u9 with ZFS root. When i start the installation form the client with Ok Boot net - install , it takes at least 20-25 minutes just to download the miniroot on the client .. i read there was a bug on T servers firmware... (2 Replies)
Discussion started by: fugitive
2 Replies

8. Solaris

Fallback Miniroot

S7-2 solaris 11.3 and S7-2L Solaris 11.4 ( New Servers ) Am confused as to how to boot Solaris 11 in case of DR. What is the "Fallback Miniroot". None of my new servers will boot off it. (See below ) You can see from the rmmount command below that the device is mounted and... (1 Reply)
Discussion started by: garydeena
1 Replies
dhtadm(1M)						  System Administration Commands						dhtadm(1M)

NAME
dhtadm - DHCP configuration table management utility SYNOPSIS
dhtadm -C [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -A -s symbol_name -d definition [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -A -m macro_name -d definition [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -M -s symbol_name -d definition [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -M -s symbol_name -n new_name [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -M -m macro_name -n new_name [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -M -m macro_name -d definition [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -M -m macro_name -e symbol=value [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -D -s symbol_name [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -D -m macro_name [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -P [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -R [-r resource] [-p path] [-u uninterpreted] [-g] dhtadm -B [-v] [batchfile] [-g] DESCRIPTION
dhtadm manages the Dynamic Host Configuration Protocol (DHCP) service configuration table, dhcptab. You can use it to add, delete, or mod- ify DHCP configuration macros or options or view the table. For a description of the table format, see dhcptab(4).) The dhtadm command can be run by root, or by other users assigned to the DHCP Management profile. See rbac(5) and user_attr(4). After you make changes with dhtadm, you should issue a SIGHUP to the DHCP server, causing it to read the dhcptab and pick up the changes. Do this using the -g option. OPTIONS
One of the following function flags must be specified with the dhtadm command: -A, -B, -C, -D, -M, -P or -R. The following options are supported: -A Add a symbol or macro definition to the dhcptab table. The following sub-options are required: -d definition Specify a macro or symbol definition. definition must be enclosed in single quotation marks. For macros, use the form -d ':symbol=value:symbol=value:'. Enclose a value that contains colons in double quotation marks. For symbols, the definition is a series of fields that define a symbol's character- istics. The fields are separated by commas. Use the form -d 'context,code,type,granularity,maximum'. See dhcptab(4) for information about these fields. -m macro_name Specify the name of the macro to be added. The -d option must be used with the -m option. The -s option cannot be used with the -m option. -s symbol_name Specify the name of the symbol to be added. The -d option must be used with the -s option. The -m option cannot be used with the -s option. -B Batch process dhtadm commands. dhtadm reads from the specified file or from standard input a series of dhtadm commands and execute them within the same process. Processing many dhtadm commands using this method is much faster than running an executable batchfile itself. Batch mode is recommended for using dhtadm in scripts. The following sub-option is optional: -v Display commands to standard output as they are processed. -C Create the DHCP service configuration table, dhcptab. -D Delete a symbol or macro definition. The following sub-options are required: -m macro_name Delete the specified macro. -s symbol_name Delete the specified symbol. -g Signal the DHCP daemon to reload the dhcptab after successful completion of the operation. -M Modify an existing symbol or macro definition. The following sub-options are required: -d definition Specify a macro or symbol definition to modify. The definition must be enclosed in single quotation marks. For macros, use the form -d ':symbol=value:symbol=value:'. Enclose a value that contains colons in double quotation marks. For symbols, the definition is a series of fields that define a symbol's characteristics. The fields are separated by commas. Use the form -d 'context,code,type,granularity,maximum'. See dhcptab(4) for information about these fields. -e This sub-option uses the symbol =value argument. Use it to edit a symbol/value pair within a macro. To add a symbol which does not have an associate value, enter: symbol=_NULL_VALUE_ To delete a symbol definition from a macro, enter: symbol= -m This sub-option uses the macro_name argument. The -n, -d, or -e sub-options are legal companions for this sub-option.. -n This sub-option uses the new_name argument and modifies the name of the object specified by the -m or -s sub-option. It is not lim- ited to macros. . Use it to specify a new macro name or symbol name. -s This sub-option uses the symbol_name argument. Use it to specify a symbol. The -d sub-option is a legal companion. -p path Override the dhcpsvc.conf(4) configuration value for PATH= with path. See dhcpsvc.conf(4) for more details regarding path. See dhcp_modules(5) for information regarding data storage modules for the DHCP service. -P Print (display) the dhcptab table. -r data_store_resource Override the dhcpsvc.conf(4) configuration value for RESOURCE= with the data_store_resource specified. See dhcpsvc.conf(4) for more details on resource type. SeeSolaris DHCP Service Developer's Guide for more information about adding support for other data stores. See dhcp_modules(5) for information regarding data storage modules for the DHCP service. -R Remove the dhcptab table. -u uninterpreted Data which is ignored by dhtadm, but passed to currently configured public module, to be interpreted by the data store. The private layer provides for module-specific configuration information through the use of the RESOURCE_CONFIG keyword. Uninterpreted data is stored within RESOURCE_CONFIG keyword of dhcpsvc.conf(4). See dhcp_modules(5) for information regarding data storage modules for the DHCP service. EXAMPLES
Example 1: Creating the DHCP Service Configuration Table The following command creates the DHCP service configuration table, dhcptab: # dhtadm -C Example 2: Adding a Symbol Definition The following command adds a Vendor option symbol definition for a new symbol called MySym to the dhcptab table in the SUNWfiles resource in the /var/mydhcp directory: # dhtadm -A -s MySym -d 'Vendor=SUNW.PCW.LAN,20,IP,1,0' -r SUNWfiles -p /var/mydhcp Example 3: Adding a Macro Definition The following command adds the aruba macro definition to the dhcptab table. Note that symbol/value pairs are bracketed with colons (:). # dhtadm -A -m aruba -d ':Timeserv=10.0.0.10 10.0.0.11:DNSserv=10.0.0.1:' Example 4: Modifying a Macro Definition The following command modifies the Locale macro definition, setting the value of the UTCOffst symbol to 18000 seconds. Note that any macro definition which includes the definition of the Locale macro inherits this change. # dhtadm -M -m Locale -e 'UTCOffst=18000' Example 5: Deleting a Symbol The following command deletes the Timeserv symbol from the aruba macro. Any macro definition which includes the definition of the aruba macro inherits this change. # dhtadm -M -m aruba -e 'Timeserv=' Example 6: Adding a Symbol to a Macro The following command adds the Hostname symbol to the aruba macro. Note that the Hostname symbol takes no value, and thus requires the spe- cial value _NULL_VALUE_. Note also that any macro definition which includes the definition of the aruba macro inherits this change. # dhtadm -M -m aruba -e 'Hostname=_NULL_VALUE_' Example 7: Renaming a Macro The following command renames the Locale macro to MyLocale. Note that any Include statements in macro definitions which include the Locale macro also need to be changed. # dhtadm -M -m Locale -n MyLocale Example 8: Deleting a Symbol Definition The following command deletes the MySym symbol definition. Note that any macro definitions which use MySym needs to be modified. # dhtadm -D -s MySym Example 9: Removing a dhcptab The following command removes the dhcptab table in the NIS+ directory specified. # dhtadm -R -r SUNWnisplus -p Test.Nis.Plus. Example 10: Printing a dhcptab The following command prints to standard output the contents of the dhcptab that is located in the data store and path indicated in the dhcpsvc.conf file:. # dhtadm -P Example 11: Executing dhtadm in Batch Mode The following command runs a series of dhtadm commands contained in a batch file and signals the daemon to reload the dhcptab once the com- mands have been executed: : # dhtadm -B addmacros -g EXIT STATUS
0 Successful completion. 1 Object already exists. 2 Object does not exist. 3 Non-critical error. 4 Critical error. FILES
/etc/inet/dhcpsvc.conf ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWdhcsu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
dhcpconfig(1M), dhcpmgr(1M), in.dhcpd(1M), dhcpsvc.conf(4), dhcp_network(4), dhcptab(4), hosts(4), user_attr(4), attributes(5), dhcp(5), dhcp_modules(5)rbac(5) Solaris DHCP Service Developer's Guide System Administration Guide: IP Services Alexander, S., and R. Droms, DHCP Options and BOOTP Vendor Extensions, RFC 1533, Lachman Technology, Inc., Bucknell University, October 1993. Droms, R., Interoperation Between DHCP and BOOTP, RFC 1534, Bucknell University, October 1993. Droms, R., Dynamic Host Configuration Protocol, RFC 1541, Bucknell University, October 1993. Wimer, W., Clarifications and Extensions for the Bootstrap Protocol, RFC 1542, Carnegie Mellon University, October 1993. SunOS 5.10 28 Aug 2004 dhtadm(1M)
All times are GMT -4. The time now is 12:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy