Re: [xcat-user] Require explicit group declaration?
Sounds good to me. Another way was to inform the user that the group does not exist and ask if it should be created. But I think it's better to not have interactivity, so your proposed solution would be the better one. Mit freundlichen Grüßen / Kind regards Jonathan (Nathan) Hermann IT Specialist Global Technology Services / Data Center Services Mobile: +49-160-98976942 IBM Allee 1 E-mail: jonathan.herm...@de.ibm.comEhningen, 71139 Germany IBM Deutschland Infrastructure Technology Services GmbH Geschäftsführung: Ulrike Hetzel Sitz der Gesellschaft: Ehningen Registergericht: Amtsgericht Stuttgart, HRB 727973 From: Jarrod B Johnson jbjoh...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 31.03.2014 16:17 Subject:[xcat-user] Require explicit group declaration? So on the console server, it supports the concepts of groups. Currently I've done it similar to xCAT where if you add a group that does not exist to a node through something akin to 'nodech', the group is created implicitly. At the same time, changing a group to add a node that doesn't exist will create the node (not possible in xCAT today). Some recent events have made me consider requiring a node exist before it can be added to a group and a group to exist before it can be added to a node. I've seen typos bite people in commands enough that I thought warning them that 'ipmp' is not a group would be better than just making a new group 'ipmp' and completely missing the inheritence they intended.. The good news is that I don't think any additional tedium needs to happen to make a new group compared today. Today I'd do 'nodech noderange groups,=newgroup' to make a new group and in this model, a command like 'nodegroupadd newgroup nodes=noderange' would be similarly terse and to the point. Thoughts? -- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
Re: [xcat-user] Change node IP/hostname without reprovisioning?
Lissa, I'm trying to change the IP for the moment. The reason I put hostname also is because it was mentioned in the wiki that I found. It does make a lot sense to have the system reinstalled to make sure the settings are all in place with latest config. Just thought it might be a good idea if we provide the ability in xCat to enable changing of hostname and/or IP address without having to reprovision? Regards, Simon (Yang) Yan Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 03/26/2014 08:23 PM Subject:Re: [xcat-user] Change node IP/hostname without reprovisioning? Are you just trying to change the hostname or are you also trying to change the ip address. If ip address, then I believe reinstall will be the best way to make sure all the system config files are set correctly. I think you would want to reinstall just to make sure you changes really worked, so if you have to reinstall in the future you will have no issues. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Yang BR Yan ---03/26/2014 08:08:50 AM---Dear All, When I'm searching for a solution to change IP/hostYang BR Yan ---03/26/2014 08:08:50 AM---Dear All, When I'm searching for a solution to change IP/hostname for a compute node, From: Yang BR Yan yan...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 03/26/2014 08:08 AM Subject: [xcat-user] Change node IP/hostname without reprovisioning? Dear All, When I'm searching for a solution to change IP/hostname for a compute node, I've found this article: http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Changing_the_Service_and_compute_nodes_Hostname_and/or_IP The article per se is great for addressing the issue but the solution seems require a reprovision(reinstall) of the node. So I wonder if there's a way to do the same without a reprovisioning? Regards, Simon (Yang) Yan Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user inline: graycol.gif-- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
Re: [xcat-user] How to add value to xcatinfo file on stateless nodes
Hello Lissa, Thanks for your quick reply, the level of xCAT is 2.8.2. Your reply is great help to my question, I can see the installdir value defined in site table. But why I can get the installdir value in xcatinfo on statefull node, otherwise there is no INSTALLDIR on stateless node? 1.xcatinfo on statefull node XCATSERVER=192.168.1.1 INSTALLDIR=/install REBOOT=TRUE 2. xcatinfo on stateless node IMAGENAME='rhels6.4-x86_64-stateless-compute' TIMESTAMP='Wed Feb 12 09:24:09 CST 2014' NODE=compute001 XCATSERVER='192.168.1.1' From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xcat-user@lists.sourceforge.net Date: 2014/04/02 19:19 Subject:Re: [xcat-user] How to add value to xcatinfo file on stateless nodes What level of xCAT are you running. lsxcatd -a will tell us what level. You should have had an xcatinfo file created in /opt/xcat/xcatinfo on your node during install. If it is missing you can run updatenode noderange -s This command will recreate the xcatinfo file on the node. It is very unusual to not have your site installdir attribute defined as /install. In fact, that is the default in the script below, if it is not in the xcatinfo file. It is also xCAT's default for the site installdir variable. So even if the file is missing, the xcatdsklspost script will work. tabdump site | grep installdir installdir,/install,, Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Jiang Tao CS Sun ---04/02/2014 07:01:32 AM---Hi all, I have one question, the variable INSTALLDIR in Jiang Tao CS Sun ---04/02/2014 07:01:32 AM---Hi all, I have one question, the variable INSTALLDIR in xcatinfo on stateless From: Jiang Tao CS Sun jtao...@cn.ibm.com To: xcat-user@lists.sourceforge.net, Date: 04/02/2014 07:01 AM Subject: [xcat-user] How to add value to xcatinfo file on stateless nodes Hi all, I have one question, the variable INSTALLDIR in xcatinfo on stateless nodes. In post script xcatdsklspost, will check the value of INSTALLDIR , if value equal null, then grant /install. if [ -f /opt/xcat/xcatinfo ]; then INSTALLDIR=`grep 'INSTALLDIR' /opt/xcat/xcatinfo |cut -d= -f2` fi if [ -z $INSTALLDIR ]; then INSTALLDIR=/install fi I want to know, how and where can define $INSTALLDIR value in xcatinfo file so that can achieve INSTALLDIR=`grep 'INSTALLDIR' /opt/xcat/xcatinfo| cut -d=-f2`? Regards, Todd (Jiangtao) Sun Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. -- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user inline: graycol.gif-- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
Re: [xcat-user] Change node IP/hostname without reprovisioning?
I am really concerned about definitions in the system, such as /etc/sysconfig/network-scripts/ifcfg-eth0:IPADDR=9.114.47.11 that will need to be updated. It would be beyond the ability of xCAT to fix up all these system files on every possible OS we support. There are probably other applications that may store the ip address when installed that we don't even know about. It would be an interesting exercise to see how many places a nodes ip address is stored on the node. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Yang BR Yan yan...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 04/02/2014 07:46 AM Subject:Re: [xcat-user] Change node IP/hostname without reprovisioning? Lissa, I'm trying to change the IP for the moment. The reason I put hostname also is because it was mentioned in the wiki that I found. It does make a lot sense to have the system reinstalled to make sure the settings are all in place with latest config. Just thought it might be a good idea if we provide the ability in xCat to enable changing of hostname and/or IP address without having to reprovision? Regards, Simon (Yang) Yan Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. Inactive hide details for Lissa Valletta ---03/26/2014 08:23:08 PM---Are you just trying to change the hostname or are you alsLissa Valletta ---03/26/2014 08:23:08 PM---Are you just trying to change the hostname or are you also trying to change the ip address. If ip From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 03/26/2014 08:23 PM Subject: Re: [xcat-user] Change node IP/hostname without reprovisioning? Are you just trying to change the hostname or are you also trying to change the ip address. If ip address, then I believe reinstall will be the best way to make sure all the system config files are set correctly. I think you would want to reinstall just to make sure you changes really worked, so if you have to reinstall in the future you will have no issues. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Yang BR Yan ---03/26/2014 08:08:50 AM---Dear All, When I'm searching for a solution to change IP/hostYang BR Yan ---03/26/2014 08:08:50 AM---Dear All, When I'm searching for a solution to change IP/hostname for a compute node, From: Yang BR Yan yan...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 03/26/2014 08:08 AM Subject: [xcat-user] Change node IP/hostname without reprovisioning? Dear All, When I'm searching for a solution to change IP/hostname for a compute node, I've found this article: http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Changing_the_Service_and_compute_nodes_Hostname_and/or_IP The article per se is great for addressing the issue but the solution seems require a reprovision(reinstall) of the node. So I wonder if there's a way to do the same without a reprovisioning? Regards, Simon (Yang) Yan Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- ___ xCAT-user mailing list
Re: [xcat-user] How to add value to xcatinfo file on stateless nodes
I see what you mean. INSTALLDIR in /opt/xcat/xcatinfo is only put in during a full disk install.You will see it in the /install/autoinst/nodename file echo INSTALLDIR=$INSTALLDIR /opt/xcat/xcatinfo The logic you see below is probably left over from some previous design of xcatdsklspost. It works because it does default to /install. I can open a defect to clean this up in xcatdsklspost and the updatenode -s command. Are you trying to change the path of the site installdir directory. I would not suggest doing this. You should use /install for reasons like you just pointed out in the xcatdsklspost code. There is a lot of xCAT code and we only test with installdir=/install. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Jiang Tao CS Sun jtao...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 04/02/2014 07:57 AM Subject:Re: [xcat-user] How to add value to xcatinfo file on stateless nodes Hello Lissa, Thanks for your quick reply, the level of xCAT is 2.8.2. Your reply is great help to my question, I can see the installdir value defined in site table. But why I can get the installdir value in xcatinfo on statefull node, otherwise there is no INSTALLDIR on stateless node? 1.xcatinfo on statefull node XCATSERVER=192.168.1.1 INSTALLDIR=/install REBOOT=TRUE 2. xcatinfo on stateless node IMAGENAME='rhels6.4-x86_64-stateless-compute' TIMESTAMP='Wed Feb 12 09:24:09 CST 2014' NODE=compute001 XCATSERVER='192.168.1.1' Inactive hide details for Lissa Valletta ---2014/04/02 19:19:44---What level of xCAT are you running. lsxcatd -a will tell us wLissa Valletta ---2014/04/02 19:19:44---What level of xCAT are you running. lsxcatd -a will tell us what level. From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xcat-user@lists.sourceforge.net Date: 2014/04/02 19:19 Subject: Re: [xcat-user] How to add value to xcatinfo file on stateless nodes What level of xCAT are you running. lsxcatd -a will tell us what level. You should have had an xcatinfo file created in /opt/xcat/xcatinfo on your node during install. If it is missing you can run updatenode noderange -s This command will recreate the xcatinfo file on the node. It is very unusual to not have your site installdir attribute defined as /install. In fact, that is the default in the script below, if it is not in the xcatinfo file. It is also xCAT's default for the site installdir variable. So even if the file is missing, the xcatdsklspost script will work. tabdump site | grep installdir installdir,/install,, Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Jiang Tao CS Sun ---04/02/2014 07:01:32 AM---Hi all, I have one question, the variable INSTALLDIR in Jiang Tao CS Sun ---04/02/2014 07:01:32 AM---Hi all, I have one question, the variable INSTALLDIR in xcatinfo on stateless From: Jiang Tao CS Sun jtao...@cn.ibm.com To: xcat-user@lists.sourceforge.net, Date: 04/02/2014 07:01 AM Subject: [xcat-user] How to add value to xcatinfo file on stateless nodes Hi all, I have one question, the variable INSTALLDIR in xcatinfo on stateless nodes. In post script xcatdsklspost, will check the value of INSTALLDIR , if value equal null, then grant /install. if [ -f /opt/xcat/xcatinfo ]; then INSTALLDIR=`grep 'INSTALLDIR' /opt/xcat/xcatinfo |cut -d= -f2` fi if [ -z $INSTALLDIR ]; then INSTALLDIR=/install fi I want to know, how and where can define $INSTALLDIR value in xcatinfo file so that can achieve INSTALLDIR=`grep 'INSTALLDIR' /opt/xcat/xcatinfo| cut -d=-f2`? Regards, Todd (Jiangtao) Sun Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. -- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user -- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user inline:
Re: [xcat-user] Change node IP/hostname without reprovisioning?
Hi Lissa, Thanks for the reply and you have made a very good point here. It is very difficult to make xCat to be aware of the places where the IP needs to be changed. Really appreciate your reply. Regards, Simon (Yang) Yan Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 04/02/2014 08:07 PM Subject:Re: [xcat-user] Change node IP/hostname without reprovisioning? I am really concerned about definitions in the system, such as /etc/sysconfig/network-scripts/ifcfg-eth0:IPADDR=9.114.47.11 that will need to be updated. It would be beyond the ability of xCAT to fix up all these system files on every possible OS we support. There are probably other applications that may store the ip address when installed that we don't even know about. It would be an interesting exercise to see how many places a nodes ip address is stored on the node. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Yang BR Yan ---04/02/2014 07:46:11 AM---Lissa, I'm trying to change the IP for the moment. The reasonYang BR Yan ---04/02/2014 07:46:11 AM---Lissa, I'm trying to change the IP for the moment. The reason I put hostname also From: Yang BR Yan yan...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 04/02/2014 07:46 AM Subject: Re: [xcat-user] Change node IP/hostname without reprovisioning? Lissa, I'm trying to change the IP for the moment. The reason I put hostname also is because it was mentioned in the wiki that I found. It does make a lot sense to have the system reinstalled to make sure the settings are all in place with latest config. Just thought it might be a good idea if we provide the ability in xCat to enable changing of hostname and/or IP address without having to reprovision? Regards, Simon (Yang) Yan Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. Inactive hide details for Lissa Valletta ---03/26/2014 08:23:08 PM---Are you just trying to change the hostname or are you alsLissa Valletta ---03/26/2014 08:23:08 PM---Are you just trying to change the hostname or are you also trying to change the ip address. If ip From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 03/26/2014 08:23 PM Subject: Re: [xcat-user] Change node IP/hostname without reprovisioning? Are you just trying to change the hostname or are you also trying to change the ip address. If ip address, then I believe reinstall will be the best way to make sure all the system config files are set correctly. I think you would want to reinstall just to make sure you changes really worked, so if you have to reinstall in the future you will have no issues. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Yang BR Yan ---03/26/2014 08:08:50 AM---Dear All, When I'm searching for a solution to change IP/hostYang BR Yan ---03/26/2014 08:08:50 AM---Dear All, When I'm searching for a solution to change IP/hostname for a compute node, From: Yang BR Yan yan...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 03/26/2014 08:08 AM Subject: [xcat-user] Change node IP/hostname without reprovisioning? Dear All, When I'm searching for a solution to change IP/hostname for a compute node, I've found this article: http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Changing_the_Service_and_compute_nodes_Hostname_and/or_IP The article per se is great for addressing the issue but the solution seems require a reprovision(reinstall) of the node. So I wonder if there's a way to do the same without a reprovisioning? Regards, Simon (Yang) Yan Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. -- Learn Graph Databases - Download FREE O'Reilly Book Graph
Re: [xcat-user] How to add value to xcatinfo file on stateless nodes
Perfect solution for me, I would not change the path of installdir, I just wonder why installdir not found in xcatinfo on stateless node. Thank you Lissa, you answered my question. Regards, Todd (Jiangtao) Sun Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 2014/04/02 20:27 Subject:Re: [xcat-user] How to add value to xcatinfo file on stateless nodes I see what you mean. INSTALLDIR in /opt/xcat/xcatinfo is only put in during a full disk install.You will see it in the /install/autoinst/nodename file echo INSTALLDIR=$INSTALLDIR /opt/xcat/xcatinfo The logic you see below is probably left over from some previous design of xcatdsklspost. It works because it does default to /install. I can open a defect to clean this up in xcatdsklspost and the updatenode -s command. Are you trying to change the path of the site installdir directory. I would not suggest doing this. You should use /install for reasons like you just pointed out in the xcatdsklspost code. There is a lot of xCAT code and we only test with installdir=/install. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Jiang Tao CS Sun ---04/02/2014 07:57:24 AM---Hello Lissa, Thanks for your quick reply, the level of xJiang Tao CS Sun ---04/02/2014 07:57:24 AM---Hello Lissa, Thanks for your quick reply, the level of xCAT is 2.8.2. From: Jiang Tao CS Sun jtao...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 04/02/2014 07:57 AM Subject: Re: [xcat-user] How to add value to xcatinfo file on stateless nodes Hello Lissa, Thanks for your quick reply, the level of xCAT is 2.8.2. Your reply is great help to my question, I can see the installdir value defined in site table. But why I can get the installdir value in xcatinfo on statefull node, otherwise there is no INSTALLDIR on stateless node? 1.xcatinfo on statefull node XCATSERVER=192.168.1.1 INSTALLDIR=/install REBOOT=TRUE 2. xcatinfo on stateless node IMAGENAME='rhels6.4-x86_64-stateless-compute' TIMESTAMP='Wed Feb 12 09:24:09 CST 2014' NODE=compute001 XCATSERVER='192.168.1.1' Inactive hide details for Lissa Valletta ---2014/04/02 19:19:44---What level of xCAT are you running. lsxcatd -a will tell us wLissa Valletta ---2014/04/02 19:19:44---What level of xCAT are you running. lsxcatd -a will tell us what level. From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xcat-user@lists.sourceforge.net Date: 2014/04/02 19:19 Subject: Re: [xcat-user] How to add value to xcatinfo file on stateless nodes What level of xCAT are you running. lsxcatd -a will tell us what level. You should have had an xcatinfo file created in /opt/xcat/xcatinfo on your node during install. If it is missing you can run updatenode noderange -s This command will recreate the xcatinfo file on the node. It is very unusual to not have your site installdir attribute defined as /install. In fact, that is the default in the script below, if it is not in the xcatinfo file. It is also xCAT's default for the site installdir variable. So even if the file is missing, the xcatdsklspost script will work. tabdump site | grep installdir installdir,/install,, Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Jiang Tao CS Sun ---04/02/2014 07:01:32 AM---Hi all, I have one question, the variable INSTALLDIR in Jiang Tao CS Sun ---04/02/2014 07:01:32 AM---Hi all, I have one question, the variable INSTALLDIR in xcatinfo on stateless From: Jiang Tao CS Sun jtao...@cn.ibm.com To: xcat-user@lists.sourceforge.net, Date: 04/02/2014 07:01 AM Subject: [xcat-user] How to add value to xcatinfo file on stateless nodes Hi all, I have one question, the variable INSTALLDIR in xcatinfo on stateless nodes. In post script xcatdsklspost, will check the value of INSTALLDIR , if value equal null, then grant /install. if [ -f /opt/xcat/xcatinfo ]; then INSTALLDIR=`grep 'INSTALLDIR' /opt/xcat/xcatinfo |cut -d= -f2` fi if [ -z $INSTALLDIR ]; then INSTALLDIR=/install fi I want to know, how and where can define $INSTALLDIR value in xcatinfo file so that can achieve INSTALLDIR=`grep 'INSTALLDIR' /opt/xcat/xcatinfo| cut -d=-f2`? Regards, Todd (Jiangtao) Sun Technical Support Specialist Platform
Re: [xcat-user] How to add value to xcatinfo file on stateless nodes
Thanks for pointing it out. https://sourceforge.net/p/xcat/bugs/4038/ Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Jiang Tao CS Sun jtao...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 04/02/2014 08:56 AM Subject:Re: [xcat-user] How to add value to xcatinfo file on stateless nodes Perfect solution for me, I would not change the path of installdir, I just wonder why installdir not found in xcatinfo on stateless node. Thank you Lissa, you answered my question. Regards, Todd (Jiangtao) Sun Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. Inactive hide details for Lissa Valletta ---2014/04/02 20:27:50---I see what you mean. INSTALLDIR in /opt/xcat/xcatinfo is onlLissa Valletta ---2014/04/02 20:27:50---I see what you mean. INSTALLDIR in /opt/xcat/xcatinfo is only put in during a full disk install. From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 2014/04/02 20:27 Subject: Re: [xcat-user] How to add value to xcatinfo file on stateless nodes I see what you mean. INSTALLDIR in /opt/xcat/xcatinfo is only put in during a full disk install.You will see it in the /install/autoinst/nodename file echo INSTALLDIR=$INSTALLDIR /opt/xcat/xcatinfo The logic you see below is probably left over from some previous design of xcatdsklspost. It works because it does default to /install. I can open a defect to clean this up in xcatdsklspost and the updatenode -s command. Are you trying to change the path of the site installdir directory. I would not suggest doing this. You should use /install for reasons like you just pointed out in the xcatdsklspost code. There is a lot of xCAT code and we only test with installdir=/install. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Jiang Tao CS Sun ---04/02/2014 07:57:24 AM---Hello Lissa, Thanks for your quick reply, the level of xJiang Tao CS Sun ---04/02/2014 07:57:24 AM---Hello Lissa, Thanks for your quick reply, the level of xCAT is 2.8.2. From: Jiang Tao CS Sun jtao...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 04/02/2014 07:57 AM Subject: Re: [xcat-user] How to add value to xcatinfo file on stateless nodes Hello Lissa, Thanks for your quick reply, the level of xCAT is 2.8.2. Your reply is great help to my question, I can see the installdir value defined in site table. But why I can get the installdir value in xcatinfo on statefull node, otherwise there is no INSTALLDIR on stateless node? 1.xcatinfo on statefull node XCATSERVER=192.168.1.1 INSTALLDIR=/install REBOOT=TRUE 2. xcatinfo on stateless node IMAGENAME='rhels6.4-x86_64-stateless-compute' TIMESTAMP='Wed Feb 12 09:24:09 CST 2014' NODE=compute001 XCATSERVER='192.168.1.1' Inactive hide details for Lissa Valletta ---2014/04/02 19:19:44---What level of xCAT are you running. lsxcatd -a will tell us wLissa Valletta ---2014/04/02 19:19:44---What level of xCAT are you running. lsxcatd -a will tell us what level. From: Lissa Valletta lis...@us.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Cc: xcat-user@lists.sourceforge.net Date: 2014/04/02 19:19 Subject: Re: [xcat-user] How to add value to xcatinfo file on stateless nodes What level of xCAT are you running. lsxcatd -a will tell us what level. You should have had an xcatinfo file created in /opt/xcat/xcatinfo on your node during install. If it is missing you can run updatenode noderange -s This command will recreate the xcatinfo file on the node. It is very unusual to not have your site installdir attribute defined as /install. In fact, that is the default in the script below, if it is not in the xcatinfo file. It is also xCAT's default for the site installdir variable. So even if the file is missing, the xcatdsklspost script will work. tabdump site | grep installdir installdir,/install,, Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Jiang Tao CS Sun ---04/02/2014 07:01:32 AM---Hi all, I have one question, the variable INSTALLDIR in Jiang Tao CS Sun ---04/02/2014 07:01:32 AM---Hi all, I have one question, the variable INSTALLDIR in xcatinfo on stateless From: Jiang Tao CS Sun jtao...@cn.ibm.com To: xcat-user@lists.sourceforge.net, Date: 04/02/2014
Re: [xcat-user] Change node IP/hostname without reprovisioning?
Dennis, Thank you very much for the detailed information. Glad to see that you actually spend some time to have done so with a little bit of effort. I'm going to apply this to my cluster and see how this works for me. Quick question: If I were just going to change the IP of the compute nodes. I think we don't have to stop xcatd and mysql as indicated in step 11, right? Also no need to change server IP as mentioned in step 12, right? Regards, Simon (Yang) Yan Technical Support Specialist Platform Computing, IBM Systems and Technology Group IBM Technical Computing community is now on IBM developerWorks SMC https://www.ibm.com/developerworks/servicemanagement/tc/ You can find Best Practices, Integration Scenarios, Deployment Docs in the Wiki and do Technical Q A in the Forum in the community on SMC. From: Dennis Zheleznyak den...@eshkol.com.co To: xCAT Users Mailing list xcat-user@lists.sourceforge.net Date: 03/26/2014 08:45 PM Subject:Re: [xcat-user] Change node IP/hostname without reprovisioning? Hi Yang, I had the same issue a few weeks back, I had to change the IP address of the xCAT server and the nodes. Although you don't need to change the address of the main server but I documented everything and these are the steps I took: ### Change xCAT's Server IP Address ### ## To change the IP address of the xCAT server and the nodes, follow these steps ## 1. tabprune -a auditlog# Deletes the audit logs. 2. tabprune -a eventlog # Deletes the event logs. 3. xcatsnap -d /root/xcat_ip-change# Take a snapshot of xCAT DB. 4. lsxcatd -a # Verifry which services xCAT uses. 5. dumpxCATdb -p /root/xcat_search cd /root/xcat_search grep -r Old xCAT's server IP . # Dump xCAT tables to a directory and search for thd old IP. 6. tabedit tables from the previous step # Edit the tables to match the new IP address. 7. lsdef -t node -l | grep Old xCAT's server IP # Dump all information about a node and search for the old IP. *** Optional *** lsdef -t node -w conserver= Old xCAT's server IP # In case conserver is used, search for old mentioned IP address. chdef -t node cn1-cn4 conserver= New xCAT's server IP # Change the old Ip to the new one. *** Optional *** 8. nodels pux[1-5] hosts.ip # Verify that the new IP matches the desired one. 9. makehosts # Updated the /etc/hosts file using xCAT. 10. vi /etc/hosts # Change the server's IP address 11. service xcatd stop service mysqld stop # Stop both services to update xCAT mysql server address. 12. vi /etc/xcat/cfgloc # Change the IP address from the old one to the new one. 13. vi /etc/sysconfig/network-scripts/ifcfg-eth1 # Change the IP of the network card. 14. service network restart # Restart the service to apply the IP change. 15. service mysqld start # Start MySQL. 16. mysql -u root -p# Log into the mySQL server as root. 17. GRANT ALL on xcatdb.* TO xcatadmin@'hostname' IDENTIFIED BY 'Password';# To grant the new server permissions to the server. 18. service xcatd start # Start xCAT. 19. makedns -n # Create new DNS entries. 20. makedhcp -d compute # Delete the old DHCP entries. 21. makedhcp -a # Create new DHCP entries. *** Optional *** makeconservercf # Make cons server if used. *** Optional *** 22. nodeset compute boot # Regenrate the files in /tftpboot/pxelinux.cfg Hope it helps, Dennis. On Wed, Mar 26, 2014 at 2:22 PM, Lissa Valletta lis...@us.ibm.com wrote: Are you just trying to change the hostname or are you also trying to change the ip address. If ip address, then I believe reinstall will be the best way to make sure all the system config files are set correctly. I think you would want to reinstall just to make sure you changes really worked, so if you have to reinstall in the future you will have no issues. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Yang BR Yan ---03/26/2014 08:08:50 AM---Dear All, When I'm searching for a solution to change IP/hostYang BR Yan ---03/26/2014 08:08:50 AM---Dear All, When I'm searching for a solution to change IP/hostname for a compute node, From: Yang BR Yan yan...@cn.ibm.com To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 03/26/2014 08:08 AM Subject: [xcat-user] Change node IP/hostname without reprovisioning? Dear All, When I'm searching for a solution to change IP/hostname for a compute node, I've found this article:
[xcat-user] Sysclone: Genesis Image missing commands (pvcreate, lvcreate, etc.)
xCAT 2.8.3, RHEL 6.4 I installed systemimage-server on our xcat server, and systemimage-client on a target node and ran: imcapture sourcenode -t sysclone imagename After this command did its thing and populated the appropriate /install directories, I ran: nodeset targetnode osimage=imagename rsetboot targetnode net rpower targetnode reset Things appeared to go swimmingly for a while, but as the Genesis image was executing /scripts/sl73caeapp30-image.master, the script died a horrible death because things like pvcreate were not in the Genesis image that was supposed to be setting up the file systems. Ending several lines of output from the running of /scripts/sl73caeapp30-image.master: __ New partition table for /dev/sda: parted -s -- /dev/sda print Model: IBM ServeRAID M5015 (scsi) Disk /dev/sda: 36.0TB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 105MB 105MB primary 2 105MB 84.sh: no job control in this shell sh-4.1# 0GB 83.9GB primary 3 84.0GB 84.2GB 210MB primary 4 84.2GB 36.0TB 35.9TB primary Load software RAID modules. FATAL: Module linear not found. FATAL: Module raid0 not found. FATAL: Module raid1 not found. FATAL: Module raid5 not found. FATAL: Module raid6 not found. FATAL: Module raid10 not found. FATAL: Module raid456 not found. Load device mapper driver (for LVM). FATAL: Module dm_mod not found. Initializing partition /dev/sda2 for use by LVM. pvcreate -M2 -ff -y /dev/sda2 || shellout /scripts/sl73caeapp30-image.master: line 263: pvcreate: command not found Last command exited with 127 Killing off running processes. write_variables cat: /etc/issue: No such file or directory ___ The following are the contents of /bin and /sbin sh-4.1# ls /bin allowcred.awk dd getdestiny mknod sed basename df getipmimount sh bash dmesggrep mv sleep bmcsetup dodiscovery gzip netstat sort catdosysclone hostname nextdestiny tar chmoddoxcat ifup pingtouch chownecho kill ps udpcat.awk cp egrepln remoteimmsetup umount cpio find ls restart uname minixcatd.awk rm vi date getcert mkdir rpm sh-4.1# ls /sbin blkidinitqueuelspci modprobe routeudevadm blockdev insmod lvm mount.nfs rpc.statdudevd dhclient ipmdadmparted rpcbind vconfig dhclient-scriptkexecmkdosfs pidof rsyslogd xcatroot ethtool killall5mke2fs pivot_root setupimmnic findfs klogd mkfs poweroff shutdown hwclockloadmlxeth mkfs.ext4 reboot swapon ifconfig loginit mkreiserfs reiserfstune switch_root ifenslave lsmod mkswap rmmod tune2fs Any idea how I get a Genesis image that has the missing commands? Thanks, Rod. -- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
Re: [xcat-user] Package does not match intended download
I did not use Option 1. I used Option 2. http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start#Option_2:_Prepare_to_Install_xCAT_Directly_from_the_Internet-hosted_Repository Does this not work anymore? Thanks, Matt From: Lissa Valletta [lis...@us.ibm.com] Sent: Wednesday, April 02, 2014 12:24 PM To: xCAT Users Mailing list Cc: xCAT Users Mailing list Subject: Re: [xcat-user] Package does not match intended download Please check what you did against this documentation https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start#Option_1:_Prepare_for_the_Install_of_xCAT_without_Internet_Access Did you run the mklocalrepo.sh in the directories as documented? Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 [Inactive hide details for Matthew Mulqueen ---04/02/2014 11:23:29 AM---I forgot to add that, before running 'yum -y install xCA]Matthew Mulqueen ---04/02/2014 11:23:29 AM---I forgot to add that, before running 'yum -y install xCAT', I run 'yum clean metadata'. From: Matthew Mulqueen mmulqu...@jhu.edu To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 04/02/2014 11:23 AM Subject: Re: [xcat-user] Package does not match intended download I forgot to add that, before running 'yum -y install xCAT', I run 'yum clean metadata'. From: Matthew Mulqueen [mmulqu...@jhu.edu] Sent: Wednesday, April 02, 2014 11:10 AM To: xcat-user@lists.sourceforge.net Subject: [xcat-user] Package does not match intended download Good morning, I'm trying to install the latest stable version of xCAT using the yum repositories on a fresh Scientific Linux 6.4 install. I'm downloading the core and dep repositories like this: wget http://downloads.sourceforge.net/project/xcat/yum/2.8/xcat-core/xCAT-core.repo?r=http%3A%2F%2Fsourceforge.net%2Fapps%2Fmediawiki%2Fxcat%2Findex.php%3Ftitle%3DDownload_xCATts=1396448978use_mirror=softlayer-ams wget http://downloads.sourceforge.net/project/xcat/yum/xcat-dep/SL6/x86_64/xCAT-dep.repo?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fxcat%2Ffiles%2Fyum%2Fxcat-dep%2FSL6%2Fx86_64%2Fts=1396449339use_mirror=softlayer-dal Then I run 'yum -y install xCAT' but yum seems to think the packages downloaded from the dep repository are not the right ones. (6/90): conserver-xcat-8.1.16-10.x86_64.rpm | 218 kB 00:01 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/conserver-xcat-8.1.16-10.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (11/90): elfutils-libs-0.152-1.el6.x86_64.rpm | 180 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/elilo-xcat-3.14-4.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (16/90): ipmitool-xcat-1.8.11-3.x86_64.rpm | 244 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/ipmitool-xcat-1.8.11-3.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (46/90): perl-Expect-1.21-1.noarch.rpm | 71 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/perl-Expect-1.21-1.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (52/90): perl-IO-Stty-0.03-1.noarch.rpm | 12 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/perl-IO-Stty-0.03-1.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (80/90): syslinux-xcat-3.86-2.noarch.rpm | 498 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/syslinux-xcat-3.86-2.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (90/90): xnba-undi-1.0.3-131028.noarch.rpm | 151 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/xnba-undi-1.0.3-131028.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. Error Downloading
Re: [xcat-user] Package does not match intended download
Option 1 should work. I just tried it and ran into the same problem. I will investigate. From: Matthew Mulqueen mmulqu...@jhu.edu To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 04/02/2014 12:31 PM Subject:Re: [xcat-user] Package does not match intended download I did not use Option 1. I used Option 2. http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start#Option_2:_Prepare_to_Install_xCAT_Directly_from_the_Internet-hosted_Repository Does this not work anymore? Thanks, Matt From: Lissa Valletta [lis...@us.ibm.com] Sent: Wednesday, April 02, 2014 12:24 PM To: xCAT Users Mailing list Cc: xCAT Users Mailing list Subject: Re: [xcat-user] Package does not match intended download Please check what you did against this documentation https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start#Option_1:_Prepare_for_the_Install_of_xCAT_without_Internet_Access Did you run the mklocalrepo.sh in the directories as documented? Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Matthew Mulqueen ---04/02/2014 11:23:29 AM---I forgot to add that, before running 'yum -y install xCAMatthew Mulqueen ---04/02/2014 11:23:29 AM---I forgot to add that, before running 'yum -y install xCAT', I run 'yum clean metadata'. From: Matthew Mulqueen mmulqu...@jhu.edu To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 04/02/2014 11:23 AM Subject: Re: [xcat-user] Package does not match intended download I forgot to add that, before running 'yum -y install xCAT', I run 'yum clean metadata'. From: Matthew Mulqueen [mmulqu...@jhu.edu] Sent: Wednesday, April 02, 2014 11:10 AM To: xcat-user@lists.sourceforge.net Subject: [xcat-user] Package does not match intended download Good morning, I'm trying to install the latest stable version of xCAT using the yum repositories on a fresh Scientific Linux 6.4 install. I'm downloading the core and dep repositories like this: wget http://downloads.sourceforge.net/project/xcat/yum/2.8/xcat-core/xCAT-core.repo?r=http%3A%2F%2Fsourceforge.net%2Fapps%2Fmediawiki%2Fxcat%2Findex.php%3Ftitle%3DDownload_xCATts=1396448978use_mirror=softlayer-ams wget http://downloads.sourceforge.net/project/xcat/yum/xcat-dep/SL6/x86_64/xCAT-dep.repo?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fxcat%2Ffiles%2Fyum%2Fxcat-dep%2FSL6%2Fx86_64%2Fts=1396449339use_mirror=softlayer-dal Then I run 'yum -y install xCAT' but yum seems to think the packages downloaded from the dep repository are not the right ones. (6/90): conserver-xcat-8.1.16-10.x86_64.rpm | 218 kB 00:01 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/conserver-xcat-8.1.16-10.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (11/90): elfutils-libs-0.152-1.el6.x86_64.rpm | 180 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/elilo-xcat-3.14-4.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (16/90): ipmitool-xcat-1.8.11-3.x86_64.rpm | 244 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/ipmitool-xcat-1.8.11-3.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (46/90): perl-Expect-1.21-1.noarch.rpm | 71 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/perl-Expect-1.21-1.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (52/90): perl-IO-Stty-0.03-1.noarch.rpm | 12 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/perl-IO-Stty-0.03-1.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (80/90): syslinux-xcat-3.86-2.noarch.rpm | 498 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/syslinux-xcat-3.86-2.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (90/90): xnba-undi-1.0.3-131028.noarch.rpm | 151 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/xnba-undi-1.0.3-131028.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. Error Downloading Packages: syslinux-xcat-3.86-2.noarch: failure: syslinux-xcat-3.86-2.noarch.rpm from xcat-dep: [Errno 256] No more mirrors to try. ipmitool-xcat-1.8.11-3.x86_64: failure: ipmitool-xcat-1.8.11-3.x86_64.rpm from xcat-dep: [Errno 256] No more mirrors to try.
Re: [xcat-user] Package does not match intended download
Ok, See Jim Turner's response. We tried the fix from Jim and it did fix the problem. Have to investigate why. install perl-IO-Stty-0.03-1.noarch.rpm from xcat-dep first and then the yum install will work. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Matthew Mulqueen mmulqu...@jhu.edu To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 04/02/2014 02:03 PM Subject:Re: [xcat-user] Package does not match intended download Thanks for such quick responses everyone. I did try 'yum --enablerepo=xcat-dep clean metadata' but it didn't work. For now, I just downloaded the packages that failed and installed them manually with rpm. ~Matt From: Lissa Valletta [lis...@us.ibm.com] Sent: Wednesday, April 02, 2014 1:37 PM To: xCAT Users Mailing list Cc: xCAT Users Mailing list Subject: Re: [xcat-user] Package does not match intended download Sorry you were just downloading the repos. I read too fast. Yes it should work from the internet. Did you try the suggestion to? run yum --enablerepo=xcat-dep clean metadata I have been doing upgrades constantly, but have not try a new install lately and we don't test SL. I will try a Redhat install and get back to you. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Matthew Mulqueen ---04/02/2014 12:31:57 PM---I did not use Option 1. I used Option 2. http://sourcefMatthew Mulqueen ---04/02/2014 12:31:57 PM---I did not use Option 1. I used Option 2. http://sourceforge.net/apps/mediawiki/xcat/index.php?title From: Matthew Mulqueen mmulqu...@jhu.edu To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 04/02/2014 12:31 PM Subject: Re: [xcat-user] Package does not match intended download I did not use Option 1. I used Option 2. http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start#Option_2:_Prepare_to_Install_xCAT_Directly_from_the_Internet-hosted_Repository Does this not work anymore? Thanks, Matt From: Lissa Valletta [lis...@us.ibm.com] Sent: Wednesday, April 02, 2014 12:24 PM To: xCAT Users Mailing list Cc: xCAT Users Mailing list Subject: Re: [xcat-user] Package does not match intended download Please check what you did against this documentation https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start#Option_1:_Prepare_for_the_Install_of_xCAT_without_Internet_Access Did you run the mklocalrepo.sh in the directories as documented? Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Matthew Mulqueen ---04/02/2014 11:23:29 AM---I forgot to add that, before running 'yum -y install xCAMatthew Mulqueen ---04/02/2014 11:23:29 AM---I forgot to add that, before running 'yum -y install xCAT', I run 'yum clean metadata'. From: Matthew Mulqueen mmulqu...@jhu.edu To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, Date: 04/02/2014 11:23 AM Subject: Re: [xcat-user] Package does not match intended download I forgot to add that, before running 'yum -y install xCAT', I run 'yum clean metadata'. From: Matthew Mulqueen [mmulqu...@jhu.edu] Sent: Wednesday, April 02, 2014 11:10 AM To: xcat-user@lists.sourceforge.net Subject: [xcat-user] Package does not match intended download Good morning, I'm trying to install the latest stable version of xCAT using the yum repositories on a fresh Scientific Linux 6.4 install. I'm downloading the core and dep repositories like this: wget http://downloads.sourceforge.net/project/xcat/yum/2.8/xcat-core/xCAT-core.repo?r=http%3A%2F%2Fsourceforge.net%2Fapps%2Fmediawiki%2Fxcat%2Findex.php%3Ftitle%3DDownload_xCATts=1396448978use_mirror=softlayer-ams wget http://downloads.sourceforge.net/project/xcat/yum/xcat-dep/SL6/x86_64/xCAT-dep.repo?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fxcat%2Ffiles%2Fyum%2Fxcat-dep%2FSL6%2Fx86_64%2Fts=1396449339use_mirror=softlayer-dal Then I run 'yum -y install xCAT' but yum seems to think the packages downloaded from the dep repository are not the right ones. (6/90): conserver-xcat-8.1.16-10.x86_64.rpm | 218 kB 00:01 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/conserver-xcat-8.1.16-10.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (11/90): elfutils-libs-0.152-1.el6.x86_64.rpm | 180 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/elilo-xcat-3.14-4.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean metadata Trying other mirror. (16/90): ipmitool-xcat-1.8.11-3.x86_64.rpm | 244 kB 00:00 https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh6/x86_64/ipmitool-xcat-1.8.11-3.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=xcat-dep clean
Re: [xcat-user] Package does not match intended download
Jim's workaround works! This makes the install much easier. Thanks. From: Linda Mellor [mel...@us.ibm.com] Sent: Wednesday, April 02, 2014 2:22 PM To: xCAT Users Mailing list Subject: Re: [xcat-user] Package does not match intended download Thanks, Jim - Your work-around fixed my yum install test. Funny, I was trying the same thing with other rpms in xcat-dep, but still failing with those mismatch errors. Do you happen to know what is going on with yum, and why this particular rpm seems to clear out the pipes? I was thinking we were having problems with SourceForge mirrors being out of sync, but that wouldn't be the case with this work-around. Linda [Inactive hide details for Jim Turner---04/02/2014 01:57:45 PM---I've run into this as well and the work-around for me was to]Jim Turner---04/02/2014 01:57:45 PM---I've run into this as well and the work-around for me was to install perl-IO-Stty-0.03-1.noarch.rp From: Jim Turner/Austin/IBM@IBMUS To: xcat-user@lists.sourceforge.net, Date: 04/02/2014 01:57 PM Subject: Re: [xcat-user] Package does not match intended download I've run into this as well and the work-around for me was to install perl-IO-Stty-0.03-1.noarch.rpm from xcat-dep first and then the yum install will work. Jim Turner IBM STG Lab Services - HPC Linux Clusters, Senior Engineer phone - mobile: 919-381-8739 t...@us.ibm.com ibm.com/systems/services/labserviceshttp://www.ibm.com/systems/services/labservices http://www.ibm.com/systems/services/labservices -- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user inline: graycol.gif-- ___ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
Re: [xcat-user] Makedns wiping out DNS records
As Christopher notes, it is an additional attack surface. Also I would like to not have to worry about an additional named instance running in my network which I am not using. If it is not currently possible to prevent the local named daemon on the MN from starting when makedns is run, can that behavior be changed in a future xCAT version if you want an external master only? I'm still curious as to whether the /var/named/ directory would have any zone files locally on the MN in the case where named is running locally but you are pushing updates to an external DNS server, or whether it only pushes zone entries out to the DNS server specified with 'makedns -e' (as it should). -Josh On Mon, Mar 31, 2014 at 8:17 PM, Xiao Peng Wang w...@cn.ibm.com wrote: Enable the local DNS on xCAT MN does not hurt anything except the cpu/memory to run makedns in your case, right? Thanks Best Regards -- Wang Xiaopeng (王晓朋) IBM China System Technology Laboratory Tel: 86-10-82453455 Email: w...@cn.ibm.com Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193 [image: Inactive hide details for Josh Nielsen ---2014/04/01 00:00:13---By default, makedns sets up the named service and updates the]Josh Nielsen ---2014/04/01 00:00:13---By default, makedns sets up the named service and updates the DNS records on the local system (man From: Josh Nielsen jniel...@hudsonalpha.org To: xCAT Users Mailing list xcat-user@lists.sourceforge.net, sam...@unimelb.edu.au, Date: 2014/04/01 00:00 Subject: Re: [xcat-user] Makedns wiping out DNS records -- By default, makedns sets up the named service and updates the DNS records on the local system (management node). If the -e flag is specified, it will also update the DNS records on any external DNS server that is listed in the /etc/resolv.conf on the management node. Interesting, so even if I use an external DNS server I can't get rid of/turn off the DNS service on the MN? I suppose I could do a 'chkconfig named off' but makedns starts the named daemon anyway when you run it (I think). I want to make the external server the sole Master DNS server, and every other server its slave (I have only two other slave DNS servers, which are my Service Nodes). I'm in the same boat as Christopher who noted One kink I think we've noticed there is that even with makedns -e xCAT seems to start up bind on the local system which isn't what we want at all. I also would prefer the local BIND/named daemon to not start at all, and rather make the external DNS the sole master. However, as you indicated makedns by default (which I'm assuming is a behavior that can't be changed [yet]?) sets up the local named service when it is run. Can xCAT be modified to accommodate the external only master scenario? Regards, Josh Nielsen On Thu, Mar 27, 2014 at 12:38 PM, Lissa Valletta *lis...@us.ibm.com*lis...@us.ibm.com wrote: It is saying if your site has an external name server and you want to use it , you need to add that external name server into the /etc/resolv.conf file.You also have to add the correct nameservers in the site table before you run makedns. This is the manual part. chdef -t site nameservers=50.1.2.254 for example. The makedns -e will take the external nameservers that you have listed in /etc/resolv.conf and update their DNS records, assuming you have the authority to change that server. From man makedns By default, makedns sets up the named service and updates the DNS records on the local system (management node). If the -e flag is specified, it will also update the DNS records on any external DNS server that is listed in the /etc/resolv.conf on the management node. (Assuming the external DNS server can recognize the xCAT key as authentication.) Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 [image: Inactive hide details for Josh Nielsen ---03/26/2014 03:15:37 PM---Sorry to revive this, but I have a question about external D]Josh Nielsen ---03/26/2014 03:15:37 PM---Sorry to revive this, but I have a question about external DNS since I am thinking of trying it now. From: Josh Nielsen *jniel...@hudsonalpha.org*jniel...@hudsonalpha.org To: xCAT Users Mailing list *xcat-user@lists.sourceforge.net*xcat-user@lists.sourceforge.net, Date: 03/26/2014 03:15 PM Subject: Re: [xcat-user] Makedns wiping out DNS records -- Sorry to revive this, but I have a question about external DNS since I am thinking of trying it now. On the Cluster Name Resolution wiki page (