Skip to content

Nick's Container on the cloud ;)

A self hosted blog

  • Privacy Policy
  • Sample Page

Category: postgres

looking for a specific record on a Postgres database

March 5, 2020March 5, 2020 - Nithin Titta
postgres

The below script will look for a string in every column of the database. To start off with, Log in to postgres and make sure that you have selected the database. create a function by running the below script. (copy and paste as it is) Now, run the below command,…

Read More

Content library hack(DB)

November 28, 2019March 5, 2020 - Nithin Titta
DB postgres

VMware Content library, A unique way to make VM templates/ISO’s available across multiple vCenter’s. However, It does not handle Datacenter segregation very well when storing the contents on NFS/VMFS. A subscribed library would need dedicated storage space and would be pointless in my setup as I had presented the NFS…

Read More

PostgreSQL: could not open file “/var/lib/pgsql/data/pg_clog/0726”: No such file or directory

March 24, 2019June 18, 2019 - Nithin Titta
postgres

when selecting a specific date from a table, at times due to database corruption Postgres might report the file was not found. In Such instances, we will can re-create the file using the below dd command (note: data loss on the missing file) Note: Ensure the permissions on the file…

Read More

Statement diagnostic data from driver is XX002:0:7:ERROR: index “pk_index_name” contains corrupted page at block xxxx;

March 24, 2019March 24, 2019 - Nithin Titta
postgres

Resolution: Take a snapshot of the vcsa Export affected table: Recreate constrain

Read More

Connecting to VMware appliance postgres/PSQL instance from an external computer/pgadmin

March 24, 2019March 24, 2019 - Nithin Titta
postgres

By default, the postgres instance on vCenter/vSphere replication..etc.. are configured to not accept connections from a computer on the network. On this  post, I will show you how to re-configure this to allow connections from an external box for tools like PGadmin etc. Note: Depending on the appliance, the postgres,…

Read More

Recent Posts

  • VCF9 Fleet Management: NFS path as offline Depo (path)
  • vCenter via a salt-proxy minion
  • Delete Dead ALB from VCD
  • Proxmox! set persistent USB NIC bindings
  • Nested Esxi, Silence unsupported controller health

Categories

  • Database (1)
    • Mssql (1)
  • kubernetes (1)
  • Linux (3)
    • photon (1)
  • misc (22)
  • postgres (5)
  • Power CLI (3)
  • Saltstack (6)
    • salt-config_install (2)
  • Uncategorized (23)
  • usage meter (11)
  • vCenter (40)
    • API (2)
    • DB (2)
    • esxi (14)
    • SRM (1)
    • vSphere replication (7)
  • vRA (13)
    • vRA8 (7)
  • vrbc (4)
  • vRO (1)

Recent Comments

  • Ram on Fixing the broken/corrupt Locker Partition on Esxi
  • Haydon Ryan on reuse a previously used password on photon/VMware appliances?
  • FRANC SERRES on vRops API /Token using curl
  • Naman on reuse a previously used password on photon/VMware appliances?
  • salt-config: set up multi-master HA and RAAS-HA – Nick's Container on the cloud ;) on SaltConfig multi-node scripted/automated Deployment Part-2

Archives

  • December 2025 (1)
  • September 2025 (2)
  • July 2025 (1)
  • December 2024 (1)
  • June 2024 (1)
  • June 2023 (2)
  • May 2023 (1)
  • April 2023 (1)
  • September 2022 (1)
  • April 2022 (1)
  • March 2022 (2)
  • February 2022 (1)
  • December 2021 (2)
  • November 2021 (1)
  • October 2021 (1)
  • August 2021 (3)
  • June 2021 (4)
  • May 2021 (3)
  • April 2021 (1)
  • March 2021 (1)
  • February 2021 (3)
  • January 2021 (2)
  • December 2020 (2)
  • November 2020 (3)
  • September 2020 (2)
  • August 2020 (2)
  • July 2020 (1)
  • June 2020 (4)
  • April 2020 (2)
  • March 2020 (3)
  • February 2020 (6)
  • January 2020 (3)
  • November 2019 (4)
  • October 2019 (1)
  • September 2019 (1)
  • August 2019 (2)
  • July 2019 (2)
  • June 2019 (4)
  • May 2019 (4)
  • April 2019 (6)
  • March 2019 (30)
  • October 2018 (1)
  • April 2018 (1)
  • March 2018 (1)
  • January 2018 (2)
  • November 2017 (1)
  • May 2017 (1)
  • April 2017 (1)
  • March 2017 (1)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright All Rights Reserved © 2023
Proudly powered by WordPress | Theme: Daami by Candid Themes.