-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New issue after fix of #59 #66
Comments
Hi, |
huh...better I will rebuild the vm and do the process again.. thanks buddy |
Disable the rhel-7-server-beta-debug-rpms and try again. The repo is not needed for ansible-oracle.
|
@Rendanic is correct in that the repo is not needed. However, I enable all repos (enablerepo=*) to be able to install compat- packages in RHEL. Technically, enabling all repos is not needed, but repos could have different names for different systems so I'd rather do this, then trying to keep track of x number of different names. |
The problem is in I am not sure, if What about a detection of the OS and enabling the repo for each different vendor? I prefer the way to enable the needed repositories outside of ansible-oracle or enable them when the namen is known. |
I have obviously tested But, in terms of doing it another way (keeping track of reponames per platforms or just dealing with it outside of ansible-oracle) I would rather just deal with it outside of ansible-oracle instead of having to keep track of a bunch of repo names (which will be different) for a variety of platforms/versions. So, we either keep it as it as (with |
What I guess I could do is:
That way, it is up to the user to keep track of the repo-names. |
Should be fixed by 5e1cf4e |
thank you very much...I will test and let you know... Thanks for your patience |
Hi Now...I have retried with entire new clone from our git on new VM.. same error got compat lib 33 errs not found...( i am not bothered about this one now). I have manually fixed it by enabling optional rpm......( i am not sure why this problem is keep repeating) once i surpass subsequent steps..it failed at below level TASK [oraswdb-install : debug] *********************************************************************************************************************** TASK [oraswdb-install : Run root script after installation] ****************************************************************************************** TASK [oraswdb-install : Generate glogin.sql] ********************************************************************************************************* PLAY RECAP ******************************************************************************************************************************************* real 51m50.732s so now, from steps I see instllation done ? is that correct now do i need to rerun entire run playbook again ? because i see instllation is successful...after that it failed at above step ? Can you please help |
Hi, The is_container parameter is used to define if the database should be a Container Database (CDB) or not. I'd like to see your config (playbook + corresponding group_vars) to be able to fully debug this, but: To fix the
Your oracle_databases configuration may be different, but adding that line should help. I'll also update the default configuration. Re: the compat- error, you have to add this to you configuration (you were running on AWS, correct?): |
thanks much for your reply... OMG i got it... that is_container line is not is not there in that main.yml under roles/oraswdb-install /defaults/mail.yml... Is this the file you are talking about or Host file ? now if restart entire playbook, then shall it impact existing installation or it will cleanup everything and redo it from beginning Re: the compat- error, you have to add this to you configuration (you were running on AWS, correct?): so what i understand is... ansible and this step should be manually should be taken care before implementing this play book... |
ok...so are you talking about this file ? currently iam trying this solution on my laptop with VM on it... oracle_databases: # Dictionary describing the databases to be installed sorry...troubling you with more questions...I determined to make it work on my machine...please help |
Ok, so a little ansible basics (you may already know all of this and if so, apologies) Every role have a bunch of default variables, and they are placed in: So if you just clone the repo, add an entry (e.g
and run the playbook against that group, it will use the default variables for each role in the playbook. However, since the defaults probably doesn't look anything like 'your' system, it is possible to override the defaults with 'your' specific config. To do this, you create a file in i.e So when I was asking for 'your' config, that's what I was getting at. Anything that is placed in group_vars will override a default variable. Since you didn't have a matching config in And re: you question whether it will change an existing installation: it will not. It will continue past the error though and run through the other roles. Also, I have other repo's (https://github.com/oravirt/vagrant-vbox-si-fs, https://github.com/oravirt/vagrant-vbox-si-asm, https://github.com/oravirt/vagrant-vbox-rac) which come with pre-built vagrant configs which have a matching group_vars configuration in ansible-oracle And re this: so what i understand is... ansible and this step should be manually should be taken care before implementing this play book..." You would put |
Ok, so a little ansible basics (you may already know all of this and if so, apologies) Thank you very much for detailed explanation.....I will give a re-try as per suggestion shall keep you posted. Thanks you so much for patience and help :) |
Hi here the update.. As you suggested to fix 'TASK [oraswdb-install : Generate glogin.sql] ', added is_container variable as false to the oracle_databases structure in oraswdb-install/default/main.yml Now reran playbook...that issue is resolved... now it stops below error at Task create Listener ASK [oradb-create : listener | Create responsefile for listener configuration] ********************************************************************** TASK [oradb-create : listener | Create listener] ***************************************************************************************************** PLAY RECAP ******************************************************************************************************************************************* |
Hi, Sorry about the late reply, but: It looks like the database server installation has not finished properly, since the binaries does not seem to be there. |
Hi No worries.....yeah...ok I will cleanup everything again and do that... i have copied linuxamd64_12201 two zip files in /tmp..... anyhow let me re do from scratch |
Did you get this to work? |
My apologies, was on long vacation.. had comeback... Let me try this...I did not forge this though (i still believe this is my best mate repository for Oracle stuff) |
Hi...atlast have some good news..much relieved ... now play book ran successfully and installed db successfully with just default values. now when i try to log into sqlplus..its sqlcommand not found ... actually i switeched to oracle user and issuing sql plus there... any suggestions. |
Great! |
hello teacher (i love to call you like that..I am just learning new things), some progress again..googled a bit.. .bash_profile did not have oracle home and sid ( i thought that ansible playbook will set that as well :) ... so... updated it. now connected to oracle...actually searched for password...::) then finally got under main.yml of defaults folder of oradbcreate role :) One job done... I need to try creating 3 db at same time. I know some option are there in playbook it self..shall try it. Now need playbook for OEM as well...please do share..( i remember you said that you had one, but you need to refactor that one)... but does it do basic configuration of OEM ? Thanks buddy for all your patience help |
Hi, re the 3 DB's at once, just do this (add entries to the oracle_databases list)
Re: Removing a DB, first of all do a The oem-role just does the installation of OEM, it doesn't configure anything 'inside' of OEM. |
Sure ..Thanks again for inputs (for 3 db and cleanup)... i need to do a pull for latest one.. Meanwhile can you please share basic version on playbook for OEM which just does the install .. (I shall wait for those configurations though) Thank you buddy |
Hi, can you please let me know the basic version of installing OEM |
can you please add rman backup process also if you find time..thank you |
oraswgi-install: Fixes for RAC-Setups
Hi
Hope you are doing good..
sorry i was bit late in getting good infrastructure with bigger VM to try this...
I have used latest code clone which you have fixed for issues mentioned in #61
The below is error
TASK [orahost : Install packages required by Oracle on OL/RHEL] **************************************************************************************
failed: [1.2.3.202] (item=[u'libselinux-python', u'procps', u'psmisc', u'module-init-tools', u'ethtool', u'bc', u'bind-utils', u'nfs-utils', u'util-linux-ng', u'xorg-x11-utils', u'xorg-x11-xauth', u'binutils', u'compat-libstdc++-33', u'compat-libstdc++-33.i686', u'unixODBC-devel', u'unixODBC-devel.i686', u'gcc', u'gcc-c++', u'glibc', u'glibc.i686', u'glibc-devel', u'glibc-devel.i686', u'libaio', u'libaio-devel', u'libaio.i686', u'libaio-devel.i686', u'libgcc', u'libgcc.i686', u'libstdc++', u'libstdc++-devel', u'libstdc++.i686', u'libstdc++-devel.i686', u'make', u'sysstat', u'openssh-clients', u'compat-libcap1', u'xorg-x11-xauth', u'xorg-x11-xinit', u'libXtst', u'xdpyinfo', u'xterm', u'xsetroot', u'libXp', u'libXt', u'libXtst', u'ntp', u'ksh', u'lvm2', u'xfsprogs', u'btrfs-progs', u'parted', u'nc', u'smartmontools', u'elfutils-libelf-devel.i686', u'elfutils-libelf-devel']) => {"changed": false, "item": ["libselinux-python", "procps", "psmisc", "module-init-tools", "ethtool", "bc", "bind-utils", "nfs-utils", "util-linux-ng", "xorg-x11-utils", "xorg-x11-xauth", "binutils", "compat-libstdc++-33", "compat-libstdc++-33.i686", "unixODBC-devel", "unixODBC-devel.i686", "gcc", "gcc-c++", "glibc", "glibc.i686", "glibc-devel", "glibc-devel.i686", "libaio", "libaio-devel", "libaio.i686", "libaio-devel.i686", "libgcc", "libgcc.i686", "libstdc++", "libstdc++-devel", "libstdc++.i686", "libstdc++-devel.i686", "make", "sysstat", "openssh-clients", "compat-libcap1", "xorg-x11-xauth", "xorg-x11-xinit", "libXtst", "xdpyinfo", "xterm", "xsetroot", "libXp", "libXt", "libXtst", "ntp", "ksh", "lvm2", "xfsprogs", "btrfs-progs", "parted", "nc", "smartmontools", "elfutils-libelf-devel.i686", "elfutils-libelf-devel"], "msg": "Failure talking to yum: failure: repodata/repomd.xml from rhel-7-server-beta-debug-rpms: [Errno 256] No more mirrors to try.\nhttps://cdn.redhat.com/content/beta/rhel/server/7/x86_64/debug/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden"}
Can you please help
The text was updated successfully, but these errors were encountered: