IBM z/OS Discovery requirements and expectationsIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Discovery Limitations We have a limited support for the z/OS server. We can discover the following: Server information: OS Type, OS Version, OS Revision, Host name, System name and Serial number.Network information: IP address, MAC Address, NIC Name.File System: File System, Total Space, Free Space, Mount On and File system type.The pattern can discover the following hosted application: WAS, DB2 and MQ which running on z/OS. Prerequisites This section describes some of the required prerequisites. Prerequisites for horizontal discovery IBM z/OS MF The prerequisites, commands and permissions that the customer will need to provide for IBM z/OS MF host and hosted application detection are as follows: General USS service running on port 22 on Z/OS.SSH Credentials.User have permission to write to /tmp.User have permission to see all users processes.User have permission to run REXX scripts. Commands: We need permissions to run the following commands: unamehostnamesysvar SYSNAMEnetstatdflscatgreppscut Get OS Type uname –Iuname –vuname –rmuname –s Get machine name hostname Get system name sysvar SYSNAME Get CPU info run REXX script Prerequisites for horizontal discovery IBM z/OS MF Get network information netstat -g | awk '{if (NR>4) print \$1,\$3}' Get gateway information netstat -r | awk '{if (NR>3) print \$1,\$2,\$5}' Get IP array netstat -h | awk '{if (NR>4) print \$1}' | grep -v '127.0.0.1' Get interfaces netstat -R ALL | awk '{if (NR>1) print \$0}' Get File System information df -k | awk '{print \$1,\$2}' |sed -e s'/(//' | sed -e s'/)//' 2> /dev/null Prerequisites for discovery of MQ on IBM z/OS MF Permission to run MQ commands from oeconsolRead permission for MQ folder Get MQ name from netstat: "netstat -a | grep "+$port Get MQ file system: " df -k | grep MQ" Get queue manager name: "echo "+$netstat_info[1].mq_name+" | cut -c1-4" Get MQ logical name: "oeconsol '-"+$queue_manager+" display qmgr ALL' " Get queue info: "oeconsol '-"+$queue_manager+" display queue ("+$entry_point.queue_name+") ALL' | tr \"(\" \"#\" | tr \")\" \"\"" Get queue info: "oeconsol '-"+$queue_manager+" display queue ("+$name+")'" Get channel info: "oeconsol '-"+$queue_manager+" display channel(*) CONNAME where(QMNAME EQ "+$remote_queue_mngr_name+")'" Get local queue info: "oeconsol '-"+$queue_manager+" display qlocal(*) '" Prerequisites for discovery of DB2 on IBM z/OS MF Get DB2 name from netstat command Prerequisites for discovery of WAS on IBM z/OS MF Permission to run "oeconsol 'D OMVS,A=ALL' | grep "+$tasknameRead permission for WAS installation folderRead permission for was.env file Commands permissions for discovery of WebSphere on IBM z/OS MF Get task name from our listening port: netstat -a | grep "+$port+" | awk '{print $1}' Get user name, pid and task name: oeconsol 'D OMVS,A=ALL' | grep "+$taskname Get processes attributes: ps -ef -o user,pid,ppid,comm | awk '{print $1,$2,$3,$4}' Get version from script: $install_dir+"/bin/versionInfo.sh | grep Version | tail -1" Get version from version file (failover): $install_dir+"/properties/version/BASE.product" Get list of URI files: "ls "+$conf_dir+"/*/*/applications/*/deployments/*/META-INF/application.xml | xargs grep \"<context-root>/"+$uri_search+"\""+" 1>/tmp/app.txt 2>/dev/null; cat /tmp/app.txt" Read wsdl files under our ear directory: $ear_directory_name+"/*/*/*/wsdl/*.wsdl" Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Re-confirmed during Zurich timeframe Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } XXXXX