-
Printer Configuration on Linux.
Configuring of the printer HPleserjet/Zebra/cannon Etc. step-1 /etc/hosts Printername IP step-2 cupsaccept printer-name——–for enabling cupsenable printer-name Step-3 configuration of RAW printer: lpadmin -p printername -E -v socket://printername:9100 -m raw To add an HP LeserJet printer that is connected to the parallel port, you would type the following command: lpadmin -p LeserJet -E -v parallel:/dev/lp1 -m…
-
Monthly Mksys OS backup AIX
Step-1 Estimate Backup: ================================================================= df -tk `lsvgfs rootvg` | awk ‘{total+=$3}\ END {printf “Estimated mksysb size: %d bytes, %.2f GB\n”, total*1024, total/1024/1024}’ It will give you the estimated time of backup, Step-2 Backup Command: backupios -file /home/padmin/28August2013_TESTVIOI_mksysb ===============> VIO Backup Command mksysb -e -i -X /mksysb/10Nov2013_server-1_mksysb============================>AIX server Backup command Step-3 ================= Pre -checks: => check…
-
How to clear Buffer/Cache in Linux
TO Clear The Buffer cache in linux. # free && sync && echo 3 > /proc/sys/vm/drop_caches && free total used free shared buffers cached Mem: 1018916 980832 38084 0 46924 355764 -/+ buffers/cache: 578144 440772 Swap: 2064376 128 2064248 total used free shared buffers cached Mem: 1018916 685008 333908 0 224 108252 -/+ buffers/cache: 576532…
-
VM User Issue In Unix
Some times you will get vmuser related issues in general VM servers. this is due to miss configurations of the file. Below are the steps to fix this issue. ======================================================= he /etc/init directory contains the configuration files. The vmware-tools script is in the /etc/init/vmware-tools.conf file. o work around this issue, you can manually start, stop,…
-
Root VG mirroring In AIX
If you do not mirror the root volume group, you have a single point of failure. Always mirror rootvg! I have seen too many unnecessary system rebuilds because rootvg was not mirrored. Mirroring rootvg is a straightforward process and consists of the following steps, in which we are going to mirror rootvg to a new…
-
Mapping new hdisk to LPAR from VIO
. logon to vio server ( BRKSVX29-VIO ) through padmin (user name) 2. execute lsmap to check the no.of lpars mapped. NOTE: In $ promt you can’t execute AIX commands. $ lsmap -all |more SVSA Physloc Client Partition ID ————— ——————————————– —————— vhost0 U9133.55A.0621FCH-V1-C20 0x00000003 VTD 29a_app LUN 0x8200000000000000 Backing device x29a_app Physloc VTD 29a_os…
-
How to configure the EMC Grab in AIX server
============================================================== ==> 1) Download the emcgrab file sets ==> 2 )Login into Winscp server , drag to server ===> 3) extract the rpm file sets #gunzip filesets name ==>4) install the rpm file sets in the server #rpm -ivh filesets name ==>5) run the emcgrab in the server # cd /tmp/emc/emcgrab # ./ emcgrab.sh ===>6)…
-
NTP server configuration peer to peer connection.
[root@test ~]# cat /etc/ntp.conf # For more information about this file, see the man pages # ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5). driftfile /var/lib/ntp/drift # Permit time synchronization with our time source, but do not # permit the source to query or modify the service on this system. restrict default kod nomodify notrap nopeer noquery…
-
How to check cpu utilization in Kubernetes pod and how to increase CPU count in pod
To check CPU utilization in a Kubernetes pod and increase the CPU count, you can follow these steps: Checking CPU Utilization in a Kubernetes Pod: Increasing CPU Count in a Pod: To increase the CPU count for a pod in Kubernetes, you typically need to update the resource requests and limits in the pod’s configuration,…
-
Cloud Computing Characteristics
5 Characteristics of Cloud Computing On-Demand Self Service No Human interaction Is needed for resource provisioning The resource can be provisioned with a click of a button Provisioning is available 24/7 Broad Network Access Resources can be accessed from Anywhere using the network Ideally high broadband No physical access is required Resource Pooling Physical resources…
-
HelpFull Router and Network commands
You can check the routes for a bgp on a router bibhuti@edge1-re0.> show route receive-protocol bgp 10.16.7.4 inet.0: 841316 destinations, 1361340 routes (841312 active, 2 holddown, 3 hidden) Restart Complete Prefix Nexthop MED Lclpref AS path * 10.103.0.0/16 10.16.7.4 …
-
Terraform workspaces and locals for environment separation
Terraform is this amazing tool to provision and manage changes on your cloud infrastructure while following the great practice of keeping your infrastructure-as-code. One common need on infrastructure management is to build multiple environments, such as testing and production, with mostly the same setup but keeping a few variables different, like networking and sizing. The…
-
AWS storage details
AWS STORAGE: Part -1 ================== Simple Storage service S3 (Object level storage any type of data, you can access it any where) 2.Elastic file system EFS: (common storage you can share across different regions and VPCs ex: patch files , updated files, Linux files) 3.Elastic block storage EBS (it is accessible…
-
AWS EC2 basics
EC2 (Elastic compute cloud) part-1 ====================================== Amazon EC2 provides scalable computing capacity in the AWS cloud. —> you can use Amazon EC2to launch as many or as few virtual servers as you need, configure security and networking and manage storage —> Amazon EC2 enables you to scale up or scale down the instance —> Amazon…
-
Cobalt Environment and work flow
Consule —————- 1) Traditional method do not resolve the apps name . in this method load balancer can do the resolving but it is in round robin fission. if we did any modification it wont update the dynamical but console having extra feature where there is a Registry who manage all the app info and…
-
Veritas Volume Manager A-Z
Logs are being written to /var/tmp/installer-201603250051TRD while installer is in progress Verifying systems: 100% Estimated time remaining: (mm:ss) 0:00 8 of 8 Checking system communication ………………………………………………………………………………………………………………………………………. Done Checking release compatibility ……………………………………………………………………………………………………………………………………… Done Checking installed product …………………………………………………………………………………………………………………………………………. Done Checking prerequisite patches and rpms ………………………………………………………………………………………………………………………………. Done Checking platform version ………………………………………………………………………………………………………………………………………….. Done Checking file system free space ……………………………………………………………………………………………………………………………………..…
-
HP SMART ARRAY CLI COMMANDS
Show configuration: /opt/hp/hpssacli/bin/hpssacli ctrl all show config Controller status /opt/hp/hpssacli/bin/hpssacli ctrl all show status Show detailed controller information for all controllers /opt/hp/hpssacli/bin/hpssacli ctrl all show detail Show detailed controller information for controller in slot 0 /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail Rescan for New Devices /opt/hp/hpssacli/bin/hpssacli rescan Physical disk status /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show…
-
Failed Disk Status on HP-proliant servers
#hpacucli controller all show config———->to See the failed disk in HP proliant server Smart Array P410i in Slot 0 (Embedded) (sn: 500143802590F6C0) logicaldrive 1 (558.9 GB, RAID 1, Interim Recovery Mode) array A (SAS, Unused Space: 0 MB) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 600 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS,…
-
Solaris Lun Related commands
cfgadm -al -o show_FCP_dev |grep fc-fabric—->Verify FC channel‘s are connected and configured. root@test:/> cfgadm -al -o show_FCP_dev |grep fc-fabric c2 fc-fabric connected configured unknown c3 fc-fabric connected configured unknown c4 fc-fabric connected configured unknown c5 fc-fabric connected configured unknown c7 fc-fabric connected configured unknown c9 fc-fabric connected configured unknown fcinfo hba-port |grep Port————>WWN no…
-
ASM Disk Addition(Linux)
1. Introduction ASM Disk is used by Oracle Database server. However, Unix team need to scan the new disk allocated to the server by Storage team and Label the new luns if required. Once the new disk/lun is visible in the server we will provide the details to Database Team so that they can add…
-
Identifying the LUN details on AIX with Script.
find out the lun details on AIX server use the below commands and scripts. [root@ai1028:/home/root]# lsdev | grep hdisk hdisk0 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk1 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk2 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk3 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk4 Available 04-T1-01 XP…
-
Sudo Up gradation in AIX
The following are the steps to upgrade the sudo old version to new version. #cp -p /etc/sudoers /etc/sudoers.01June11 #mkdir /tmp/sudo #mv sudo.1.8.1.2.bff.gz /tmp/sudo #cd /tmp/sudo #gzip -d sudo.1.8.1.2.bff.gz #lslpp -l |grep -i sudo USFSsudo.rte 1.7.4.4 COMMITTED Sudo 1.7.4p4 NOEXEC none USFSsudo.rte 1.7.4.4 COMMITTED Sudo 1.7.4p4 NOEXEC none #installp -u USFSsudo.rte #cd /tmp/sudo #installp -agX -d…
-
HP proliant SERVER hardware command
to check the failed disk, adapter, any physical component on hp prolient server use the below important command. # hpacucli controller all show config———-to See the failed disk in HP proliant server Smart Array P410i in Slot 0 (Embedded) (sn: 500143802590F6C0) logicaldrive 1 (558.9 GB, RAID 1, Interim Recovery Mode) array A (SAS, Unused Space:…