본문 바로가기
2/DBMS

Vertica 재기동

by berry-hi 2019. 6. 12.
  •  
  •  
  • 멈추는 명령어 날리기

CentOS에 설치한 Vertica가 꺼졌다.

[root@vertica bin]# admintools -t db_stop -d [DB이름] -p [패스워드]
-bash: admintools: command not found

 

  • 없다니...
  • - vertica 관리 계정으로 su change

[root@vertica bin]# su dbadmin

 

  • 멈추는 명령어를 다시 날려보자

[dbadmin@vertica bin]$ admintools -t db_stop -d [DB이름] -p [패스워드]
Unknown tool db_stop

 

  • 또 없다니..
  • admintools -h를 쳐보자

[dbadmin@vertica bin]$ admintools -h
Usage: admintools [options]

Options:
  -h, --help      Display this help.  Can be combined with -t  for help
                  on a specific tool
  -a, --help_all  List all command line sub-commands and switches

Available tools:
        command_host
        config_nodes
        connect_db
        create_db
        database_parameters
        db_add_node
        db_remove_node
        db_replace_node
        db_status
        drop_db
        edit_auth
        host_to_node
        install_package
        install_procedure
        kill_host
        kill_node
        list_allnodes
        list_db
        list_host
        list_node
        list_packages
        logrotate
        node_map
        rebalance_data
        restart_db
        restart_node
        return_epoch
        set_restart_policy
        show_active_db
        start_db
        stop_db
        stop_host
        stop_node
        uninstall_package
        upgrade_license_key
        view_cluster

 

 

  • 멈추는 명령어 다시 날리기

[dbadmin@vertica bin]$ admintools -t stop_db -d [DB이름] -p [패스워드]
Database [db] is not currently running

 

  • 시작 명령어 날리기!
    [dbadmin@vertica bin]$ admintools -t start_db -d [DB이름] -p [패스워드] 
            Starting nodes:
                    v_[db]_node0001 (127.0.0.1)

            Starting Vertica on all nodes. Please wait, databases with large catalogs may take a while to initialize.

            Node Status: v_[db]_node0001: (INITIALIZING)
            Node Status: v_[db]_node0001: (INITIALIZING)
            Node Status: v_[db]_node0001: (UP)
    Database [db] started successfully

 

 

 

 

'2 > DBMS' 카테고리의 다른 글

EDB 설치 및 접속  (0) 2019.06.17
MySQL 서버 disk full  (0) 2019.06.14
Oracle profile  (0) 2019.06.13
Oracle DB 에러코드 안내 사이트  (0) 2019.06.13
Tibero 재기동  (0) 2019.06.12