mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-26 08:55:24 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			149 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			149 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #Restapi configuration
 | |
| [Restapi]
 | |
| restapi-DefaultNRUser=wsuser
 | |
| restapi-DefaultNRpasswd=cluster
 | |
| restapi-Cert=/root/ca-cert.pem
 | |
| 
 | |
| #Table configuration
 | |
| [Table_passwd]
 | |
| key=system
 | |
| username=root
 | |
| password=cluster
 | |
| 
 | |
| [Table_site]
 | |
| key=nameservers
 | |
| value=192.168.10.1
 | |
| key=forwarders
 | |
| value=9.114.1.1
 | |
| key=domain
 | |
| value=ppd.pok.ibm.com
 | |
| [Object_network]
 | |
| Name=autotest_ent
 | |
| net=192.168.10.0
 | |
| mask=255.255.255.0
 | |
| gateway=192.168.10.3
 | |
| 
 | |
| #Object configuration
 | |
| [Object_node]
 | |
| Name=w1v3hmc05.ppd.pok.ibm.com
 | |
| groups=hmc,all
 | |
| nodetype=hmc
 | |
| mgt=hmc
 | |
| username=hscroot
 | |
| password=abc123
 | |
| 
 | |
| [Object_node]
 | |
| Name=Server-9117-MMA-SN10F6F3D
 | |
| nodetype=fsp
 | |
| mtm=9117-MMA
 | |
| serial=10F6F3D
 | |
| side=A
 | |
| hcp=9.114.47.165
 | |
| groups=fsp,all
 | |
| mgt=hmc
 | |
| 
 | |
| [Object_node]
 | |
| Name=lpar5
 | |
| hcp=w1v3hmc05.ppd.pok.ibm.com
 | |
| netboot=yaboot
 | |
| tftpserver=192.168.10.1
 | |
| nfsserver=192.168.10.1
 | |
| monserver=192.168.10.1
 | |
| xcatmaster=192.168.10.1
 | |
| installnic=eth1
 | |
| primarynic=eth0
 | |
| arch=ppc64
 | |
| profile=compute
 | |
| os=rhels5.4
 | |
| 
 | |
| #system varible for autotest
 | |
| [System]
 | |
| MN=rhmn      
 | |
| SN=rhsn
 | |
| CN=lpar5            #It can be used in flat environment
 | |
| CNWITHSN=lpar6      #It can be used in hierarchy environment for cn
 | |
| ISO=/iso/RHEL5.4-Server-20090819.0-ppc-DVD.iso
 | |
| NETDRIVER=ibmveth     #network infterface card driver used by diskless installation
 | |
| NETBOOTDIR=/opt/xcat/share/xcat/netboot/rh       #path of netboot directory, used by diskless installation
 | |
| MaxLparID=32
 | |
| KITDATA=kitdata
 | |
| #For migration cases Begin
 | |
| UBUNTU_MIGRATION1_CORE=https://xcat.org/files/xcat/xcat-core/2.10.x_Ubuntu/xcat-core/xcat-core-2.10.tar.bz2
 | |
| UBUNTU_MIGRATION2_CORE=https://xcat.org/files/xcat/xcat-core/2.11.x_Ubuntu/xcat-core/xcat-core-2.11.1-ubuntu.tar.bz2
 | |
| UBUNTU_MIGRATION1_DEP=https://xcat.org/files/xcat/xcat-dep/2.x_Ubuntu/xcat-dep-ubuntu-20151012.tar.bz
 | |
| UBUNTU_MIGRATION2_DEP=https://xcat.org/files/xcat/xcat-dep/2.x_Ubuntu/xcat-dep-ubuntu-2.11.1.tar.bz2
 | |
| UBUNTU_MIGRATION1_VERSION=2.10
 | |
| UBUNTU_MIGRATION2_VERSION=2.11.1
 | |
