SAP ABAP Class CL_ESH_APPCON (Execute appliancecontrol OS Commands)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
     S_ESH_ENG_TOOLS (Package) Tools for BOS
Properties
Class CL_ESH_APPCON  
Short Description Execute appliancecontrol OS Commands    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_ESH_ENG_TOOLS   Tools for BOS 
Created 20090616   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ESH_APPCON has no forward declaration.
Interfaces
Class CL_ESH_APPCON has no interface implemented.
Friends
Class CL_ESH_APPCON has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_APPCON_COMMAND Constant Public Type reference (TYPE) SXPGLOGCMD 'ZAPPCON' appliancecontrol command 20090616
2 GC_APPCON_OS_COMMAND Constant Public Type reference (TYPE) STRING 'sudo' appliancecontrol OS command 20090616
3 GC_APPCON_OS_COMMAND_PARAM Constant Public Type reference (TYPE) STRING ' /usr/bin/appliancecontrol' Parameters for appcon command 20090616
4 GC_GET_ATK_VERSION_COMMAND Constant Public Type reference (TYPE) SXPGCOLIST-PARAMETERS 'version' Parameters of external program (string) 20100421
5 GC_GET_IPS_PROXY_EL_COMMAND Constant Public Type reference (TYPE) SXPGCOLIST-PARAMETERS 'get-ips-for-proxy-exclusion-list' Parameters of external program (string) 20100421
6 GC_GET_PRIV_DOMAIN_COMMAND Constant Public Type reference (TYPE) SXPGCOLIST-PARAMETERS 'get-private-domain-by-etc-hosts' Parameters of external program (string) 20100421
7 GC_GET_TOTAL_MEMORY_COMMAND Constant Public Type reference (TYPE) SXPGCOLIST-PARAMETERS 'get-bladecenter-memory' Parameters of external program (string) 20090616
8 GC_GET_TREX_MASTER_BLADE Constant Public Type reference (TYPE) SXPGCOLIST-PARAMETERS 'get-trex-master-blade' Parameters of external program (string) 20090616
9 GC_HOSTNAME Constant Public Type reference (TYPE) STRING 'hostname' Physical host name 20090616
10 GC_SETUP_SEC_LIM_COMMAND Constant Public Type reference (TYPE) SXPGCOLIST-PARAMETERS 'setup-security-limits-all' Parameters of external program (string) 20100819
11 GC_VIRTUALHOSTNAME Constant Public Type reference (TYPE) STRING 'virtualhostname' Virtual host name 20090616
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_APPCON_COMMAND Static method Protected Method Create appcon command in SM49 20090616
2 EXECUTE_APPCON_COMMAND Static method Public Method Execute appliance control comman 20090616
3 GET_ATK_VERSION Static method Public Method Get ATK version 20100421
4 GET_IPS_FOR_PROXY_EXLUSION Static method Public Method Get IPs for proxy exclusion list 20100413
5 GET_NUMERIC_VERSION Static method Protected Method Get numeric version 20100421
6 GET_PRIVATE_DOMAIN Static method Public Method Get private domain 20100413
7 GET_TOTAL_MEMORY Static method Public Method Get total memory of whole blade center 20090616
8 GET_TREX_MASTER_HOSTNAME Static method Public Method Get host name of TREX master instance 20090616
9 IS_APPCON_COMMAND_EXISTING Static method Protected Method Check whether appcon command existsin SM49 20090616
10 REMOVE_BLANK_LINES Static method Protected Method Remove blank lines 20100330
11 SETUP_SECURITY_LIMITS Static method Public Method Set up /etc/security/limits.conf 20100819
Events
Class CL_ESH_APPCON has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_IP Public See coding 20100413 tt_ip TYPE STANDARD TABLE OF string
2 TT_PROT Public See coding 20090616 tt_prot TYPE STANDARD TABLE OF btcxpm
Method Signatures

Method CREATE_APPCON_COMMAND Signature

Method CREATE_APPCON_COMMAND on class CL_ESH_APPCON has no parameter.
# Exception Resumable Description Created on
1 CX_ESH_APPCON_ERROR Appliancecontrol errors 20090616

Method EXECUTE_APPCON_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROT Call by reference Type reference (TYPE) TT_PROT Stdout of OS command 20090616
2 Exporting EV_EXITCODE Call by reference Type reference (TYPE) EXTCMDEXEX-EXITCODE Exit code of an external program 20090616
3 Exporting EV_STATUS Call by reference Type reference (TYPE) EXTCMDEXEX-STATUS Start or exit status of an external program 20090616
4 Importing IV_PARAMETERS_STRING Call by reference Type reference (TYPE) SXPGCOLIST-PARAMETERS Parameters of external program (string) 20090616
# Exception Resumable Description Created on
1 CX_ESH_APPCON_ERROR Appliancecontrol errors 20090616

Method GET_ATK_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_VERSION Value transfer Type reference (TYPE) I 20100421
# Exception Resumable Description Created on
1 CX_ESH_APPCON_ERROR Appliancecontrol errors 20100421

Method GET_IPS_FOR_PROXY_EXLUSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_IPS Call by reference Type reference (TYPE) TT_IP 20100413
# Exception Resumable Description Created on
1 CX_ESH_APPCON_ERROR Appliancecontrol errors 20100413

Method GET_NUMERIC_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VERSION Call by reference Type reference (TYPE) STRING Version as a string 20100421
2 Returning RV_VERSION Value transfer Type reference (TYPE) I Version as integer 20100421

Method GET_NUMERIC_VERSION on class CL_ESH_APPCON has no exception.

Method GET_PRIVATE_DOMAIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DOMAIN Call by reference Type reference (TYPE) STRING 20100413
# Exception Resumable Description Created on
1 CX_ESH_APPCON_ERROR Appliancecontrol errors 20100413

Method GET_TOTAL_MEMORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_MEMORY Value transfer Type reference (TYPE) STRING Total memory in GB 20090616
# Exception Resumable Description Created on
1 CX_ESH_APPCON_ERROR Appliancecontrol errors 20090616

Method GET_TREX_MASTER_HOSTNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_HOSTNAME Call by reference Type reference (TYPE) STRING physical hostname 20090616
2 Exporting EV_VIRTUALHOSTNAME Call by reference Type reference (TYPE) STRING virtual hostname 20090616
# Exception Resumable Description Created on
1 CX_ESH_APPCON_ERROR Appliancecontrol errors 20090616

Method IS_APPCON_COMMAND_EXISTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_FLG_EXISTS Value transfer Type reference (TYPE) FLAG 'X' if appcon does exists 20090616

Method IS_APPCON_COMMAND_EXISTING on class CL_ESH_APPCON has no exception.

Method REMOVE_BLANK_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PROT Call by reference Type reference (TYPE) TT_PROT 20100330

Method REMOVE_BLANK_LINES on class CL_ESH_APPCON has no exception.

Method SETUP_SECURITY_LIMITS Signature

Method SETUP_SECURITY_LIMITS on class CL_ESH_APPCON has no parameter.
# Exception Resumable Description Created on
1 CX_ESH_APPCON_ERROR Appliancecontrol errors 20100819
History
Last changed by/on SAP  20110908 
SAP Release Created in 730