mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	* 1, enhance xcatperftest to support run testing on different number of nodes without changing DB 2, give a default DB command lists * 1, Using environment to customize TIMEOUT 2, Refine the screen output to ignore the node name lists 3, For run in existing cluster, finally run a full node range test.
		
			
				
	
	
		
			28 lines
		
	
	
		
			831 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			831 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #SERIES# 1,50,100,250,500,1000,2500,5000,10000,20000
 | |
| # 1, For big table read
 | |
| tabdump nodelist
 | |
| 
 | |
| # 2, For node objects
 | |
| # List names for node objects
 | |
| lsdef -t node #NODES#
 | |
| # List all attributes for node objects
 | |
| lsdef -l -t node #NODES#
 | |
| # List some attributes for node objects, attributes in nodelist table
 | |
| lsdef -t node #NODES# -i groups,status,usercomment
 | |
| # List some attributes for node objects, attributes in multiple table
 | |
| lsdef -t node #NODES# -i groups,ip,mac,netboot,servicenode
 | |
| # query with conditions
 | |
| lsdef -t node #NODES# -l -w 'ip!=2.2.2.2' -w 'status==booted'
 | |
| lsdef -S
 | |
| 
 | |
| # 3, For group objects
 | |
| lsdef -t group
 | |
| lsdef -l -t group
 | |
| lsdef -t group $FAKE_NODE_GROUP -i ip,mac
 | |
| 
 | |
| # 4, For node* commands, it should be similar with lsdef -t node
 | |
| nodels #NODES#
 | |
| nodels #NODES# groups
 | |
| nodels #NODES# noderes.netboot==pxe switch.switch
 | |
| 
 |