| MIGRATION1_CORE=http://xcat.org/files/xcat/xcat-core/2.10.x_Linux/xcat-core/xcat-core-2.10.tar.bz2
 | |
| MIGRATION2_CORE=http://xcat.org/files/xcat/xcat-core/2.11.x_Linux/xcat-core/xcat-core-2.11.1-linux.tar.bz2
 | |
| MIGRATION1_DEP=http://xcat.org/files/xcat/xcat-dep/2.x_Linux/xcat-dep-2.10.tar.bz2
 | |
| MIGRATION2_DEP=http://xcat.org/files/xcat/xcat-dep/2.x_Linux/xcat-dep-2.11.1.tar.bz2
 | |
| MIGRATION1_VERSION=2.10
 | |
| MIGRATION2_VERSION=2.11.1
 | |
| LATEST_VERSION=2.12.1
 | |
| #For migration cass End
 | |
| #For docker host setup
 | |
| DOCKERIMAGE=ubuntu
 | |
| DOCKERCOMMAND=/bin/bash
 | |
| DOCKERCONIP=10.4.27.100
 | |
| #container on CN so the ip should be same network section  with CN
 | |
| DOCKERHOSIP=10.4.27.10
 | |
| #should be same with CN's ip
 | |
| DOCKERMNXCAT=xcatmn
 | |
| MYNET0VALUE=10.0.0.0/8
 | |
| DOCKERCN=host05c08
 | |
| #docker host setup end
 | |
| #For installnics start
 | |
| INSTALLNICIP=10.2.2.27
 | |
| #End
 | |
| #For image define start
 | |
| STATELITE=rhels7.2-ppc64-statelite-compute
 | |
| STATELESS=rhels7.2-ppc64-netboot-compute
 | |
| #End
 | |
| #For switch case start
 | |
| range=10.4-5.24-25.1
 | |
| #End
 | |
| #For ntp case start
 | |
| extntpserversip=10.2.1.12
 | |
| ###the extntpserversip should be sure have ntp server on it
 | |
| DATE=2016
 | |
| #End
 | |
| #For bmc test case start
 | |
| bmcrange=10.4.30.254
 | |
| #bmc ip
 | |
| bmcusername=USERID
 | |
| bmcpasswd=PASSW0RD
 | |
| #For bmc case u need to set username and passwd first
 | |
| #End
 | |
| #For pdu support
 | |
| PDU=f5pdu3
 | |
| PDUIP=50.0.0.8
 | |
| PORT=6
 | |
| #End
 | |
| [Custom]
 | |
| 
 | |
| #commands run before test
 | |
| [Script_Prev]
 | |
| #rpm -e xCAT xCAT-server xCAT-client perl-xCAT
 | |
| #rm -rf /etc/xcat
 | |
| #rm -rf /root/.xcat
 | |
| #rm -rf /root/.ssh
 | |
| #rm -rf /install/autoinst
 | |
| #rm -rf /install/postscripts
 | |
| #wget http://xcat.org/files/xcat/xcat-core/devel/Linux/core-snap/core-rpms-snap.tar.bz2
 | |
| #tar jxf core-rpms-snap.tar.bz2
 | |
| #./xcat-core/mklocalrepo.sh
 | |
| #mount -o loop /iso/RHEL5.4-Server-20090819.0-ppc-DVD.iso /iso/1 -t iso9660
 | |
| #yum -y install xCAT
 | |
| #umount /iso/1
 | |
| #rm -f core-rpms-snap.tar.bz2
 | |
| #rm -rf xcat-core
 | |
| 
 | |
| #commands run after test
 | |
| [Script_Post]
 | |
| NODEIP=10.4.27.10
 | |
| #should same with CN's ip this ip is set for CN's confignics' set up
 | |
| #genesis testcase
 | |
| imgip=10.4.27.10
 | |
| #imgip should be same with MN's ip genesis case only for ppc64le and x86_64
 |