Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@host:~# vzlist --all
- CTID NPROC STATUS IP_ADDR HOSTNAME
- 1 25 running - test-2011-09-09-102224131280
- root@host:~# vzctl enter 1
- entered into CT 1
- root@test-2011-09-09-102224131280:/# hostname
- test-2011-09-09-102224131280
- root@host:~# mysql nova -pnova
- Reading table information for completion of table and column names
- You can turn off this feature to get a quicker startup with -A
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 252
- Server version: 5.1.41-3ubuntu12.10 (Ubuntu)
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql> select * from instances\G
- *************************** 1. row ***************************
- created_at: 2011-09-09 15:22:30
- updated_at: 2011-09-09 15:23:51
- deleted_at: NULL
- deleted: 0
- id: 1
- internal_id: NULL
- user_id: admin
- project_id: dbaas
- image_ref: 1
- kernel_id:
- ramdisk_id:
- server_name: NULL
- launch_index: 0
- key_name: NULL
- key_data: NULL
- state: 1
- state_description: running
- memory_mb: 1024
- vcpus: 1
- local_gb: 3
- hostname: test-2011-09-09-102224131280
- host: host
- user_data:
- reservation_id: r-0oofb2pf
- scheduled_at: 2011-09-09 15:22:32
- launched_at: 2011-09-09 15:23:51
- terminated_at: NULL
- display_name: TEST_2011-09-09 10:22:24.131280
- display_description: TEST_2011-09-09 10:22:24.131280
- availability_zone: NULL
- locked: 0
- os_type: NULL
- launched_on: host
- instance_type_id: 7
- vm_mode: NULL
- uuid: 95bc2546-5cdf-431a-b781-90ecde6af4e3
- architecture: NULL
- root_device_name: NULL
- access_ip_v4: NULL
- access_ip_v6: NULL
- config_drive:
- 1 row in set (0.06 sec)
Add Comment
Please, Sign In to add comment