mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	defect 3127 AIX PE 1.2 HPC Integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -12,6 +12,25 @@ | ||||
|  | ||||
| OS=`uname` | ||||
|  | ||||
| # On AIX, need to correctly configure LAPI kernel extensions on a  | ||||
| # diskless node boot | ||||
| # (added for PE 1.2 and newer releases) | ||||
| if [ "$OS" == "AIX" ]; then | ||||
|   if [ "$NODESETSTATE" = "netboot" -o \ | ||||
|        "$NODESETSTATE" = "statelite" -o \ | ||||
|        "$NODESETSTATE" = "diskless" -o \ | ||||
|        "$NODESETSTATE" = "dataless" ]; then  | ||||
|        # Unconfigure any existing LAPI kernel extension | ||||
|        if [ -x /etc/methods/ucfgzcmem ] ; then | ||||
|            /etc/methods/ucfgzcmem  | ||||
|        fi | ||||
|        # Configure the LAPI kernel extension at the latest level | ||||
|        if [ -x /etc/methods/cfgzcmem ] ; then | ||||
|            /etc/methods/cfgzcmem  | ||||
|        fi | ||||
|   fi | ||||
| fi | ||||
|  | ||||
| # Configure the PNSD.cfg to use a smaller log so it doesn't use so much memory | ||||
| # for a stateless image.  Normally, pnsd creates this file if it does not  | ||||
| # exist, but it will not fill it in if it does exist. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user