Find in this Blog

Tuesday, February 27, 2024

3 par commands

 


HPE 3PAR – Common CLI (Command Line Interface) Commands

HPE 3PAR – Common CLI (Command Line Interface) Commands


 


HPE 3 Par Storage can be a burden to administrate at times. If you don’t have the commands in a spot where you can easily access them, well, good luck. It can take a while to look up all these bad boys up.


To help our wonderful 3PAR support clients, we have compiled a short list of commonly used show commands for HPE 3PAR systems,  which will mostly display detailed information about your system and its status. If there are any we forgot that you commonly use, send us a message, and we will add it to the list!


 

HPE 3PAR Commands & Basic Function:


showalert        – show status of system alerts

showauthparam    – show authentication parameters

showbattery      – show battery status information

showblock        – show block mapping info for vvs, lds, pds

showcage         – show disk cage information

showcim          – show the CIM server information

showclienv       – show CLI environment parameters

showcpg          – show Common Provisioning Groups (CPGs)

showdate         – show date and time on all system nodes

showdomain       – show domains in the system

showdomainset    – show sets of domains in the system

showeventlog     – show event logs

showfirmwaredb   – show current database of firmware levels

showhost         – show host and host path information

showhostset      – show sets of hosts in the system

showinventory    – show hardware inventory

showiscsisession – show iscsi sessions

showld           – show logical disks (LDs) in the system

showldch         – show LD to PD chunklet mapping

showldmap        – show LD to VV mapping

showlicense      – show installed license key

shownet          – show network configuration and status

shownode         – show node and its component information

shownodeenv      – show node environmental status

showpatch        – show what patches have been applied to the system

showpd           – show physical disks (PDs) in the system

showpdata        – show preserved data status

showpdch         – show status of selected chunklets of physical disks

showpdvv         – show PD to VV mapping

showport         – show FC and iSCSI ports in the system

showportarp      – show ARP table for ports

showportdev      – show detailed information about devices on FC port

showportisns     – show iSNS host information for ports

showportlesb     – show Link Error Status Block – devices on FC port

showrcopy        – show remote copy configuration information

showrctransport  – show info end-to-end transport for remote copy

showsched        – show scheduled tasks in the system

showsnmppw       – shows SNMP access passwords

showsnmpmgr      – show SNMP trap managers

showspace        – show estimated free space

showspare        – show information about spare and relocated chunklets

showsshkey       – show ssh public keys authorized by the current user

showsys          – show system information (name, SN etc.)

showsysmgr       – show system manager startup state

showtarget       – show unrecognized targets

showtask         – show information about tasks

showtemplate     – show templates

showtoc          – show system Table of Contents (TOC) summary

showtocgen       – show system Table of Contents (TOC) generation number

showuser         – show user accounts and SSH keys

showuseracl      – show user access control list

showuserconn     – show user connections

showversion      – show software versions

showvlun         – show virtual LUNs (VLUNs) in the system

showvv           – show virtual volumes (VVs) in the system

showvvmap        – show VV to LD mapping

showvvpd         – show VV distribution across PDs

showvvset        – show sets of VVs in the system

checkhealth        – perform checks to determine overall state of the system

checkpassword     – display authentication and authorization details

checkport         – perform loopback test on fc ports

checkpd           – perform surface scan or diagnostics on physical disks

checkld           – perform validity checks of data on logical disks

Thursday, January 12, 2023

Configuring SAP Java system SLD without Solution Manager.

Configuring SAP Java system SLD without Solution Manager.

Manual Configuration

Step: Login to Java system 

http://system.fqdn.local:50000/sld 


Click on Technical System , create new technical system 


Choose ASAABAP

Fill the ABAP system SID and installation number and host name ( Abap system license should be valid period)



ABAP system hostname , message server number ( goto SMMS tcode and check parameter for hostname) Next


Next if you have additional application server mention here


Add client detail

add 000 Client and Business Client  and respective LOGICL SYSTEM NAME

Choose the product of ABAP system ( S4HANA , NETWEVER 7.5, ECC6  etc)

Next> Finish.

Chose created Technical system and fill the following


General Tab

Make sure  System name

Installation Number

TMS Domain = DOMAIN_SID

TMS Group = GROUP_SID

Database Tab

Client Tab



Message Server tab

=============================

Again go to Home and choose Business System 

Choose New Business system >> AS ABAP

Choose Technical system previously created 

Eg: GEQ,Client=200

Enter Business System Name:  BS_GEQ_<client>

Next> Installed Software

Next Integrations, Choose Business system role= Application system

Related integration server = INTEGERATIO_ENGIN_JAVA

finish ===

Again Go Back Home Technical system check the Business system Tab, the integration is available 



login to ABAP system to verify the connection between JAVA & ABAP

  1. Go to Txn SM59 create RFC >> HTTP External connection required to create. Host: Java system IP/host and Port number and userid/password.
  2. Go to Txn SLDAPICUST 



Choose the connection and click test if  RFC is configured properly  will get below result.


Go to Txn 
SLDCHECK to ensure working perfectly  this will redirect to java system Http



You have successfully created SLD 








Wednesday, January 11, 2023

How to create copy of root user as root ?

 Premise: using sudo (as suggested by the accepted answer) probably is the correct solution at your problem.

That said, if you really need something resembling a second root account, you can create an alias to the system root account.

To do that, follow these steps:

  1. open /etc/passwd
  2. locate the root account line (often the very first line). It will be something similar to root:x:0:0:root:/root:/bin/bash
  3. copy/paste it changing the first root occurence in root2 (ie: changing it in root2:x:0:0:root:/root:/bin/bash)
  4. save your changes and exit the text editor
  5. issue passwd root2 and enter the new password

Note: if you whish, you can avoid direct editing the /etc/passwd file by replacing steps 1-3 with the following command: useradd -o -u 0 -g 0 -N -d /root/ -M root2 (see useradd --help for more information about the required options)

At this point, you can login using not only the original root account (with its original password), but also using the new root2 account (with its new password).

Anyway, remember that it is an alias of an existing user, rather than a completely new user. This means that any files created while logged as root2 have the very same numerical oid/gid of the original system root account (which has 0 as both uid and gid).


Thansk

Yoonus