pgEdge
GitHubGitHub (opens in a new tab)
  • Introduction to pgEdge

  • pgEdge Cloud
    • Getting Started: Choosing a Cloud Edition
      • Getting Started with pgEdge Enterprise Edition
      • Getting Started with pgEdge Developer Edition
      • Linking your Cloud Account
        • Linking an AWS Account
        • Linking an Azure Account
        • Linking a Google Account
      • Adding an SSH Key
    • Cluster Management
      • Creating a Cluster
      • Managing a Cluster
    • Database Management
      • Creating a Database
      • Managing a Database
    • Modifying a Database or a Cluster
      • Adding a Database or Cluster Node
      • Dropping a Database, Node, or Cluster
    • Database Administration
      • Creating and Managing Tables
      • Using Integrations
      • Reviewing Database Metrics
      • Viewing Log Files
      • Reviewing Backup Details
      • Using PostgreSQL Extensions
    • Connecting to a Database
      • Connecting with ssh
      • Connecting with psql
      • Connecting with pgAdmin
      • Connecting a Custom Client to Developer Edition
      • Connecting over HTTPS
      • Managing Backups on the Cloud
      • pgEdge Cloud Backup Providers
      • Restoring your Data
      • Defining a Backup Store
    • Reviewing Console Tasks
    • Migrating to pgEdge Cloud
      • Taking a Backup
      • Restoring from Backup
    • Settings
    • Team Resources
    • Troubleshooting
  • pgEdge Platform
      • Configuring your System for pgEdge Platform
      • Designing a Schema for Replication
    • Installing the pgEdge Platform
      • Manually Configuring a Cluster
      • Using a json File to Deploy a Remote Cluster
      • Deploying a Cluster on your Local Host
      • Managing a Cluster's JSON File
      • Adding a Node to Your Cluster
      • Using Spock to Synchronize a New Node
      • Removing a Node from Your Cluster
      • Using Auto DDL
      • ACE (the Anti-Chaos Engine)
      • Snowflake Sequences
      • Filtering Data with Replication Sets
      • Managing Exceptions during Replication
      • Setting Parameter Values
      • Managing Supported Components
    • PGEDGE CLI Reference
      • ACE Commands
      • DB Commands
      • CLUSTER Commands
      • LOCALHOST Commands
      • SERVICE Commands
      • SETUP Command
      • SPOCK Commands
      • UPDATE Manager
      • Troubleshooting
      • Finding Cluster Information
      • pgEdge Log Files
    • pgEdge Release Notes
  • The Spock Extension
    • Configuring Spock
      • Node Mgmt
      • Replication Set Mgmt
      • Subscription Mgmt
      • Additional Mgmt Functions
    • Finding Cluster Information
      • Replicating Partitioned Tables
      • Adding a Subscriber with pg_basebackup
      • Using a Trigger to Assign a New Table to a Replication Set
      • Using Batch Inserts
    • Limitations

On This Page

  • LOCALHOST Commands
Edit this page
pgEdge Platform
PGEDGE CLI Reference
LOCALHOST Commands

LOCALHOST Commands

Commands in the localhost module include:

CommandDescription
cluster-createCreate a local cluster. Each node will be located in the cluster/<cluster_name>/<node_name> directory. Each database will have a different port.
cluster-destroyDestroy a local cluster. This will stop PostgreSQL on each node, and then remove the pgedge directory for each node in a local cluster.
CLUSTER CommandsSERVICE Commands

2024 ©pgEdge, Inc.