Posts

Showing posts from 2017

Install PostgreSQL 10 on Centos 7

Ansible tower needs PostgreSQL 9.6 or later. But CentOS/Redhat only has the PostgreSQL 9.2. So I am trying to install the  postgresql-10 (https://www.postgresql.org/download/linux/redhat/) 1> Download the pstgresql10 yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm 2>  Install the client packages:      yum install postgresql10 3>  Optionally install the server packages:      yum install postgresql10-server 4>  Optionally initialize the database and enable automatic start:        /usr/pgsql-10/bin/postgresql-10-setup initdb     systemctl enable postgresql-10     systemctl start postgresql-10

Vmware vRealize error messages: Another instance of the component is already installed on this server.

Vmware vR 7.3 + VCSA 6.5 Error messages: Another instance of the component is already installed on this server. To solve it, two steps: 1> Delete the vR DB 2> Uninstall VMware vCloud Automation Center Server Retry it, it works for me.

ssh tunnel forward display VNC back through a jumphost

Client --> (ssh) --> Jumphost (ssh) --> server (VNC) Host Jumphost  HostName HOSTNAME or IP_Jumphoost  User user_account  IdentityFile ~/.ssh/cbinternal_rsa  IdentitiesOnly yes Host SERVER  HostName hostname or IP_SERVER  User account  IdentityFile ~/.ssh/cbinternal_rsa  IdentitiesOnly yes  ProxyJump Jumphost on the jumphost, modify the ssh_config Match Group GROUP or USER_NAME     AllowTcpForwarding Yes     PermitOpen SERVER:22 restart ssh

TSM tips

Add Disk as device (Radom access Volumes) mklv -y bkv01_02 bkv01 290 chown tsminst1:tsmadm rbkv01_02 define volume BACKUPPOOL /dev/rbkv01_04 access=readwrite reg admin <user_name> <password> emailaddress=xxxxxx grant authority xxxxx classes=operator add FILE into VOLUME define devclass FILE devtype=file define stgpool ICS_BK FILE access=readwrite pooltype=primary maxscratch=100 define volume ICS_BK /backup/001/vol00F https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.6/srv.install/c_dedup_cont_config_install-aix.html crfs -v jfs2 -g TSM_XIV08  -a size=2000G -m /backup/BK020 -a logname=INLINE Start/stop OC: /opt/tivoli/tsm/ui/utils/stopserver.sh /opt/tivoli/tsm/ui/utils/startserver.sh Uninstall the package (AIX): /opt/IBM/InstallationManager/eclipse/tools/imcl -c /opt/IBM/uninstall.sh -c rm -rf /opt/tivoli/tsm rm -rf /opt/IBM/IBMIMShared rm -rf /opt/IBM/InstallationManager/eclipse Inventory tape libaray: checkin libvolume ts3310 sea

VIOS upgrade

Copy the ISO first $ oem_setup_env # cd /var/vio/VMLibrary # loopmount -i H07786312.iso -o "-V cdrfs -o ro" -m /mnt # exit $ updateios -accept -install -dev /mnt

UNIX (hpux, Solaris, aix) physical CPU MEMORY DISK ifno

HPUX: /opt/ignite/bin/print_manifest Solaris: prtconf psrinfo prtdiag AIX: psrinfo lsvg lspv rootvg lsdev |grep ^hd

Backup

For HPUX Full backup: Two options to backup HPUX server: 1> fbackup/frecover (Full backup to the NFS share) fbackup -0vi / -f /xxx/xxx/xxx.fbackup 2> ignite-UX (make_net_recovery/make_tape_recovery) Need to install/configure ignite_UX package (https://h20392.www2.hpe.com/portal/swdepot/displayProductsList.do?category=OE) For Solaris Full Backup: