Where are Xen guest config files stored?
I'm new to Xen stuff. I have a XenServer 6.5 running, with XenCenter and a Debian installed as a PV VM. I'm trying to setup the extra security now so I don't have to learn about it after I've been screwed over. (driver domains, pvgrub, and maybe FLASK)
A lot of pages seem to talk about editing values that look like they belong inside a guest (domu) configuration file.
Where is this file located? (I looked in /etc/xen)
What are some common file formats? (so I can use find at least)
Does the location differ if I go with something like Debian as dom0?
linux virtual-machine virtualization xen administration
add a comment |
I'm new to Xen stuff. I have a XenServer 6.5 running, with XenCenter and a Debian installed as a PV VM. I'm trying to setup the extra security now so I don't have to learn about it after I've been screwed over. (driver domains, pvgrub, and maybe FLASK)
A lot of pages seem to talk about editing values that look like they belong inside a guest (domu) configuration file.
Where is this file located? (I looked in /etc/xen)
What are some common file formats? (so I can use find at least)
Does the location differ if I go with something like Debian as dom0?
linux virtual-machine virtualization xen administration
I can't really call this much of an answer because I've since deleted the hard drive I had this set up on and can't really give very exact information. The config files the web pages are talking about editing are if you are using xl or xm, xe (xapi) does not use config file to launch vms. Xapi seems to store the information in templates that you can modify, export, and import. It may be stored somehow in the xenstore.. I don't really understand the what the xenstore handles though.. I did find a file ending in .db (state.db I think) that was modified when VMs were altered.
– Frank
Apr 19 '15 at 5:53
add a comment |
I'm new to Xen stuff. I have a XenServer 6.5 running, with XenCenter and a Debian installed as a PV VM. I'm trying to setup the extra security now so I don't have to learn about it after I've been screwed over. (driver domains, pvgrub, and maybe FLASK)
A lot of pages seem to talk about editing values that look like they belong inside a guest (domu) configuration file.
Where is this file located? (I looked in /etc/xen)
What are some common file formats? (so I can use find at least)
Does the location differ if I go with something like Debian as dom0?
linux virtual-machine virtualization xen administration
I'm new to Xen stuff. I have a XenServer 6.5 running, with XenCenter and a Debian installed as a PV VM. I'm trying to setup the extra security now so I don't have to learn about it after I've been screwed over. (driver domains, pvgrub, and maybe FLASK)
A lot of pages seem to talk about editing values that look like they belong inside a guest (domu) configuration file.
Where is this file located? (I looked in /etc/xen)
What are some common file formats? (so I can use find at least)
Does the location differ if I go with something like Debian as dom0?
linux virtual-machine virtualization xen administration
linux virtual-machine virtualization xen administration
edited Feb 24 '15 at 5:59
Frank
asked Feb 24 '15 at 3:49
FrankFrank
1114
1114
I can't really call this much of an answer because I've since deleted the hard drive I had this set up on and can't really give very exact information. The config files the web pages are talking about editing are if you are using xl or xm, xe (xapi) does not use config file to launch vms. Xapi seems to store the information in templates that you can modify, export, and import. It may be stored somehow in the xenstore.. I don't really understand the what the xenstore handles though.. I did find a file ending in .db (state.db I think) that was modified when VMs were altered.
– Frank
Apr 19 '15 at 5:53
add a comment |
I can't really call this much of an answer because I've since deleted the hard drive I had this set up on and can't really give very exact information. The config files the web pages are talking about editing are if you are using xl or xm, xe (xapi) does not use config file to launch vms. Xapi seems to store the information in templates that you can modify, export, and import. It may be stored somehow in the xenstore.. I don't really understand the what the xenstore handles though.. I did find a file ending in .db (state.db I think) that was modified when VMs were altered.
– Frank
Apr 19 '15 at 5:53
I can't really call this much of an answer because I've since deleted the hard drive I had this set up on and can't really give very exact information. The config files the web pages are talking about editing are if you are using xl or xm, xe (xapi) does not use config file to launch vms. Xapi seems to store the information in templates that you can modify, export, and import. It may be stored somehow in the xenstore.. I don't really understand the what the xenstore handles though.. I did find a file ending in .db (state.db I think) that was modified when VMs were altered.
– Frank
Apr 19 '15 at 5:53
I can't really call this much of an answer because I've since deleted the hard drive I had this set up on and can't really give very exact information. The config files the web pages are talking about editing are if you are using xl or xm, xe (xapi) does not use config file to launch vms. Xapi seems to store the information in templates that you can modify, export, and import. It may be stored somehow in the xenstore.. I don't really understand the what the xenstore handles though.. I did find a file ending in .db (state.db I think) that was modified when VMs were altered.
– Frank
Apr 19 '15 at 5:53
add a comment |
1 Answer
1
active
oldest
votes
The complete configuration is stored as XML in
/var/xapi/state.db
It's recommended to use only the xapi commands to edit the configuration. There is also a dbtool from citrix here http://support.citrix.com/article/CTX121564.
I think the way the information is stored is specific to xenserver, howerver someone needs to confirm this.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f881730%2fwhere-are-xen-guest-config-files-stored%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The complete configuration is stored as XML in
/var/xapi/state.db
It's recommended to use only the xapi commands to edit the configuration. There is also a dbtool from citrix here http://support.citrix.com/article/CTX121564.
I think the way the information is stored is specific to xenserver, howerver someone needs to confirm this.
add a comment |
The complete configuration is stored as XML in
/var/xapi/state.db
It's recommended to use only the xapi commands to edit the configuration. There is also a dbtool from citrix here http://support.citrix.com/article/CTX121564.
I think the way the information is stored is specific to xenserver, howerver someone needs to confirm this.
add a comment |
The complete configuration is stored as XML in
/var/xapi/state.db
It's recommended to use only the xapi commands to edit the configuration. There is also a dbtool from citrix here http://support.citrix.com/article/CTX121564.
I think the way the information is stored is specific to xenserver, howerver someone needs to confirm this.
The complete configuration is stored as XML in
/var/xapi/state.db
It's recommended to use only the xapi commands to edit the configuration. There is also a dbtool from citrix here http://support.citrix.com/article/CTX121564.
I think the way the information is stored is specific to xenserver, howerver someone needs to confirm this.
answered Feb 24 '16 at 17:15
PhlogiPhlogi
486
486
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f881730%2fwhere-are-xen-guest-config-files-stored%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I can't really call this much of an answer because I've since deleted the hard drive I had this set up on and can't really give very exact information. The config files the web pages are talking about editing are if you are using xl or xm, xe (xapi) does not use config file to launch vms. Xapi seems to store the information in templates that you can modify, export, and import. It may be stored somehow in the xenstore.. I don't really understand the what the xenstore handles though.. I did find a file ending in .db (state.db I think) that was modified when VMs were altered.
– Frank
Apr 19 '15 at 5:53