[xcat-user] xCat + windows (diskless)

Luís Miguel Silva lms at ispgaya.pt
Wed Jan 28 11:35:38 MST 2009


I just found a file that referenced the wrong unattended answer file 
(/install/autoinst/10.10.10.11.cmd)!
[root at xcat-gw ~]# cat /install/autoinst/10.10.10.11.cmd
i:\win2k8\x86_64\setup /unattend:i:\autoinst\hypervnode01 /noreboot
IF %PROCESSOR_ARCHITECTURE%==AMD64 GOTO x64
IF %PROCESSOR_ARCHITECTURE%==x64 GOTO x64
IF %PROCESSOR_ARCHITECTURE%==x86 GOTO x86
:x86
i:\postscripts\upflagx86 %XCATD% 3002 next
GOTO END
:x64
i:\postscripts\upflagx64 %XCATD% 3002 next
:END
[root at xcat-gw ~]#

Thanks a lot for pointing me the correct way (i didn't know the answer 
file got copied to that location)!

Thanks,
Luís

Luís Miguel Silva escreveu:
> Dear Ling,
>
> I removed the hypervnode01 file from /install/autoinst/ and the 
> installation process is now complaining about not being able to parse 
> or process the unattend answer file [i:\autoinst\hypervnode01]
> So it was definitively processing the wrong file!
>
> Any ideas? This might be a bug? (or a miss configuration on my side :o))
>
> Thanks,
> Luís
>
> Luís Miguel Silva escreveu:
>> Dear Ling,
>>
>> Here is the output you asked:
>> [root at xcat-gw ~]# tabdump nodelist | grep hypernode01
>> "hypernode01","win,compute,all","booting",,,
>>
>> [root at xcat-gw ~]# tabdump nodetype
>> #node,os,arch,profile,nodetype,comments,disable
>> "compute","centos5.2","x86_64","compute","osi",,
>> "xen1","centos5.2","x86_64","compute","compute",,
>> "test","win2k8","x86_64","test",,,
>> "test1","centos5.2","x86_64","compute",,,
>> "hypernode01","win2k8","x86_64","enterprise","compute",,
>> [root at xcat-gw ~]#
>>
>> Regarding the templates under /install/custom/install/windows, i 
>> don't have a /install/custom directory ?
>> [root at xcat-gw install]# ls /install/
>> autoinst  centos5.2  custom.bat  HPCEval  netboot  postscripts  win2k8
>> [root at xcat-gw install]#
>>
>> I do, although, have several files under (/install/autoinst) which 
>> seem to be template copies:
>> [root at xcat-gw autoinst]# ls -al
>> total 84
>> drwxr-xr-x 2 root root  4096 Jan 28 01:57 .
>> drwxr-xr-x 8 root root  4096 Jan 28 04:57 ..
>> -rw-r--r-- 2 root root   316 Jan 27 20:33 10.10.10.11.cmd
>> -rw-r--r-- 2 root root   308 Dec 24 14:38 10.10.10.15.cmd
>> -rw-r--r-- 2 root root   308 Dec 26 01:07 10.10.10.16.cmd
>> -rw-r--r-- 1 root root 11224 Jan 28 06:51 hypernode01
>> -rw-r--r-- 1 root root   315 Jan 28 06:51 hypernode01.cmd
>> -rw-r--r-- 1 root root  8509 Jan 27 20:33 hypervnode01
>> -rw-r--r-- 2 root root   316 Jan 27 20:33 hypervnode01.cmd
>> -rw-r--r-- 1 root root  8501 Dec 26 01:07 test
>> -rw-r--r-- 2 root root   308 Dec 26 01:07 test.cmd
>> -rw-r--r-- 1 root root  8652 Dec 24 15:12 xen1
>> -rw-r--r-- 2 root root   308 Dec 24 14:38 xen1.cmd
>> [root at xcat-gw autoinst]#
>>
>> Any thoughts? :o)
>>
>> PS: i'm going to try and remove hypervnode01* from /install/autoinst/ 
>> as i don't need it anymore (and it seems it is picking up that 
>> template instead of hypernode01*).
>>
>> Thank you very much for your help!
>> Luís
>>
>> Ling Gao escreveu:
>>>
>>> Can you show us the output of the following commands:
>>>
>>> tabdump nodelist |grep hypernode01
>>>
>>> tabdump nodetype
>>>
>>> And do you have any templates left under 
>>> /install/custom/install/windows directory?
>>>
>>>
>>> Ling Gao
>>> Poughkeepsie Unix Development Lab
>>> IBM Systems and Technology Group
>>> Internal: T/L 293-5692
>>> External: linggao at us.ibm.com, 845-433-5692
>>>
>>> "I never worry about the future. It comes soon enough." --- Albert 
>>> Einstein
>>> Inactive hide details for Luís Miguel Silva <lms at ispgaya.pt>Luís 
>>> Miguel Silva <lms at ispgaya.pt>
>>>
>>>
>>>                         *Luís Miguel Silva <lms at ispgaya.pt>*
>>>                         Sent by: xcat-user-bounces at lists.xcat.org
>>>
>>>                         01/28/2009 12:21 AM
>>>                         Please respond to
>>>                         xCAT Users Mailing list
>>>                         <xcat-user at lists.xcat.org>
>>>
>>> 	
>>>
>>> To
>>> 	
>>> xCAT Users Mailing list <xcat-user at lists.xcat.org>
>>>
>>> cc
>>> 	
>>>
>>> Subject
>>> 	
>>> [xcat-user] xCat + windows (diskless)
>>>
>>> 	
>>>
>>>
>>> Hello everyone,
>>>
>>> I'm doing some win2k8 installs using xCat and a iscsi software target
>>> (just as described here ->
>>> http://xcat.wiki.sourceforge.net/iSCSI+Windows+using+xCAT+software+initiator) 
>>>
>>> but i'm having some WEIRD problems!
>>>
>>> Initially, the node where i was installing windows was called
>>> "hypervnode01" but i later changed it to "hypernode01".
>>>
>>> I have been doing some changes to the default template (to 
>>> automatically
>>> add the machine to a domain and install some extra software) BUT xCat
>>> doesn't seem to be picking up on my changes.
>>>
>>> Another weird thing is that, after installing, the node is always named
>>> "hypervnode01" (although i'm 100% sure i removed any references to it
>>> from ALL the tables - i even dumped everything and "greped" to make 
>>> sure).
>>>
>>> I tried makedhcp, makedns, restarted all the services (xcatd, dhcpd,
>>> named, tgtd) and even removed all the templates from
>>> /opt/xcat/share/xcat/install/windows only leaving my own altered 
>>> template.
>>>
>>> If i remove the template (in this case, "compute.tmpl") xcat complains
>>> it can't find a "compute" unattended template but it doesn't seem to
>>> deploy the installation based on my changes!
>>>
>>> Another strange thing that i don't understand is the naming of the
>>> templates.
>>>
>>> The default is called: enterprise.win2k8.x86_64.tmpl
>>> But if i copy this template to "compute.tmpl" OR
>>> "compute.win2k8.x86_64.tmpl", xcat doesn't seem to complain about not
>>> finding the correct template.
>>>
>>> Does it try to auto find the correct template based on the name?
>>> I did a test where i copied enterprise.win2k8.x86_64.tmpl to
>>> compute.win2k8.x86_64.tmpl and then tried doing:
>>> rinstall -o win2k8 -p computer -a x86_64 hypernode01
>>>
>>> And it didn't complain about not knowing where the template was...?
>>>
>>> Any thoughts?
>>>
>>> Thanks,
>>>
>>> -- 
>>> Luís Miguel Ferreira da Silva
>>> Instituto Superior Politécnico Gaya
>>> Av. dos Descobrimentos, 333
>>> 4400-103 Santa Marinha - V. N. de Gaia
>>> Tel: +351 223745730/3/5
>>> GSM: +351 912671471
>>>
>>> _______________________________________________
>>> xcat-user mailing list
>>> xcat-user at lists.xcat.org
>>> http://www.xcat.org/mailman/listinfo/xcat-user
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> xcat-user mailing list
>>> xcat-user at lists.xcat.org
>>> http://www.xcat.org/mailman/listinfo/xcat-user
>>>   
>>
>>
>> -- 
>> Luís Miguel Ferreira da Silva
>> Instituto Superior Politécnico Gaya
>> Av. dos Descobrimentos, 333
>> 4400-103 Santa Marinha - V. N. de Gaia
>> Tel: +351 223745730/3/5
>> GSM: +351 912671471 
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> xcat-user mailing list
>> xcat-user at lists.xcat.org
>> http://www.xcat.org/mailman/listinfo/xcat-user
>>   
>
>
> -- 
> Luís Miguel Ferreira da Silva
> Instituto Superior Politécnico Gaya
> Av. dos Descobrimentos, 333
> 4400-103 Santa Marinha - V. N. de Gaia
> Tel: +351 223745730/3/5
> GSM: +351 912671471 
> ------------------------------------------------------------------------
>
> _______________________________________________
> xcat-user mailing list
> xcat-user at lists.xcat.org
> http://www.xcat.org/mailman/listinfo/xcat-user
>   


-- 
Luís Miguel Ferreira da Silva
Instituto Superior Politécnico Gaya
Av. dos Descobrimentos, 333
4400-103 Santa Marinha - V. N. de Gaia
Tel: +351 223745730/3/5
GSM: +351 912671471 

-------------- next part --------------
Skipped content of type multipart/related


More information about the xcat-user mailing list