Newer
Older
.SS jobs [\fIoptions\fP] [\fItql\fP]
List jobs
.TP
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
.TP
\fB-h\fP, \fB--help\fP
show this help message and exit
.TP
\fB-r\fP, \fB--raw\fP
Don't append security filter to TQL
.TP
\fB-i\fP, \fB--index\fP
Print TQL line index
.TP
\fB--print-tql\fP
Print TQL before sending to server
.TP
\fB--no-tagdisplay\fP
No tagdisplay custom display
.TP
\fB--no-color\fP
No output coloration
.TP
\fB-d\fP, \fB--done\fP
Show done jobs
.TP
\fB-R\fP, \fB--no-running\fP
Don't show running jobs
.SS migrate [\fIoptions\fP] [\fIsource-tql\fP] [\fIdest-tql\fP]
Migrate vm
Migrate vm from host [\fIsource-tql\fP] to another host [\fIdest-tql\fP]. Only \fBcold\fP (the virtual machine stop to execute any currently working program and copy the current page table to the machine where the virtual machine migrate) type migration and \fBfair\fP algorithm are available.
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
.TP
\fB-h\fP, \fB--help\fP
show this help message and exit
.TP
\fB-q\fP, \fB--quiet\fP
Don't status of call request
.TP
\fB-i\fP, \fB--index\fP
Print TQL line index
.TP
\fB--no-tagdisplay\fP
No tagdisplay custom display
.TP
\fB--no-color\fP
No output coloration
.TP
\fB-l\fP, \fB--list\fP
List migration types and algo
.TP
\fB-t\fP \fITYPE\fP, \fB--type=\fP\fITYPE\fP
Selection migration type
.TP
\fB-a\fP \fIALGO\fP, \fB--algo=\fP\fIALGO\fP
Select migration algorithm
.TP
\fBmigrate -t cold -a fair r=vm&p=host1 id=host2\fP
Migrate all vm from host1 to host2
.SS pause [\fIoptions\fP] \fI<tql>\fP
Pause a running vm
The command add tql \fI&r=vm&status=running\fP
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
.TP
\fB-h\fP, \fB--help\fP
show this help message and exit
.TP
\fB-r\fP, \fB--raw\fP
Don't append security filter to TQL
.TP
\fB-d\fP, \fB--direct\fP
Directly send TQL to server
.TP
\fB-q\fP, \fB--quiet\fP
Don't status of call request
.TP
\fB-i\fP, \fB--index\fP
Print TQL line index
.TP
\fB--print-tql\fP
Print TQL before sending to server
.TP
\fB--no-tagdisplay\fP
No tagdisplay custom display
.TP
\fB--no-color\fP
No output coloration
.TP
.TP
\fBpause r=vm&status=running&p=host1\fP
Pause all vm started in the hypervisor host1
.SS resume [\fIoptions\fP] \fI<tql>\fP
Resume a paused vm
This will allow a previously paused vm to
now be eligible for scheduling by the underlying hypervisor.
The command add tql \fI&r=vm&status=paused\fP
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
.TP
\fB-h\fP, \fB--help\fP
show this help message and exit
.TP
\fB-r\fP, \fB--raw\fP
Don't append security filter to TQL
.TP
\fB-d\fP, \fB--direct\fP
Directly send TQL to server
.TP
\fB-q\fP, \fB--quiet\fP
Don't status of call request
.TP
\fB-i\fP, \fB--index\fP
Print TQL line index
.TP
\fB--print-tql\fP
Print TQL before sending to server
.TP
\fB--no-tagdisplay\fP
No tagdisplay custom display
.TP
\fB--no-color\fP
No output coloration
.SS start [\fIoptions\fP] \fI<tql>\fP
Start a stopped vm
The command add tql \fI&r=vm&status=stopped\fP
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
.TP
\fB-h\fP, \fB--help\fP
show this help message and exit
.TP
\fB-r\fP, \fB--raw\fP
Don't append security filter to TQL
.TP
\fB-d\fP, \fB--direct\fP
Directly send TQL to server
.TP
\fB-q\fP, \fB--quiet\fP
Don't status of call request
.TP
\fB-i\fP, \fB--index\fP
Print TQL line index
.TP
\fB--print-tql\fP
Print TQL before sending to server
.TP
\fB--no-tagdisplay\fP
No tagdisplay custom display
.TP
\fB--no-color\fP
No output coloration
.SS stop [\fIoptions\fP] \fI<tql>\fP
Stop a running vm
This coordinates with the domain OS to perform graceful
stop, so there is no guarantee that it will succeed, and may take a variable length of
time depending on what services must be shutdown in the domain
The command add tql \fI&r=vm&status=running\fP
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
.TP
\fB-h\fP, \fB--help\fP
show this help message and exit
.TP
\fB-r\fP, \fB--raw\fP
Don't append security filter to TQL
.TP
\fB-d\fP, \fB--direct\fP
Directly send TQL to server
.TP
\fB-q\fP, \fB--quiet\fP
Don't status of call request
.TP
\fB-i\fP, \fB--index\fP
Print TQL line index
.TP
\fB--print-tql\fP
Print TQL before sending to server
.TP
\fB--no-tagdisplay\fP
No tagdisplay custom display
.TP
\fB--no-color\fP
No output coloration
.SH FILES
.TP
\fB~/.config/cc-cli/profile\fP
file where cli profile is stored
\fBExample :\fP
# Options in this section is loaded is each others section
[DEFAULT]
hsize = 1000
#debug = true
# This section is loaded at start
[cli]
profile = lab
[lab]
login = snoopy
pass = toto
server = 192.168.0.162
[prod]
login = snoopy
pass = titi
server = 14.8.25.32
.TP
\fB~/.local/share/cc-cli/history\fP
file where cli history are stored
.TP
\fB~/.local/share/cc-cli/expert\fP
file where expert mode history are stored
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
.TP
\fB~/.config/cc-cli/tagdisplay\fP
file where tagdisplay options are stored
\fBExample :\fP
[color]
a = lpurple
h = lred
pop = lyellow
mem* = lyellow
r = red
id = lblue
cpu = lyellow
con = cyan
[titlecolor]
h = red
id = cyan
[type]
uptime = second
con = second
disk* = si
sto* = si
mem* = bit
[option]
quotespace = 1
.TP
\fB~/.config/cc-cli/alias\fP
file where alias are stored
\fBExample :\fP
[alias]
zzz = list r=cli&idle>300
versions = list -t version
hv = list r=hv&con$cpu$mem$arch%id
vm = list r=vm&status=running$h$cpu$mem$arch%h
userrights = rights r=cli
lt = list -t &con%r%h$h$cpu$r$os$version$-con$mem
ls = list &con$h$cpu$r$os$version
w = list -l r=cli&con$os
host = list r=host&con$cpu$mem
.SH ENVIRONNEMENT
.TP
\fBCC_SERVER\fP
.TP
\fBCC_PORT\fP
.TP
\fBCC_LOGIN\fP
.TP
\fBCC_PASS\fP
.TP
\fBCC_DEBUG\fP
.TP
\fBCC_PROFILE\fP