All public logs
From Notes_Wiki
Combined display of all available logs of Notes_Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
(newest | oldest) View (newer 100 | older 100) (20 | 50 | 100 | 250 | 500)- 07:55, 15 October 2022 Saurabh talk contribs created page Convert date to different format using date command (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Desktop tools and applications > Convert date to different format using date command '''Older article on this is at Date''' =Convert date in human-readable format to seconds since epoch (1 Jan 1970)= May databases and log files may output timestamp in seconds since 1 Jan 1970 instead of using human-readable format. In such cases convert date to...")
- 07:42, 15 October 2022 Saurabh talk contribs created page Rocky 9.x Database servers (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Database servers *Rocky 9.0 Mariadb server Home > Rocky Linux or CentOS > Rocky Linux 9.x > Database servers")
- 07:42, 15 October 2022 Saurabh talk contribs created page Rocky 9.0 Mariadb server (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Database servers > Mariadb *Rocky 9.0 Mariadb Save SQL query output to a file Home > Rocky Linux or CentOS > Rocky Linux 9.x > Database servers > Mariadb")
- 07:41, 15 October 2022 Saurabh talk contribs created page Rocky 9.0 Mariadb Save SQL query output to a file (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Database servers > Mariadb > Save SQL query output to a file To save SQL query output to a file append the SQL query with: <pre> INTO OUTFILE '/tmp/output1.txt'; </pre> '''Note that above file may not be visible in /tmp. You may have to go to /tmp/systemd-private-<uid>-mariadb.service...")
- 06:20, 15 October 2022 Saurabh talk contribs created page Reset root password on vCenter 7.x (Created page with "Home > VMWare platform > VMWare vCenter > Reset root password on vCenter 7.x To reset forgotten root password for vCenter 7.x use: # If "administrator@vsphere.local" login is working and only root passwords needs to be reset then we can get vCenter VM console from vCenter itself. ## If administrator@vsphere.local password is also not known then Login into ESXi host where vCenter VM is present. ##: If there are multiple hosts we need to login in...")
- 05:43, 15 October 2022 Saurabh talk contribs created page Rocky 9.x Increase default PHP resources (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Web Servers > Increase default PHP resources Compared to default '<tt>/etc/php.ini</tt>' values use: <pre> max_execution_time = 600 max_input_time = 1200 memory_limit = 2560M post_max_size = 160M upload_max_filesize = 400M max_file_uploads = 400 max_input_vars = 10000 date.timezone = 'Asia/Kolkata' </pre> Further,...")
- 05:38, 15 October 2022 Saurabh talk contribs created page Rocky 9.x Configure apache web server for concurrency (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Web Servers > Apache > Configure for concurrency Concurrency is handled via mpm module. There are different types of mpm modules out of which only one can be used at a time. We can see currently enabled mpm module via: <pre> httpd -V | grep -i mpm </pre> We can see whic...")
- 05:31, 15 October 2022 Saurabh talk contribs created page Rocky 9.x Desktop tools and applications (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Desktop tools and applications *chown command Home > Rocky Linux or CentOS > Rocky Linux 9.x > Desktop tools and applications")
- 05:31, 15 October 2022 Saurabh talk contribs created page Chown command (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Desktop tools and applications > Chown command =Change ownership of symbolic links= Normally chown changes ownership of file / directory pointed by symbolic link. To change ownership of symbolic link itself we need to use '<tt>-h</tt>' option. For example <pre> chown -h <user>:<group> <symbolic-link-name.txt> </pre> Refer: * https://unix.stackexch...")
- 08:46, 7 October 2022 Saurabh talk contribs created page Rocky 9.x Owncloud upgrade by migrating to a new VM with updated version (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > File Sharing > Owncloud > Upgrade and Migrate To upgrade owncloud along with migrating to a new VM (Typically cloud or at least public) use: # Stop web server on old server. For example #:<pre> #:: /opt/owncloud-<ver>/ctlscript.sh stop apache #:</pre> # Take one full backup...")
- 06:47, 7 October 2022 Saurabh talk contribs created page Rocky 9.x Owncloud delete files via REST API via command line (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > File Sharing > Owncloud > Delete files via REST API via command line If there is need to delete file from CLI instead of using Web login / Desktop client then use: <pre> curl -u <owncloud-username>:<owncloud-password> -X DELETE https://<owncloud-fqdn-or-ip>/owncloud/remote.php/webdav/<p...")
- 06:44, 7 October 2022 Saurabh talk contribs created page Rocky 9.x Owncloud Manually moving DataDirectory (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > File Sharing > Owncloud > Manually moving DataDirectory We can change path of owncloud DataDirectory as follows: ('''Assuming moving from''' /var/www/owncloud '''to''' /mnt/owncloud ) # Enable maintenance mode. For example #:<pre> #:: cd /var/www/html/owncloud #:: sudo -u apache php -f occ mainten...")
- 06:31, 7 October 2022 Saurabh talk contribs created page Rocky 9.x Owncloud (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > File Sharing > Owncloud *Rocky 9.x Owncloud Manually moving DataDirectory *Rocky 9.x Owncloud delete files via REST API via command line *Rocky 9.x Owncloud upgrade by migrating to a new VM with updated version '''There are older articles at:''' *CentOS 8.x Owncloud *CentOS 7.x owncloud Home > Rocky Linux or Cen...")
- 06:30, 7 October 2022 Saurabh talk contribs created page Rocky 9.x File sharing (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > File Sharing *Rocky 9.x Owncloud Home > Rocky Linux or CentOS > Rocky Linux 9.x > File Sharing")
- 06:20, 7 October 2022 Saurabh talk contribs created page Rocky 9.x Web servers (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Rocky 9.x Web servers *Rocky 9.x Apache web server configuration Home > Rocky Linux or CentOS > Rocky Linux 9.x > Rocky 9.x Web servers")
- 06:13, 7 October 2022 Saurabh talk contribs created page Ls command (Created page with "Home > Shell scripting > ls command =Get full time along with year information in ls -l output= Normally '<tt>ls -l</tt>' output only prints date (day) and month and not year information of file last modification, access or change time. If the file is modified today itself it prints hour:minute information. To list year, seconds, Microseconds also use: <pre> ls -l --full-time </pre> Refer: * https://stackoverflow.com/questions/13999300/bash-ls-...")
- 10:02, 5 October 2022 Saurabh talk contribs created page Rocky 9.x Installing lets-encrypt SSL certificate (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Rocky 9.x Apache web server configuration > Rocky 9.x Installing lets-encrypt SSL certificate To install lets-encrypt certificate on a machine for use with apache (httpd) use: # dnf -y install epel-release mod_ssl # dnf -y install certbot python3-certbot-apache # certbot apache mode works only when NameVirtualHost is enabled and appropriate VirtualHost are created in apache. If this is not p...")
- 09:56, 5 October 2022 Saurabh talk contribs created page Rocky 9.x Apache web server configuration (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Rocky 9.x Apache web server configuration *Rocky 9.x Installing lets-encrypt SSL certificate '''There are older articles at: * CentOS 8.x apache web server''' * Apache web server configuration Home > Rocky Linux or CentOS > Rocky Linux 9.x > Rocky 9.x Apache web server configuration")
- 09:52, 5 October 2022 Saurabh talk contribs created page Rocky Linux 9.x (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x *Apache web server configuration")
- 09:51, 5 October 2022 Saurabh talk contribs moved page CentOS to Rocky Linux or CentOS
- 09:42, 5 October 2022 Saurabh talk contribs created page Disable root password expiry on vCenter (Created page with "Home > VMWare platform > VMWare vCenter > Disable root password expiry on vCenter To disable password expiry on vCenter '''Very important for VxRail / vCF automated environments''' use: # Login into vCenter via SSH and get access to bash shell by typing 'shell' in appliancesh prompt. #: OR we can open vCenter VM console via vCenter / ESXi host and login with root username and password # Change existing password (if required) via: #:<pre> #:: pa...")
- 09:38, 5 October 2022 Saurabh talk contribs created page Disable password expiry on SDDC Manager (Created page with "Home > VMWare platform > vCloud Foundation > Disable password expiry on SDDC Manager We should disable both root and vcf user password expiry on SDDC Manager via: # Either SSH to SDDC manager and login as vcf user. Then use 'su -' and enter root password to get root shell #: OR open remote console for SDDC manager VM via vCenter. Login with root user and root password # If vCenter root or SDDC manager root or SDDC manager vc...")
- 12:12, 25 September 2022 Saurabh talk contribs created page Delete Recovery partition in Windows 10 (Created page with "Home > Windows > Windows 10 > Delete Recovery partition in Windows 10 It is possible to have a recovery partition created after C: drive in Windows 10 after OS installation. This makes it difficult to increase the hard-disk size (esp. in case of VMs / storages) and expand C drive. If the recovery partition is not required then in such cases it can be deleted via: # If there are backup options (eg snapshot, etc.) perhaps take a proper backup...")
- 11:51, 25 September 2022 Saurabh talk contribs created page Disable cortana and use normal windows search using registry editing (Created page with "Home > Windows > Windows Server 2019 > Disable cortana and use normal windows search using registry editing To optimize on resources when Cortana is not desired (eg RDSH server with Horizon where OS Optimization TOol is not used), we can disable it via registry using: # Open regedit # Go to "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" # If you don’t see a "Windows Search" key (folder) under the Windows folder, right...")
- 07:50, 25 September 2022 Saurabh talk contribs created page Multiple conhost.exe using high overall CPU esp. in VDI RDSH environment (Created page with "Home > Windows > Windows Server 2019 > Multiple conhost.exe using high overall CPU esp. in VDI RDSH environment In case of a VDI RDSH environment observed multiple conhost.exe processes with high CPU. Tried to use: <pre> sfc /scannow </pre> in administrator CMD. This did not solve the problem. Using sysinternal process explorer ( https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer ) also did not reveal more insight. D...")
- 03:16, 21 September 2022 Saurabh talk contribs created page Configure NSX-T north-south gateway firewall rules or policies (Created page with "Home > VMWare platform > VMWare NSX > Configure NSX-T north-south gateway firewall rules or policies When we configure NSX-T T0 in active-active mode as advised at Configure NSX-T 3.0 from scratch with edge cluster and tier gateways or as is automatically done when using VCloud Foundation automated NSX-T deployment, then while configuring north-south gateway firewall rules or policies we need to: * Ensure that TCP strict is disabled as...")
- 11:12, 12 September 2022 Saurabh talk contribs created page Add power servers to vHMC (Created page with "Home > VIOS or AIX > Add power servers to vHMC To add power servers to a new HMC use: # Login into HMC web interface as hscroot user # Go to all Systems # Choose option for "Add Managed Systems" # Add the IP address of HMC (not VIOS) of the power server to be added # Enter hmc admin password for authentication. (Default password is admin). # On confirm Add systems popup click "Add" # There might be prompt to set ASM General password. We can leave...")
- 09:19, 12 September 2022 Saurabh talk contribs created page Deploy vHMC virtual appliance and go through Install Wizard (Created page with "Home > VIOS or AIX > Deploy vHMC virtual appliance and go through Install Wizard vHMC can be deployed on top of VMWare (ESXi) or KVM hypervisors. To deploy it on vSphere use following steps: # Choose option to deploy OVA/OVF file from vSphere web client # Give appropriate VM name as per requirement and choose downloaded ova file from local disk to deploy vHMC # Choose appropriate Datastore, Network, Thin/Thick disk, etc. to deploy the VM # After o...")
- 05:48, 12 September 2022 Saurabh talk contribs created page Enabling photo viewer in Windows Server 2019 (Created page with "Home > Windows > Windows Server 2019 > Enabling photo viewer in Windows Server 2019 Home > VMWare platform > VMWare Horizon > Enabling photo viewer in Windows Server 2019 In case of Server 2019 machine being used as Desktop (eg RDSH VDI scenario), it might be useful to change default photo application from paint to photo viewer using: # Go to '<tt>C:\Program Files (x86)\Windows Photo Viewer</tt>' and look for DLLs rel...")
- 03:20, 12 September 2022 Saurabh talk contribs created page Configure NSX-T exclusion list (Created page with "Home > VMWare platform > VMWare NSX > Configure NSX-T exclusion list Sometimes it is desired to exclude a few VMs such as NSX controller cluster / NSX manager cluster, vCenter, AD etc. from NSX so that even if we make a mistake in writing an NSX distributed firewall policy, we can at least login into vCenter / NSX manager etc. and revert the changes. To configure a group (list) of VMs that should be excluded from NSX policies use: # Login int...")
- 06:33, 30 August 2022 Saurabh talk contribs created page Upgrading 12SP4 LPAR to 15SP1 (Created page with "Home > VIOS or AIX > Upgrading 12SP4 LPAR to 15SP1 To upgrade 12SP4 LPAR to 15SP1 use: # Connect two virtual optical drivers (one for installer and one for packages). See Add Virtual Optical Media to LPAR with desired OS ISO image # Start "Upgrade" option after booting through CD using "System management services". See Activating the LPAR (Starting) #* Press up/down arrow to get grub # Ideally we should have taken a backup of system (root...")
- 06:29, 30 August 2022 Saurabh talk contribs created page Backup of LPAR by booting into Suse installer DVD rescue mode (Created page with "Home > VIOS or AIX > Backup of LPAR by booting into Suse installer DVD rescue mode To take disk level image backup of LPAR to a remote location use: # We should have a backup destination with dd, nc installed. It can be a Linux machine (Physical or VM) or in case of Windows install Cygwin with ddrescue and nc also selected along with default packages. # Boot the LPAR via "System Management Service" so that we can go to rescue mode of CD. (Suse12S...")
- 06:26, 30 August 2022 Saurabh talk contribs created page Installing Suse 12SP4 in LPAR (Created page with "Home > VIOS or AIX > Installing Suse 12SP4 in LPAR After Activating the LPAR (Starting) to boot via Suse 12SP4 installed DVD (See Uploading a new OS ISO to VIOS Library and Add Virtual Optical Media to LPAR with desired OS ISO image), we can install OS using: # After existing "System Management Service" via grub choose option of "Installation". #* You may have to press up-down arrow to get grub menu #* Careful avoid left-right arrow....")
- 06:24, 30 August 2022 Saurabh talk contribs created page Activating the LPAR (Starting) (Created page with "Home > VIOS or AIX > Activating the LPAR (Starting) After Create LPAR and Add Virtual Optical Media to LPAR with desired OS ISO image we can activating the created LPAR and boot it using attached virtual optical media using: # Login into vHMC # Go to Power server # Select the LPAR. From Actions menu choose "Activate" # To boot via virtual optical CD/DVD in "Activation Options" expand "Advanced Settings" against "Boot Mode" select "System M...")
- 06:20, 30 August 2022 Saurabh talk contribs created page Add Virtual Optical Media to LPAR with desired OS ISO image (Created page with "Home > VIOS or AIX > Add Virtual Optical Media to LPAR with desired OS ISO image To add a virtual CD/DVD (Optical Media) to LPAR using ISO image uploaded to library (See Uploading a new OS ISO to VIOS Library ) use: # Login into vHMC # Go to LPAR created in above steps # Go to "Virtual Storage" # Go to "Virtual Optical Device" # Click on "Add Virtual Optical Device" # Give approprite Device Name (eg cd1), Select the VIOS Server, click ok. # Se...")
- 05:04, 30 August 2022 Saurabh talk contribs created page Uploading a new OS ISO to VIOS Library (Created page with "Home > VIOS or AIX > Uploading a new OS ISO to VIOS Library To upload a new OS ISO to VIOS Library (and optionally create a new library as required): # Download relevant ISO using Internet # Use "WinSCP" with scp (*and not sftp*0 to login into VIOS as padmin or root # Copy the ISO to /home/padmin (padmin) or /tmp (root). #: If copied to /home/padmim, login into putty as padmin. Use "r o". Move uploaded ISO to /tmp. # Login into vHMC # Go to Pow...")
- 05:02, 30 August 2022 Saurabh talk contribs created page Adding Root disk / storage to LPAR (Created page with "Home > VIOS or AIX > Adding Root disk / storage to LPAR To add root disk or additional storage to LPAR via vHMC: # Go to LPAR created as per Create LPAR # Go to "Virtual Storage" # In case of virtual FC storage (NPIV) ## Using "Virtual Fibre Channel" tab ##* Add virtual Fiber channel devices to the LPAR ##* Select all Fibre Channel Ports (2/4) and click ok. ##: You can see availabile port connections count (eg 61) on this screen. ## Do zoning,...")
- 05:00, 30 August 2022 Saurabh talk contribs created page Adding Virtual Network to LPAR (Created page with "Home > VIOS or AIX > Adding Virtual Network to LPAR To add Virtual network (NIC) to LPAR via vHMC use: # Go to LPAR created as per Create LPAR # Go to "Virtual Networks" # Click "Attach Virtual Network" # Select appropriate virtual network name based on site. Ideally this network should be connected to a "Virtual Network Bridge" # Click ok. Home > VIOS or AIX > Adding Virtual Network to LPAR")
- 04:59, 30 August 2022 Saurabh talk contribs created page Create LPAR (Created page with "Home > VIOS or AIX > Create LPAR To create LPAR using vHMC use: # Login into vHMC # Go to Power Server # Click on "Create Partition" on top right corner # Give appropriate Partition Name. ## Leave Partition ID to <auto assign>, Partition Type to AIX/Linux, Maximum Virtual Adapters:10 # Click on "Processor conifguration" with Processor Mode "Shared", Uncapped ## For test LPAR leave virtual processors minimum, allocated and maximum to 1 ## Processi...")
- 04:52, 30 August 2022 Saurabh talk contribs created page Using vi editing mode on shell (Created page with "Home > VIOS or AIX > Using vi editing mode on shell We can use following to enable vi editing mode on shell: <pre> set -o vi </pre> After this we can do the following at least: ;Esc + v : Escape takes to control mode and then v is for editing the line in vi. After editing we can use :wq to execute the typed command 'Esc + k : Escape takes to control mode and then k takes to previous command in history. More on this at https://www.ibm.com/docs/...")
- 15:12, 24 August 2022 Saurabh talk contribs moved page Nessuss to Nessus (Corrected name)
- 07:52, 17 August 2022 Saurabh talk contribs created page Disable hot plug and unplug for NIC and USB for clients (Created page with "Home > VMWare platform > VMWare Horizon > Disable hot plug and unplug for NIC and USB for clients When users connect to Horizon VDI via Horizon client, they get option to unplug both USB and NIC. USB unplug is useful to safely remove USB device, but NIC unplug disconnections the VM. After that we need to remove the old NIC from the VM at vSphere/vCenter level and reconfigure the VM with same IP on a new NIC. To avoid all this we can disable...")
- 07:44, 17 August 2022 Saurabh talk contribs created page Configure RDSH licensing server and client for VDI (Created page with "Home > VMWare platform > VMWare Horizon > Configure RDSH licensing server and client for VDI By default the Windows Server 2019 VMs might allow RDSH via VDI RDSH pools to work only till 180 days. For any extended usage perhaps license is required. To setup a RDSH licensing server and client use below steps: =Get Microsoft licensing ID for the organization= The next sections explain server setup using "Agreement No". To find Agreement No fo...")
- 07:08, 17 August 2022 Saurabh talk contribs created page CentOS 8.x Roundcube web based installer for Gmail IMAP and SMTP (Created page with "Home > CentOS > CentOS 8.x > Web based tools > CentOS 8.x Roundcube > CentOS 8.x Roundcube web based installer for Gmail IMAP and SMTP After installation as per CentOS 8.x Roundcube installation visit http://<server-fqdn-or-ip>/installer to proceed further as follows: # Check environment -- click NEXT button in the bottom of page # Create Config ## In database setup section, fill Database password as co...")
- 07:07, 17 August 2022 Saurabh talk contribs created page CentOS 8.x Roundcube (Created page with "Home > CentOS > CentOS 8.x > Web based tools > CentOS 8.x Roundcube *CentOS 8.x Roundcube installation *CentOS 8.x Roundcube web based installer for Gmail IMAP and SMTP There are older articles on roundcube at Roundcube configuration")
- 07:07, 17 August 2022 Saurabh talk contribs created page CentOS 8.x Roundcube installation (Created page with "Home > CentOS > CentOS 8.x > Web based tools > CentOS 8.x Roundcube > Installation To install roundcube use following steps: # Install mariadb and set roundcube database using: #:<pre> #:: dnf -y install mariadb-server #:: systemctl start mariadb #:: systemctl enable mariadb #:: mysql_secure_installation #:: #:: mysql -u root -p #:: #:: CREATE DATABASE roundcubemail; #:: CRE...")
- 13:03, 3 August 2022 Saurabh talk contribs created page Accessing partition via IVM managed hosts (Created page with "Home > VIOS or AIX > Accessing partition via IVM managed hosts We can access virtual terminal on IVM managed hosts when there is older power server and no vHMC via: # If logged in via root change to padmin user via (Or login as padmin directly) #:<pre> #:: su - padmin #:</pre> # Get the lpars names and id's #:<pre> #:: lssyscfg -r lpar -F name,lpar_id #:</pre> # Login to lpar using id #:<pre> #:: mkvt -id <lpar-id> #:</pre> # If terminal already...")
- 12:55, 3 August 2022 Saurabh talk contribs created page Accessing VIOS console via HMC console (Created page with "Home > VIOS or AIX > Accessing VIOS console via HMC console In case of emergency (unexpected boot after maintenance) we should always be able to connect to VIOS via HMC via console. This can help in recovering from some boot issues. To do the same use: # SSH to vHMC via use (eg hscroot) # Run below command #:<pre> #:: vtmenu #:</pre> # Select the appropriate power server for which we want to connect to VIOS # Select the VIOS to which we want to c...")
- 12:33, 3 August 2022 Saurabh talk contribs created page Removing disk from VIOS server (Created page with "Home > VIOS or AIX > Removing disk from VIOS server To remove disk from VIOS server use below steps: # Login to VIOS server (padmin) # Find the hdisk name of the disk to be removed using: #:<pre> #:: lspv #:</pre> #: Example output #::<pre> #:::$ $ lspv #:::NAME PVID VG STATUS #:::hdisk120 00c2eae02d3989c8 None #:::hdisk121 00c2eae095ba1018...")
- 12:26, 3 August 2022 Saurabh talk contribs moved page Configure Date and Time on VOIS to Configure Date and Time on VIOS (Spelling correction)
- 12:25, 3 August 2022 Saurabh talk contribs moved page VOIS or AIX to VIOS or AIX (Spelling correction)
- 11:46, 3 August 2022 Saurabh talk contribs created page Lvm2-pvscan service error on Suse LPAR or machine boot (Created page with "Home > Suse > Lvm2-pvscan service error on Suse LPAR or machine boot If we see following error while booting Suse LPAR or physical machine: <pre> FAILED] Failed to start LVM2 PV scan on device 254:7. See 'systemctl status lvm2-pvscan@254:7.service' for details </pre> Then the issue can be resolved by: # Login into emergency mode by entering root password # Start the lvm2 service manually: #:<pre> #:: systemctl start lvm2-pvscan@254:7.service...")
- 11:27, 3 August 2022 Saurabh talk contribs created page Making Input/Output Completion Port API Available (Created page with "Home > VOIS or AIX > Making Input/Output Completion Port API Available The IOCP API allows SAP ASE to process multiple simultaneous asynchronous I/O operations in a scalable fashion. If you do not have IOCP version 6.1.5.0 or later, SAP ASE does not start when you run '<tt>dataserver</tt>'. There might be error: <pre> 0509-136 Symbol CreateIoCompletionPort (number 579) is not exported from dependent module /unix </pre> To solve this use: # R...")
- 12:18, 22 July 2022 Saurabh talk contribs created page CentOS 8.x Reduce size of ext2, ext3 or ext4 partition (Created page with "Home > CentOS > CentOS 8.x > System Administration > Filesystem management > CentOS 8.x Reduce size of ext2, ext3 or ext4 partition In case size of ext partition (ext2-4) needs to be reduced, it can be done as follows: # Check the occupied and free space on partition: #:<pre> #:: df -h #:</pre> #: Ensure that we do not try to resize the partition to value less than free...")
- 10:59, 22 July 2022 Saurabh talk contribs created page CentOS 7.x LVM Remove physical volume from volume group (Created page with "=CentOS 7.x LVM Remove physical volume from volume group= To remove physical volume from volume group, there should be at least as many free Physical Extents (PE) in VG as present in that particular Pysical volume. Then we can move all used PE from Physical volume to other physical volumes in same VG and reduce "Used PE" count for physical volume to be removed to zero. Once used PE count is zero we can remove PV via vgreduce command. Overall steps are: # Check for fr...")
- 08:22, 22 July 2022 Saurabh talk contribs created page Configure NTP from cli or UI (Created page with "Home > VMWare platform > VMWare vSphere or ESXi > Configure NTP from cli or UI Changing time from CLI or UI is covered at ESXi host time settings =Configuring NTP from ESXi Web UI= # Login into ESXi web UI as root user # Go to Host -> Manage. Click on System -> Time and Date in right panel # Click on edit NTP settings ## Configure NTP to start and stop with host ## Configure comma separate ntp servers list ## Click Save # Under Host -> Ma...")
- 08:05, 22 July 2022 Saurabh talk contribs created page RHEL (Created page with "Home > RHEL *Upgrade RHEL6 to RHEL7")
- 08:05, 22 July 2022 Saurabh talk contribs created page Upgrade RHEL6 to RHEL7 (Created page with "Home > RHEL > Upgrade RHEL6 to RHEL7 We can upgrade from RHEL 6 to RHEL 7 as follows: # Install the tool to perform the migration from RHEL 6 to RHEL 7: #:<pre> #:: yum install redhat-upgrade-tool #:: yum install yum-utils #:</pre> # Disable all the enabled repositories: #:<pre> #:: yum-config-manager --disable \* #:</pre> # Download latest RHEL 7 ISO ## Visit the Red Hat Customer Service Portal at https://access.redhat.com/login and enter your use...")
- 08:00, 22 July 2022 Saurabh talk contribs created page Export of users from AD and import into another AD (Created page with "Home > Windows > Active Directory > Export of users from AD and import into another AD This was planned but the project was not required. Capturing references below to build KB in future: Refer: * Export : https://www.codetwo.com/admins-blog/export-users-from-active-directory/ * Import : ** https://networkproguide.com/bulk-import-users-into-active-directory-from-csv/ ** https://theitbros.com/import-users-into-active-directory-from-csv...")
- 07:38, 22 July 2022 Saurabh talk contribs created page Taking backup of VIOS server (Created page with "Home > VOIS or AIX > Taking backup of VIOS server To take backup of VIOS server use: # For backup, Create directory in tmp using: #:<pre> #:: oem_setup_env #:: mkdir /tmp/<backup-folder> #:: exit #:</pre> # Then take backup via: #:<pre> #:: #IOS backup including base code, fixes, drivers, etc. #:: backupios -file /tmp/<backup-folder>/<backup-filename>.mksysb -mksysb -nomedialib #:: #:: #User defined virtual device backup #:: viosbr -backup -file /t...")
- 07:27, 22 July 2022 Saurabh talk contribs created page Configure NTP client on AIX (Created page with "Home > VOIS or AIX > Configure NTP client on AIX To configure NTP client on AIX use: # Assuming DNS is working or configured as per Configure DNS via resolv.conf on AIX. We should be able to ping the desired ntp servers such as pool.ntp.org or time.google.com via DNS. # Synchornize time with suitable NTP server #:<pre> #:: ntpdate -d ip.address.of.server #:</pre> #: For example #::<pre> #::: ntpdate -d pool.ntp.org #::</pre> #:: '''Note that t...")
- 07:09, 22 July 2022 Saurabh talk contribs created page Configure DNS via resolv.conf on AIX (Created page with "Home > VOIS or AIX > Configure DNS via resolv.conf on AIX As per https://www.ibm.com/docs/en/aix/7.2?topic=formats-resolvconf-file-format-tcpip we need to directly create /etc/resolv.conf file on AIX to configure DNS. The syntax is similar to modern Unix systems such as: <pre> domain DomainName nameserver <Address1> nameserver <Address2> </pre> For example: <pre> domain example.com nameserver 10.1.1.1 nameserver 10.2.2.2 </pre> Main Page|Hom...")
- 07:06, 22 July 2022 Saurabh talk contribs created page Configure Date and Time on VOIS (Created page with "Home > VOIS or AIX > Configure Date and Time on VOIS =Configure Date and Time on VOIS= To configure date and time on VOIS use below steps: # Run below to get root shell #:<pre> #:: oem_setup_env #:</pre> # Open the configuration manager #:<pre> #:: smit #:</pre> # Go through following options to configure date and time ## Select "System Environments" ## Select "Change / Show Date and Time" ## Select "Change / Show Date & Time" ## Change required pa...")
- 06:54, 22 July 2022 Saurabh talk contribs created page VOIS or AIX (Created page with "Home > VOIS or AIX =VOIS= *Configure Date and Time on VOIS =AIX= *Configure DNS via resolv.conf on AIX *Configure NTP on AIX Home > VOIS or AIX")
- 05:35, 21 July 2022 Saurabh talk contribs created page CRM cluster on Suse Miscellaneous notes (Created page with "Home > Suse > SAP setup and maintenance > CRM cluster on Suse Miscellaneous notes =Accessing cluster via web interface= Access cluster via https://<hostname-or-ip>:7630/ (Hawk) and login via appropriate user such as hacluster.")
- 05:26, 21 July 2022 Saurabh talk contribs created page Checking SAP application ASCS/ERS status (Created page with "Home > Suse > SAP setup and maintenance > Checking SAP application ASCS/ERS status =ASCS / ERS status= As explained at https://blogs.sap.com/2021/10/28/sap-ascs-high-availability-using-ers-explained/ we use ASCS / ERS replication to ensure high availability of application. For checking whether ASCS / SRS are running on which nodes we can use either cluster command such as: <pre> #RHEL pcs cluster status #OR pcs status #Suse crm status </pr...")
- 04:03, 21 July 2022 Saurabh talk contribs created page Checking HANA DB replication status (Created page with "Home > Suse > SAP setup and maintenance > Checking HANA DB replication status The HANA database would have a ID such as ABC. In that case use following steps to check database replication status # Login into server as root # Connect to DB admin account using #:<pre> #:: su - <abc>adm #:</pre> #: where <abc> should be replaced with HANA DB ID # First we can check which machine is primary and which is secondary via: #:<pre> #:: hdbnsutil -...")
- 04:03, 21 July 2022 Saurabh talk contribs created page CentOS 8.x SAP Pacemaker cluster miscellaneous notes (Created page with "Home > CentOS > CentOS 8.x > SAP setup and maintenance > Miscellaneous notes =Watchdog should be enabled= We can check existing cluster configuration using: <pre> pcs property show </pre> However, if one of the value is shown as: <pre> have-watchdog: false maintenance-mode: false no-quorum-policy: ignore startup-fencing: true stonith-enabled: true </...")
- 11:03, 14 July 2022 Saurabh talk contribs restored page Ntp server configuration (5 revisions)
- 10:57, 14 July 2022 Saurabh talk contribs deleted page Ntp server configuration (content was: "<yambe:breadcrumb>CentOS 6.x|CentOS 6.x</yambe:breadcrumb> =ntp server configuration= '''There are newer articles on NTP at CentOS 8.x ntp servers''' *Configure basic ntp server and client *Troubleshoot ntp issues", and the only contributor was "Saurabh" (talk))
- 07:28, 14 July 2022 Saurabh talk contribs moved page Install Nvidia P100 graphics card driver on Ubuntu 16.04 to Install Nvidia graphics card driver on Ubuntu along with cuda libraries (Improving article and also making it more generic)
- 07:26, 14 July 2022 Saurabh talk contribs created page CentOS 7.x Install nvidia drivers and cuda library (Created page with "<yambe:breadcrumb>CentOS 7.x package management|CentOS 7.x package management</yambe:breadcrumb> =CentOS 7.x Install nvidia drivers and cuda library= To install Nvidia drivers and Cuda library on CentOS 7.x use: # Do full installation of CentOS7 # Disable Selinux by editing '<tt>/etc/selinux/config</tt>' and using: #:<pre> #:: SELINUX=disabled #:</pre> #: Also do #::<pre> #::: setenforce 0 #::</pre> # Disable firewalld #:<pre> #:: systemctl stop firewalld #:: systemctl...")
- 09:16, 8 July 2022 Saurabh talk contribs created page PBS job queues resource management (Created page with "Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > PBS job queues resource management In order to restrict amount of resources available to users we need to do resource management on queues and assign users / nodes or groups to queues. =Resource management for the overall Queue= * Set Maximum CPU for the queue *:<pre> *:: qmgr -c "set queue testq1 resources_max.ncpus=20" *:</pre> * Set Maximum Memory for queue *:<pre> *:: qmgr...")
- 09:06, 8 July 2022 Saurabh talk contribs created page PBS job submission and execution (Created page with "Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > PBS job submission and execution =Sample pbs stress job for testing= We can test PBS installation by validating whether we are able to submit jobs and they are executing properly on various nodes using: # Install stress package on all the nodes #:<pre> #:: yum install -y stress #:</pre> #: Assumes epel, etc. are enabled as part of compute/execution node setup # Create the PBS scri...")
- 08:54, 8 July 2022 Saurabh talk contribs created page PBS job queue creation (Created page with "Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > PBS job queue creation =Adding compute or execution nodes to PBS queue management= To Add the nodes in pbs login to master node and use: <pre> qmgr create node master create node compute-0-0 create node compute-0-1 quit </pre> * On each and every node ensure that *:<pre> *:: ping <master-hostname> (eg ping rocks) *:</pre> *: results in master private IP and not public IP. In...")
- 08:45, 8 July 2022 Saurabh talk contribs created page PBS setup client node (Created page with "Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > PBS setup client node To install Client node use: # Download & Install pbs packages #:<pre> #:: wget http://wpc.23a7.iotacdn.net/8023A7/origin2/rl/PBS-Open/pbspro_19.1.2.centos_7.zip #:: unzip pbspro_19.1.2.centos_7.zip #:: cd pbspro_19.1.2.centos_7 #:: yum install -y pbspro-client-19.1.2-0.x86_64.rpm #:</pre> # Check master hostname in '<tt>/etc/pbs.conf</tt>' # Source various fi...")
- 08:42, 8 July 2022 Saurabh talk contribs created page PBS setup execution node (Created page with "Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > PBS setup execution node To setup PBS execution node use: # Download & Install pbs packages using: #:<pre> #:: wget http://wpc.23a7.iotacdn.net/8023A7/origin2/rl/PBS-Open/pbspro_19.1.2.centos_7.zip #:: unzip pbspro_19.1.2.centos_7.zip #:: cd pbspro_19.1.2.centos_7 #:: yum localinstall -y ./pbspro-execution-19.1.2-0.x86_64.rpm #:</pre> # Edit master hostname in '<tt>/etc/pbs.conf</t...")
- 08:38, 8 July 2022 Saurabh talk contribs created page PBS setup master node (Created page with "Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > PBS setup master node To setup PBS master node use: # Download pbs packages #:<pre> #:: wget http://wpc.23a7.iotacdn.net/8023A7/origin2/rl/PBS-Open/pbspro_19.1.2.centos_7.zip #:: unzip pbspro_19.1.2.centos_7.zip #:</pre> # Install PBS on master server #:<pre> #:: cd pbspro_19.1.2.centos_7 #:: yum localinstall -y ./pbspro-server-19.1.2-0.x86_64.rpm #:</pre> # Edit pbs conf file ('<t...")
- 08:26, 8 July 2022 Saurabh talk contribs created page PBS pre-requisites (Created page with "Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > PBS pre-requisites Following pre-requisites are required for PBS to work: # Nodes should resolve each other using short-names and FQDN such rocks2, rocks2.local to their private IP. This is taken care of by rocks cluster #: Might require fixing /etc/hosts on compute nodes to point to master FQDN via private IP instead of master public IP # There should be password-less SSH betwee...")
- 08:22, 8 July 2022 Saurabh talk contribs created page PBS Theory (Created page with "Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > PBS Theory The related documentation is on installing PBS Pro packages in which there are three types of nodes: ; pbspro-server : This should be installed on one node (or two if you employ failover) in your cluster where the server and scheduler will run. Most admins prefer not to run jobs on this node, but it is certainly possible. This RPM also installs everything you would get...")
- 04:45, 5 July 2022 Saurabh talk contribs created page Setting up VDI machines with virtual Nvidia graphics card (Created page with "Home > VMWare platform > VMWare Horizon > Setting up VDI machines with virtual Nvidia graphics card In case of VDI the physical server can have graphics card such as Nvidia A40 and then we can associate smaller virtual slices of this Graphics card with VMs to give small amount of graphics memory + CPU to the VM. This can help with 3D applications performance in the VDI environment. =Downloading Nvidia software from site= To download Nvidia so...")
- 04:21, 5 July 2022 Saurabh talk contribs created page Configure IIS for additional file extensions and mime types (Created page with "Home > Windows > Microsoft IIS Web server > Configure IIS for additional file extensions and mime types If we try to put new types of files such as .pem, .cer which are not recognized by IIS by default in webroot (C:\Inetput\wwwroot) or its subfolders then they do not get downloaded when requested via the web URL. To enable serving such files by IIS Web server we need to associate their extension with appropriate mime type using: # For this g...")
- 04:19, 5 July 2022 Saurabh talk contribs created page Microsoft IIS Web server (Created page with "Home > Windows > Microsoft IIS Web server *Configure IIS for additional file extensions and mime types")
- 07:53, 20 June 2022 Saurabh talk contribs created page Disable password complexity at AD policy level (Created page with "Home > Windows > Active Directory > [[Disable password complexity at AD policy level] To disable AD password complexity use: # Go to either "Group policy editor" at AD level or "Local policy editor" at machine level or both # Go to Computer Computer Configuration -> Windows Settings -> Security Settings ->Password Policy # Change the complexity and password aging as per requirement # At AD level from administrator cmd run #:<pre> #:: gpupdate /fo...")
- 06:51, 20 June 2022 Saurabh talk contribs created page VxRail RASR SD card reset using RASR ISO (Created page with "Home > VMWare platform > VxRail > VxRail RASR SD card reset using RASR ISO If reset of node via SD Card as explained at Factory reset VxRail 4.7 server is not working then we can try reimaging the SD card itself using: =RASR Reset using RASR ISO= # In Web browser, open iDRAC web UI and launch virtual console. # In the Virtual Console window, click Virtual Media tab and select Connect Virtual Media. # Select Virtual Media again, and then s...")
- 06:47, 20 June 2022 Saurabh talk contribs created page Delete horizon protected images or VMs or templates (Created page with "Home > VMWare platform > VMWare Horizon > Delete horizon protected images or VMs or templates To delete Horizon protected VMs use: # Login into existing connection server as domain user #: This can also be a different / new connection server deployed afresh and connected to same vCenter where old horizon protected VMs / templates or images need to be deleted # Open an administrative cmd # Go to folder using #:<pre> #:: cd C:\Program Files\VMw...")
- 06:36, 20 June 2022 Saurabh talk contribs created page Windows Server 2019 activation via proxy or via phone (Created page with "Home > Windows > Windows Server 2019 > Windows Server 2019 activation via proxy or via phone We can activate any modern Windows including Windows Server 2019 via proxy using: # Through server manager -> Local server: ## Disable IE enchanced mode configuration ## Configure correct timezone as per requirement # Configure proxy in Internet explorer such that you can open https://www.google.co.in. If proxy requires authentication enter username an...")
- 06:11, 20 June 2022 Saurabh talk contribs created page Configure MSSQL events database server (Created page with "Home > VMWare platform > VMWare Horizon > Configure MSSQL events database server =MS SQL server installation= To setup MS SQL server use: # Run SQLEXPR installer # Choose "New SQL Server stand-alone installation or add features to an existing installation" # In popup window, accept the license, click next # Choose "Use Microsoft update to check for updates(recommended)", click next # In feature selection page, leave default settings, click next...")
- 08:26, 16 June 2022 Saurabh talk contribs created page Configuring a windows file server for user data (Created page with "Home > VMWare platform > VMWare Horizon > Configuring a windows file server for user data In case of Horizon setup, once users log into their VDI machines, ideally they should not keep any data locally. Hence it is possible to map some shared storage to them via DEM or manually. In either case a Windows based file server is required. =Building a Windows file sharing server in Windows 2019= To build Windows 2019 based file sharing server re...")
- 08:48, 22 May 2022 Saurabh talk contribs created page CentOS 9.x tar (Created page with "Home > CentOS > CentOS 9.x > CentOS 9.x Command line tools and utilities > CentOS 9.x tar =Resume a tar.gz command that was killed= Support a file is being created using: <pre> tar czf backup.tar.gz /mnt/backup </pre> But the process is killed in between. Now instead of re-compressing all the files which are part of backup.tar.gz already, it is possible to create another .tar.gz file with remaining data. To do that use: <pre> cd ~ tar ztf...")
- 08:43, 22 May 2022 Saurabh talk contribs created page CentOS 9.x Command line tools and utilities (Created page with "Home > CentOS > CentOS 9.x > CentOS 9.x Command line tools and utilities *CentOS 9.x tar")
- 13:02, 21 May 2022 Saurabh talk contribs created page Creating Golden image for Windows OS (Created page with "Home > VMWare platform > VMWare Horizon > Creating Golden image for Windows OS To create Golden image for Windows OS: =VM Creation= Create VM with following hardware configuration: # Select required no. of CPUs # Select desired memory. #: Expand the Memory section. #: Select Reserve all guest memory (All locked). # Choose appropriately sized hard disk, Choose Thin disk type #: Note that very large hard-disk will take time due to sdelete etc....")
- 12:40, 21 May 2022 Saurabh talk contribs created page Creating Windows 2019 or Windows 10 Desktop Pool (Created page with "Home > VMWare platform > VMWare Horizon > Creating Windows 2019 or Windows 10 Desktop Pool =Theory= There are three types of pools: ;Manual pool : We can create VMs and install Horizon agent. Then we can add them to Manual pool. This can be used to add physical Desktops / Servers etc. also to the horizon for connection server / UAG based remote access ;RDS pool : Once we create RDSH farm, we can create RDS pool as described in detail at Cre...")
- 11:21, 21 May 2022 Saurabh talk contribs created page CentOS 9.x Configure basic NFSv4 server for sharing folders between two machines (Created page with "Home > CentOS > CentOS 9.x > CentOS 9.x file sharing > CentOS 9.x NFS > CentOS 9.x Configure basic NFSv4 server for sharing folders between two machines There is older article on this at CentOS 7.x Configure basic NFSv4 server for sharing folders between two machines To configure CentOS 9.x based NFS server use: # Disable SELinux by editing '<tt>/etc/sysconfig/selinux</tt>' and setting: #:<pre> #:: SELINUX=disabled #:</pre> #: Al...")
- 11:18, 21 May 2022 Saurabh talk contribs created page CentOS 9.x NFS (Created page with "Home > CentOS > CentOS 9.x > CentOS 9.x file sharing > CentOS 9.x NFS *CentOS 9.x Configure basic NFSv4 server for sharing folders between two machines")
- 11:17, 21 May 2022 Saurabh talk contribs created page CentOS 9.x file sharing (Created page with "Home > CentOS > CentOS 9.x > CentOS 9.x file sharing *CentOS 9.x NFS")
- 11:17, 21 May 2022 Saurabh talk contribs created page CentOS 9.x (Created page with "Home > CentOS > CentOS 9.x *CentOS 9.x file sharing")
- 03:27, 20 May 2022 Saurabh talk contribs created page Creating RDSH Automatic Instant Clone Farms (Created page with "Home > VMWare platform > VMWare Horizon > Creating RDSH Automatic Instant Clone Farms =Theory= In case of Desktop OS pools with dedicated VM per user we can create the pool directly using Golden images as explained at Creating Windows 2019 or Windows 10 Desktop Pool. However in case of RDSH shared desktop pools using Windows server OS where a single VM can be used by multiple users concurrently, we need to first create a farm of RDS hosts...")
- 02:59, 20 May 2022 Saurabh talk contribs created page AD Configuration required for various Windows RDSH or Desktop pools (Created page with "Home > VMWare platform > VMWare Horizon > AD Configuration required for various Windows RDSH or Desktop pools For users to be able to remotely login into the VMs created as part of Horizon, we need to create following OUs, groups and policies: # Open Active Directory users and computers ## Create OU for VDI ## Create new sub=OU for VMs ## Create group for Desktop pool users under main VDI OU. If you are planning to create five different VDI po...")
- 02:47, 20 May 2022 Saurabh talk contribs created page Horizon Connection server installation (Created page with "Home > VMWare platform > VMWare Horizon > Horizon Connection server installation =Pre-requisites= Before setting up a Horizon connection server we should have: # Working VMWare ESXi and vCenter setup with shared storage and adequate spare hardware resources (RAM, Disk, CPU, etc.) # Working AD server along with domain administration access to AD server #: Domain AD credentials should be available as a service account without any password expiry....")