[indiana-discuss] automated installer?

Dave Miner dminer at opensolaris.org
Thu Mar 19 13:51:06 PDT 2009


Fajar A. Nugraha wrote:
> On Wed, Mar 18, 2009 at 10:32 PM, Dave Miner <dminer at opensolaris.org> wrote:
>> Fajar A. Nugraha wrote:
>>> # installadm create-service -n sparc_install_service -i
>>> 192.168.129.145 -c 2 -s /data/iso/osol-0906-109-ai-sparc.iso
>>> /data/AI/sparc/snv_109
>>> Setting up the target image at /data/AI/sparc/snv_109 ...
>>> Registering the service sparc_install_service._OSInstall._tcp.local
>>> Creating DHCP Server
>>> Created DHCP configuration file.
>>> Dhcptab already exists.
>>> Added server macro to dhcptab - sms1.
>>> dhcpconfig: Error - starting the DHCP server. entity not found
>>> dhtadm: GrubMenu already exists.
>>> pntadm: Table for 192.168.129.0 does not exist.
>>> pntadm: Table for 192.168.129.0 does not exist.
>>> Could not retrieve DHCP information from dhcp server
>>>  Please create a DHCP macro named dhcp_macro_sparc_install_service with:
>>>  Boot server IP (BootSrvA) : 192.168.129.89
>>>  Boot file      (BootFile) :
>>> http://192.168.129.89:5555/cgi-bin/wanboot-cgi
>>>  Root path      (Rootpath) :
>>> http://192.168.129.89:5555/data/AI/sparc/snv_109
>>> Failed to assign DHCP macro to IP address. Please assign manually.
>>> pntadm: Table for 192.168.129.0 does not exist.
>>> pntadm: Table for 192.168.129.0 does not exist.
>>> pntadm: Table for 192.168.129.0 does not exist.
>>> pntadm: Table for 192.168.129.0 does not exist.
>>> Creating SPARC configuration file
>>>
>>> That doesn't seem right. What can I do from here?
>>>
>> Make sure /etc/netmasks has the correct netmask for the network you're
>> setting up.
>>
>> Dave
>>
> 
> I added to /etc/netmasks
> 
> 192.168.129.0 255.255.255.0
> 
> but it still doesn't work (with slightly different error message :
> "DHCP service is already configured on this server", plus the same
> "Failed to assign DHCP macro to IP address. Please assign manually")
> 
> # installadm list
> No install services running on the system
> # installadm delete-service -x sparc_install_service
> Failed to delete Install Service sparc_install_service.
> # installadm create-service -n sparc_install_service -i
> 192.168.129.145 -c 2 -s /data/iso/osol-0906-109-ai-sparc.iso
> /data/AI/sparc/snv_109
> There is a valid image at (/data/AI/sparc/snv_109). Please delete the
> image and try again.
> # rm -rf /data/AI/sparc/snv_109
> # installadm create-service -n sparc_install_service -i
> 192.168.129.145 -c 2 -s /data/iso/osol-0906-109-ai-sparc.iso
> /data/AI/sparc/snv_109
> Setting up the target image at /data/AI/sparc/snv_109 ...
> Registering the service sparc_install_service._OSInstall._tcp.local
> Creating DHCP Server
> dhcpconfig: Error - DHCP service is already configured on this server.
> dhtadm: GrubMenu already exists.
> pntadm: Table for 192.168.129.0 does not exist.
> pntadm: Table for 192.168.129.0 does not exist.
> Could not retrieve DHCP information from dhcp server
>   Please create a DHCP macro named dhcp_macro_sparc_install_service with:
>   Boot server IP (BootSrvA) : 192.168.129.89
>   Boot file      (BootFile) : http://192.168.129.89:5555/cgi-bin/wanboot-cgi
>   Root path      (Rootpath) : http://192.168.129.89:5555/data/AI/sparc/snv_109
> Failed to assign DHCP macro to IP address. Please assign manually.
> pntadm: Table for 192.168.129.0 does not exist.
> pntadm: Table for 192.168.129.0 does not exist.
> pntadm: Table for 192.168.129.0 does not exist.
> pntadm: Table for 192.168.129.0 does not exist.
> Creating SPARC configuration file
> 
> The system is running is running snv_109.
> 

Run "dhcpconfig -U -x" to deconfigure DHCP and then try setting up the 
install service again.

Dave




More information about the indiana-discuss mailing list